Send data to EspruinoHub with bangle.js 2 and send back confirmation to delete old data #5197
Replies: 1 comment
-
Posted at 2022-09-21 by @gfwilliams I guess you probably already spotted it but there is some general info at http://www.espruino.com/BLE+Node-RED What I'd suggest is instead of the Bangle detecting EspruinoHub, you work the other way...
DownloadingFor this you want some function on the Bangle that'll send all the data via the UART... So something like http://www.espruino.com/Data+Collection#simple-example Then to download you do something like http://www.espruino.com/BLE+Node-RED#controlling-the-puck and then send the command Then you just listening on BUT... honestly decoding the data and keeping track of what you've got could end up being quite hard to do using NodeRed. I'm not really fluent enough with it to know. You might actually find it easier going direct with a custom Node.js app and https://www.espruino.com/Interfacing#node-js-javascript |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-09-15 by user149221
I am currently working on a small project with a bangle.js 2 and my goal is to collect data during the day and when I get home I would like that when the bangle detects the espruinoHub it sends the collected data and then, with nodered I send him the confirmation of receipt for the bangle to clear the data.
I know, I think, advertising, but I have trouble understanding how to connect in uart and exchange data with espruinoHub, nodered and Bangle.js 2
Would there be someone kind to direct me to the right tutorials and reference or who could give me a sample code to help me orient myself?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions