Hi @charlesg Thank you for sharing the information, I think you will need to update the NCD library in Node-RED, please follow these steps:
- Open Node-RED and navigate to the main menu (three horizontal lines in the top-right corner).
- Select “Manage Palette” from the menu.
- Locate the @ncd-io/node-red-enterprise-sensors library in the palette.
- If an “Update to 1.4.x” button appears in the lower-right corner, please click it to initiate the update.
Once the update is complete, close the Manage Palette window and restart Node-RED. To assist with this process, please import the following Node-RED flow into your workspace:
[{"id":"69f9288b47110fd2","type":"inject","z":"dd33b5f28aad9520","name":"Enable to restart","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":260,"y":640,"wires":[["9001f60183cf49b1"]]},{"id":"9001f60183cf49b1","type":"exec","z":"dd33b5f28aad9520","command":"pm2 restart all","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"Restart","x":560,"y":640,"wires":[["bab52ac9709c66f0"],["bab52ac9709c66f0"],["bab52ac9709c66f0"]]},{"id":"bab52ac9709c66f0","type":"debug","z":"dd33b5f28aad9520","name":"debug 8","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":710,"y":640,"wires":[]},{"id":"60347b12cfb4eda2","type":"comment","z":"dd33b5f28aad9520","name":"👇🏼 Click the embedded left button to enable.","info":"","x":290,"y":600,"wires":[]}]
To do this, copy this json code, then go to Node-RED and click on main menu, then select import option and paste the code into pink text box input, and finally click on Import button, then locate the flow and click on Deploy button, to Restart Node-RED click on inject node:
Wait a few seconds, refresh the web browser page and please could you reset your sensor in order to see if now you see the correct sensor_data and FLY message, please.
Try this and feel free to let us know if you have any questions,
Thanks,
Eduardo M