Yes, I think either device would be fine for that. I'll have a quick check tomorrow to be absolutely sure though.
By the look of it you may have to pair with the device first before it'll appear in the Smart Lock list, which may mean you have to turn it into something like a media control (play/stop/pause button) - but even so that's just a few lines of code.
The act of just broadcasting its existence shouldn't be anything that draws a bunch of power so a Puck would work fine for you for around a year's battery life.
So... you may be able to just power on the device and make it work as you say, it may require some tweaking. However I'd seriously recommend uploading some code to the device (http://www.espruino.com/Puck.js+Security) because potentially as it comes out of the box somebody in range in a different flat could just reprogram it to do something else :)
I'll find out for sure tomorrow though
© Espruino, powered by microcosm.
Report a problem