Arduino ESP8266 integration via bridge HTTP API

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

1 Like

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.

1 Like

Thanks, definitely something to look into. I guess I will add something like
getLockStateCached()
in the next version

1 Like