Hi everyone,
if anyone wants to integrate their NUKI with an ESP8266 based Arduino I have just released a library which uses the bridge HTTP API to control the NUKI lock.
Feedback welcome, feel free to contribute.
Thanks
Hi everyone,
if anyone wants to integrate their NUKI with an ESP8266 based Arduino I have just released a library which uses the bridge HTTP API to control the NUKI lock.
Feedback welcome, feel free to contribute.
Thanks
Great work.
Just a quick feedback: As far as i’ve seen you use /lockState to fetch the state of the Smart Lock. If you constantly poll the state of the Smart Lock you should use the /list function, which returns the last known state from the bridges cache. /lockState directly polls the Smart Lock, which drains the battery within days if done in an endless loop.
Thanks, definitely something to look into. I guess I will add something like
getLockStateCached()
in the next version