Page 3 of 5
Re: Nuki lock setup
Posted: Sunday 13 October 2019 10:12
by heggink
Can you switch on debug in the plugin and send me the detailed log statements on GitHub?
Sent from phone.
Re: Nuki lock setup
Posted: Sunday 13 October 2019 10:43
by salopette
I have!
Re: Nuki lock setup
Posted: Tuesday 15 October 2019 19:48
by heggink
Just replied. Apologies for the delay due to travel.
The plugin contacts the Nuki bridge on startup to get the config (find out what locks have been defined in the bridge). It needs an IP address, a port and the token in order to access it but it gets an http 403 error so something is not correct in that combination.
You can try to run the command by hand in a shell using curl and see.
Assuming you followed instructions on putting the bridge in debug mode, setting the port and getting the token.
Sent from phone.
Re: Nuki lock setup
Posted: Wednesday 16 October 2019 19:05
by salopette
Hi, if I start your plugin, bring the other plugins I have to crash (Shelly, Deconz)
Re: Nuki lock setup
Posted: Wednesday 16 October 2019 22:24
by heggink
Are you saying that my plugin crashes other plugins? That's weird... Please post the log on GitHub.
Sent from phone.
Re: Nuki lock setup
Posted: Saturday 07 December 2019 17:46
by hbennis
Hi, i'm using the plugin on a synology nas and it works perfect,
thnks for the work.
Re: Nuki lock setup
Posted: Sunday 08 December 2019 10:59
by heggink
Sent from phone.
Re: Nuki lock setup
Posted: Wednesday 26 February 2020 10:07
by heggink
Due to popular demand (salopette, others), there is a new test branch feature-unlatch which adds a device per lock to unlatch the lock.
I can only test it for 1 lock per bridge so if you have 1 bridge with multiple locks, please test it and let me know if it works before I merge into master.
Apologies for the delay adding this requested functionality due to my training for Alpe d'huZes fundraising for cancer.
If cancer and cancer research, treatment and care is near to your heart, Please sponsor me on
https://www.opgevenisgeenoptie.nl/fundr ... ggink11388
H
Re: Nuki lock setup
Posted: Thursday 27 February 2020 16:19
by salopette
@ heggink
I just came to test it today, thank you for your effort and work, it works wonderfully so far!
I can only test it with a bridge / lock!
Re: Nuki lock setup
Posted: Friday 25 September 2020 14:48
by rgroothuis
salopette wrote: ↑Wednesday 18 September 2019 15:39
Hi, I have a question:
Is it possible to open and close Nuki Castle via Domoticz?
Yes you can! I've installed the heggink (
https://github.com/heggink/domoticz-nuki) plug in and I can open de door and also lock/unlock the door.
What I cannot see is the status if the door is open or closed. This is a feature within the Nuki.
@heggink: is the door status (open or closed) already a feature that is supported in your plugin? If so, how can i use it? If not, are you planning to add this to your plugin?
Re: Nuki lock setup
Posted: Friday 25 September 2020 17:05
by heggink
The door sensor is not supported yet for 2 reasons: 1) I don't have such s device to test and 2) last time I looked, the API had no support for it.
I'll have a look to see if the API had been updated.
Verstuurd vanaf mijn SM-G980F met Tapatalk
Re: Nuki lock setup
Posted: Friday 25 September 2020 17:23
by rgroothuis
heggink wrote: ↑Friday 25 September 2020 17:05
The door sensor is not supported yet for 2 reasons: 1) I don't have such s device to test and 2) last time I looked, the API had no support for it.
I'll have a look to see if the API had been updated.
Verstuurd vanaf mijn SM-G980F met Tapatalk
Number 1 I can maybe help out to do some testing for you as I've the Nuki with the door sensor. On item 2, I can unfortunately not help on that apart from checking the API interface as well.
Re: Nuki lock setup
Posted: Friday 25 September 2020 17:27
by rgroothuis
rgroothuis wrote: ↑Friday 25 September 2020 17:23
heggink wrote: ↑Friday 25 September 2020 17:05
The door sensor is not supported yet for 2 reasons: 1) I don't have such s device to test and 2) last time I looked, the API had no support for it.
I'll have a look to see if the API had been updated.
Verstuurd vanaf mijn SM-G980F met Tapatalk
Number 1 I can maybe help out to do some testing for you as I've the Nuki with the door sensor. On item 2, I can unfortunately not help on that apart from checking the API interface as well.
Seems that in the Bridge beta SW (Bridge Beta FW 2.6.0 / 1.16.0) there is support for getting the door status:
https://developer.nuki.io/t/bridge-beta ... state/6159
Hope this helps.
Re: Nuki lock setup
Posted: Friday 25 September 2020 19:33
by heggink
Correct, the API has been adapted. Better yet, stephaneM60 already made the changes to the plugin to support the sensors so I pinged him to see how much testing he has done. I am looking to merge this request asap so stay tuned.
Re: Nuki lock setup
Posted: Sunday 27 September 2020 11:52
by heggink
For testing purposes, I have moved the pull request from Stephane to the feature-unlatch branch. It adds support for the door sensor for the V2 lock. Please note that the device numbers in domoticz have been renumbered so installing this will create new devices and you need to delete the old ones.
Re: Nuki lock setup
Posted: Monday 28 September 2020 9:35
by rgroothuis
I can confirm, after 2 days of testing, that the new version to show the door sensor status is working fine. Thanks for the enhancement.
Re: Nuki lock setup
Posted: Monday 28 September 2020 13:19
by rgroothuis
I'm working on a DZvents script to automatically lock and unlock the door during the night, so that the door is extra locked (night lock) during the night.
For some reason I cannot find the methode to put the door on night lock.
Are the switchOn() and switchOff() methodes the correct ones? Because the Nuki doorlock is not putting the door in a night lock.
Code: Select all
local VoorDeurSlot = domoticz.devices('Voordeur Status')
if (domoticz.time.matchesRule('at 23:00') and (VoorDeurSlot.state == "Unlocked")) then
VoorDeurSlot.switchOff()
elseif (domoticz.time.matchesRule('at 07:00') and (VoorDeurSlot.state == "Locked")) then
VoorDeurSlot.switchOn()
end
Re: Nuki lock setup
Posted: Monday 28 September 2020 13:40
by heggink
I can't check for the new plugin version but, yes for the old one. I use dzvents exactly for that purpose. Unless the type was changed in the last update, that should work.
Verstuurd vanaf mijn SM-G980F met Tapatalk
Re: Nuki lock setup
Posted: Monday 28 September 2020 13:43
by rgroothuis
heggink wrote: ↑Monday 28 September 2020 13:40
I can't check for the new plugin version but, yes for the old one. I use dzvents exactly for that purpose. Unless the type was changed in the last update, that should work.
Verstuurd vanaf mijn SM-G980F met Tapatalk
So SwitchOn and SwitchOff are the correct methods?
Re: Nuki lock setup
Posted: Monday 28 September 2020 13:55
by heggink
Yes
Verstuurd vanaf mijn SM-G980F met Tapatalk