RandomNumberGenerator

generates a new random number every second

[{"id":"a4fdb5a5.dd1ee8","type":"function","z":"9bc41499.32eb78","name":"generator","func":"msg.payload.number=Math.random()*1000000;\nreturn msg;","outputs":1,"noerr":0,"x":320,"y":80,"wires":[[]]}]
alfu32

Flow Info

created 3 months ago

Node Types

Core
  • function (x1)

Tags

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