-
Hi All,
I'm looking to use a few puck-js units in my home automation.
I've implemented this guide for button control and led control:
https://www.espruino.com/BLE+Node-RED
But I'm unsure of how to weave in the other sensors. I've spend 45 minutes or so looking, but haven't been able to find some code I can use.
Can someone point me to an example that I can build off of? I'm a beginning JS coder.
Thanks - yes, I've poked around in there... not yet sure how to weave it all together and suspect the code is out there somewhere.
Forgot to mention I have gotten EspurinoHub installed, which appears to aggregate some of the advertising and post results to MQTT.
I'd like to get readings from the magnetometer (open/close door), temp and light sensor, as well as battery level.