Send Random Value for Freeboard

Send Random Value for Freeboard example.

[{"id":"7a422875.85bdd8","type":"freeboard","name":"[Node-RED] Freeboard","x":565,"y":116,"z":"2f2d1c05.d0d2e4","wires":[]},{"id":"d8e3c6c4.271c38","type":"inject","name":"Send Random Value","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":false,"x":118,"y":116,"z":"2f2d1c05.d0d2e4","wires":[["652cdd36.9ad324"]]},{"id":"652cdd36.9ad324","type":"function","name":"","func":"msg.payload={value:Math.floor(Math.random()*100)};\nreturn msg;","outputs":1,"x":352,"y":116,"z":"2f2d1c05.d0d2e4","wires":[["7a422875.85bdd8","89b42126.764be"]]}]
joeartsea

Flow Info

created 1 year, 11 months ago

Node Types

Core
  • function (x1)
  • inject (x1)
Other

Tags

  • freeboard
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option