Python Plugin: NUKI locks
Moderator: leecollings
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Python Plugin: NUKI locks
If anyone is interested to test drive the nuki lock plugin then please find it at https://github.com/heggink/domoticz-nuki
I am pretty sure that not all branches in the code have been tested especially since I own to bridges where both bridges have a single lock (due to the distance between the locks in relation to Bluetooth comms between lock and bridge). The plugin 'should' support multiple locks per bridge but I cannot easily test that without creating a bridge emulator.
Also, as per the README, if you have multiple bridges, you will need separate domoticz HW devices per bridge each with their own free port (bridge1 8008, bridge2 8009 or any other free port on your system, and so on).
I have been running it in test myself and so far so good but I suspect some issues along the way.
Herman
ps: thanks for dnpwwo for nudging in the right direction here and there
ps2: The plugin currently uses s.connect(("192.168.1.1", 80)) and s.getsockname()[0] to get its own IP for the callback url. This will definitely cause problems for those on a 10.XX.XX.XX network adressing. Need to fix this urgently. If anyone knows how to get domoticz' IP address then please send.
I am pretty sure that not all branches in the code have been tested especially since I own to bridges where both bridges have a single lock (due to the distance between the locks in relation to Bluetooth comms between lock and bridge). The plugin 'should' support multiple locks per bridge but I cannot easily test that without creating a bridge emulator.
Also, as per the README, if you have multiple bridges, you will need separate domoticz HW devices per bridge each with their own free port (bridge1 8008, bridge2 8009 or any other free port on your system, and so on).
I have been running it in test myself and so far so good but I suspect some issues along the way.
Herman
ps: thanks for dnpwwo for nudging in the right direction here and there
ps2: The plugin currently uses s.connect(("192.168.1.1", 80)) and s.getsockname()[0] to get its own IP for the callback url. This will definitely cause problems for those on a 10.XX.XX.XX network adressing. Need to fix this urgently. If anyone knows how to get domoticz' IP address then please send.
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 17
- Joined: Sunday 27 December 2015 1:09
- Target OS: NAS (Synology & others)
- Domoticz version: 9999
- Location: Santander - Spain
- Contact:
Re: Python Plugin: NUKI locks
Hi heggink:
First of all, thank you very much for this plugin. I come from your bash scripts.
Tested in Synology with latest Beta with Python 3.5.1 and working. At least, the device is created fine.
I'm very curious if there is a possibility to implement the unlatch function in the same device. I was thining to implement in the bash scripts, but i don't know how to implement a new "function button" in the device. I was looking a device (dummy, etc.) that was configurable the number of buttons to implement on it, but i didn't found any which make the conmbination of our needs:
Do you have any clue about it?
First of all, thank you very much for this plugin. I come from your bash scripts.
Tested in Synology with latest Beta with Python 3.5.1 and working. At least, the device is created fine.
I'm very curious if there is a possibility to implement the unlatch function in the same device. I was thining to implement in the bash scripts, but i don't know how to implement a new "function button" in the device. I was looking a device (dummy, etc.) that was configurable the number of buttons to implement on it, but i didn't found any which make the conmbination of our needs:
- Button to show/do the unlock/lock state.
- ยฟButton to do an unlacth action?
Do you have any clue about it?
Synology NAS ds215j, DSM 6.2
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
Hi Olaf,
It was easier with the scripts since you could just define your own device with multiple states.
When creating the python plugin, I decided to go back to teh standard lock device which only has an open and a locked state + no timer functionality (which is not nice).
I need to see if I can create a device that acts as a lock but also allows another action on it. No idea but will ask around.
H
It was easier with the scripts since you could just define your own device with multiple states.
When creating the python plugin, I decided to go back to teh standard lock device which only has an open and a locked state + no timer functionality (which is not nice).
I need to see if I can create a device that acts as a lock but also allows another action on it. No idea but will ask around.
H
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 17
- Joined: Sunday 27 December 2015 1:09
- Target OS: NAS (Synology & others)
- Domoticz version: 9999
- Location: Santander - Spain
- Contact:
Re: Python Plugin: NUKI locks
Thank you for your support.
By the way, i noticed that there are errors in the logs:
P.D.: Do you have any picture about how you power the Nuki directly??? I'm guessing how to put a cable across the door... :S
By the way, i noticed that there are errors in the logs:
- Spoiler: show
P.D.: Do you have any picture about how you power the Nuki directly??? I'm guessing how to put a cable across the door... :S
Synology NAS ds215j, DSM 6.2
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
-
- Posts: 17
- Joined: Sunday 27 December 2015 1:09
- Target OS: NAS (Synology & others)
- Domoticz version: 9999
- Location: Santander - Spain
- Contact:
Re: Python Plugin: NUKI locks
Debug logs:
- Spoiler: show
Synology NAS ds215j, DSM 6.2
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
Hmmm, that's weird. Can you tell me about your setup? Bridge type, #locks on the bridge? Appreciate if you can indeed turn on debug if it happens again. The returned message from the lock should be displayed right before the error. I suspect the message is a "success": false... It happens in some cases in my setup as well. Not sure why but it's no biggie unless it happens every 10 secs in which case the heartbeat is failing .
In terms of the power, I used a 6V 3A power supply, bought a piece of wooden rod same diameter as a penlight, screwed the + to one side and the - to another, drilled a hole in the battery hatch and put everything together. I used a mini 6V UPS before but it struggled to provide adequate power which is a nightmare. Indeed you need to run the 6V wire through the door in some way. Luckily, the electrical cabinet is right next to my front door.
In terms of the power, I used a 6V 3A power supply, bought a piece of wooden rod same diameter as a penlight, screwed the + to one side and the - to another, drilled a hole in the battery hatch and put everything together. I used a mini 6V UPS before but it struggled to provide adequate power which is a nightmare. Indeed you need to run the 6V wire through the door in some way. Luckily, the electrical cabinet is right next to my front door.
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 17
- Joined: Sunday 27 December 2015 1:09
- Target OS: NAS (Synology & others)
- Domoticz version: 9999
- Location: Santander - Spain
- Contact:
Re: Python Plugin: NUKI locks
My Setup:
Synology NAS DS215j, DSM 6.2
Domoticz Beta from Jadahl 9999 with Python
Python from Synology offical rep. 3.5.1
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
About what type of bridge, i don't know, i though there was only one bridge type. I have this product: https://nuki.io/en/shop/nuki-combo/
Only one lock in the bridge. Debug on with 'True' option:
Synology NAS DS215j, DSM 6.2
Domoticz Beta from Jadahl 9999 with Python
Python from Synology offical rep. 3.5.1
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
About what type of bridge, i don't know, i though there was only one bridge type. I have this product: https://nuki.io/en/shop/nuki-combo/
Only one lock in the bridge. Debug on with 'True' option:
- Spoiler: show
Synology NAS ds215j, DSM 6.2
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
I see no errors in the logs with debug. Did I miss anything?
Specific to the bridge, there is the HW bridge from Nuki or the 'old android phone repurposed' bridge which Nuki also supports.
Wrt to the polling: make sure you set the polling to at least 30 minutes in your case as your batteries will drain too fast. There no real need anyway as, on start, the plugin syncs the state. It's there in case network goes doen, batteries are replaced but the lock is changed meanwhile, unforeseen stuff like that.
Specific to the bridge, there is the HW bridge from Nuki or the 'old android phone repurposed' bridge which Nuki also supports.
Wrt to the polling: make sure you set the polling to at least 30 minutes in your case as your batteries will drain too fast. There no real need anyway as, on start, the plugin syncs the state. It's there in case network goes doen, batteries are replaced but the lock is changed meanwhile, unforeseen stuff like that.
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 17
- Joined: Sunday 27 December 2015 1:09
- Target OS: NAS (Synology & others)
- Domoticz version: 9999
- Location: Santander - Spain
- Contact:
Re: Python Plugin: NUKI locks
Uh, ok... it is the hardware bridge not the Android version.
I don't see any error in the logs neither, but i don't know if it is normal all those logs every 10 seconds approx...
Thanks again!!
I don't see any error in the logs neither, but i don't know if it is normal all those logs every 10 seconds approx...
- Spoiler: show
Thanks again!!
Synology NAS ds215j, DSM 6.2
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
-
- Posts: 17
- Joined: Sunday 27 December 2015 1:09
- Target OS: NAS (Synology & others)
- Domoticz version: 9999
- Location: Santander - Spain
- Contact:
Re: Python Plugin: NUKI locks
Hi Heggink!
Do you have any updates on the logs every 10 seconds? I put a clean start of the plugin during 1 minute more and less.. Every 10 seconds there is a "Pushing 'onHeartbeatCallback' on to queue". I set the polling to "0" in the config but it did the same with "60". I didn't see any error that give me any clues... :S
Do you have any updates on the logs every 10 seconds? I put a clean start of the plugin during 1 minute more and less.. Every 10 seconds there is a "Pushing 'onHeartbeatCallback' on to queue". I set the polling to "0" in the config but it did the same with "60". I didn't see any error that give me any clues... :S
- Spoiler: show
Synology NAS ds215j, DSM 6.2
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
Domoticz Beta from Jadahl 9999
Z-wave (AEOTEC Aeotec Z-Stick Series GEN5,Fibaro FGRM222, FGS222, FGMS001-ZW5 Motion Sensor+)
Philips Hue Bridge
Nuki Lock Plugin
- BartdaMan
- Posts: 20
- Joined: Sunday 22 May 2016 22:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Amersfoort
- Contact:
Re: Python Plugin: NUKI locks
Hello Herman,
Thank you for writing this plugin, I installed it just now.
But...:
2019-05-19 21:25:43.829 Error: (NukiLock) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-nuki/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-05-19 21:25:43.829 Error: (Nuki) Module Import failed, exception: 'TabError'
2019-05-19 21:25:43.829 Error: (Nuki) Import detail: File: /home/pi/domoticz/plugins/domoticz-nuki/plugin.py, Line: 88, offset: 96
2019-05-19 21:25:43.830 Error: (Nuki) Error Line ' Domoticz.Log("Nuki plugin started on IP " + self.myIP + " and port " + str(self.callbackPort))
2019-05-19 21:25:43.830 '
I'm not at all knowledgeable in Linux, so could you please help me solve this?
It is running on a Raspberry 3.
Thanks, Bart
Thank you for writing this plugin, I installed it just now.
But...:
2019-05-19 21:25:43.829 Error: (NukiLock) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-nuki/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-05-19 21:25:43.829 Error: (Nuki) Module Import failed, exception: 'TabError'
2019-05-19 21:25:43.829 Error: (Nuki) Import detail: File: /home/pi/domoticz/plugins/domoticz-nuki/plugin.py, Line: 88, offset: 96
2019-05-19 21:25:43.830 Error: (Nuki) Error Line ' Domoticz.Log("Nuki plugin started on IP " + self.myIP + " and port " + str(self.callbackPort))
2019-05-19 21:25:43.830 '
I'm not at all knowledgeable in Linux, so could you please help me solve this?
It is running on a Raspberry 3.
Thanks, Bart
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
Hmmm, weird. I'll take a look tomorrow.
Verstuurd vanaf mijn SM-G955F met Tapatalk
Verstuurd vanaf mijn SM-G955F met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
Can you try again? Do a git pull please.
Verstuurd vanaf mijn SM-G955F met Tapatalk
Verstuurd vanaf mijn SM-G955F met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
Pls also pm me. Some things good to know.
Verstuurd vanaf mijn SM-G955F met Tapatalk
Verstuurd vanaf mijn SM-G955F met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- BartdaMan
- Posts: 20
- Joined: Sunday 22 May 2016 22:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Amersfoort
- Contact:
Re: Python Plugin: NUKI locks
Alright, new installation from Github, but still:
2019-05-20 19:01:51.977 Error: (NukiLock) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-nuki/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-05-20 19:01:51.978 Error: (Nuki) Module Import failed, exception: 'TabError'
2019-05-20 19:01:51.978 Error: (Nuki) Import detail: File: /home/pi/domoticz/plugins/domoticz-nuki/plugin.py, Line: 217, offset: 88
2019-05-20 19:01:51.978 Error: (Nuki) Error Line ' Domoticz.Log(self.lockNames[foundlock] + " requests update: " + Response["stateName"])
2019-05-20 19:01:51.978 '
I will PM you.
2019-05-20 19:01:51.977 Error: (NukiLock) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-nuki/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-05-20 19:01:51.978 Error: (Nuki) Module Import failed, exception: 'TabError'
2019-05-20 19:01:51.978 Error: (Nuki) Import detail: File: /home/pi/domoticz/plugins/domoticz-nuki/plugin.py, Line: 217, offset: 88
2019-05-20 19:01:51.978 Error: (Nuki) Error Line ' Domoticz.Log(self.lockNames[foundlock] + " requests update: " + Response["stateName"])
2019-05-20 19:01:51.978 '
I will PM you.
- BartdaMan
- Posts: 20
- Joined: Sunday 22 May 2016 22:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Amersfoort
- Contact:
Re: Python Plugin: NUKI locks
Hmmm, the PM seems to stay in my Outbox. Did you get it?
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
yup.
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
Fixed the taberror and port issues.
Verstuurd vanaf mijn SM-G955F met Tapatalk
Verstuurd vanaf mijn SM-G955F met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 7
- Joined: Wednesday 22 May 2019 22:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11361
- Location: Paris
- Contact:
Re: Python Plugin: NUKI locks
Hi,
Alright, upgrade plugin but still:
2019-05-22 22:24:40.601 Error: (NukiLock) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-nuki/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-05-22 22:24:40.601 Error: (Nuki de Bidibulle) Module Import failed, exception: 'TabError'
2019-05-22 22:24:40.601 Error: (Nuki de Bidibulle) Import detail: File: /home/pi/domoticz/plugins/domoticz-nuki/plugin.py, Line: 88, offset: 38
2019-05-22 22:24:40.601 Error: (Nuki de Bidibulle) Error Line ' sef.bridgePort = Parameters["Mode4"]
2019-05-22 22:24:40.601 '
2019-05-22 22:25:48.268 Error: Nuki de Bidibulle hardware (23) thread seems to have ended unexpectedly
Test connect to bridge http://192.168.0.158:8080/configAuth?en ... en=XXXXXXX
success : true
install on raspberry, Domoticz Version: 4.10810 Build Hash: 315b45b6 - Python Version: 3.5.3
Plugin commit 921e908
Thanks
Alright, upgrade plugin but still:
2019-05-22 22:24:40.601 Error: (NukiLock) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-nuki/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-05-22 22:24:40.601 Error: (Nuki de Bidibulle) Module Import failed, exception: 'TabError'
2019-05-22 22:24:40.601 Error: (Nuki de Bidibulle) Import detail: File: /home/pi/domoticz/plugins/domoticz-nuki/plugin.py, Line: 88, offset: 38
2019-05-22 22:24:40.601 Error: (Nuki de Bidibulle) Error Line ' sef.bridgePort = Parameters["Mode4"]
2019-05-22 22:24:40.601 '
2019-05-22 22:25:48.268 Error: Nuki de Bidibulle hardware (23) thread seems to have ended unexpectedly
Test connect to bridge http://192.168.0.158:8080/configAuth?en ... en=XXXXXXX
success : true
install on raspberry, Domoticz Version: 4.10810 Build Hash: 315b45b6 - Python Version: 3.5.3
Plugin commit 921e908
Thanks
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: NUKI locks
Apologies for the taberror. I never noticed that the github editor auto indents using tabs instead of spaces. Fixed this issue now.
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Who is online
Users browsing this forum: No registered users and 1 guest