/numere Website with Numbers

It generates a random number between every 0.25 seconds and it posts the number on your server, where you need to add a file named "numere", witch will be a web page on your server.. On that website, you will need to refresh the website how much times you want, and a random number between 1 and 60 will appear after every refresh.

[{"id":"a023db8a.3f04d8","type":"inject","z":"d265207b.4c154","name":"","topic":"","payload":"","payloadType":"date","repeat":"0.25","crontab":"","once":false,"x":165,"y":211.36000061035156,"wires":[["44e25d9a.18ba0c","d4888f59.88f16","2ad44e00.e59c4e","852f91ff.1186c","162e4b42.cbb54d","90e052d7.ec0f9","eaeb4f69.4a638","2845b066.b6a1f8","6d64a0f4.1b651c","e3a323de.aa6ee8"]]},{"id":"852f91ff.1186c","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"24","inte":"true","x":413,"y":155.09999084472656,"wires":[["b1973114.2320e8"]]},{"id":"162e4b42.cbb54d","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"30","inte":"true","x":401,"y":276.1000061035156,"wires":[["b1973114.2320e8"]]},{"id":"90e052d7.ec0f9","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"36","inte":"true","x":392,"y":369.0999755859375,"wires":[["b1973114.2320e8"]]},{"id":"2ad44e00.e59c4e","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"18","inte":"true","x":401,"y":66.0999984741211,"wires":[["b1973114.2320e8"]]},{"id":"d4888f59.88f16","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"12","inte":"true","x":159,"y":340.1000061035156,"wires":[["b1973114.2320e8"]]},{"id":"44e25d9a.18ba0c","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"6","inte":"true","x":148,"y":71.0999984741211,"wires":[["b1973114.2320e8"]]},{"id":"eaeb4f69.4a638","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"42","inte":"true","x":576,"y":107.09999084472656,"wires":[["b1973114.2320e8"]]},{"id":"6d64a0f4.1b651c","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"48","inte":"true","x":579,"y":216.10000610351562,"wires":[["b1973114.2320e8"]]},{"id":"2845b066.b6a1f8","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"54","inte":"true","x":574,"y":317.1000061035156,"wires":[["b1973114.2320e8"]]},{"id":"e3a323de.aa6ee8","type":"random","z":"d265207b.4c154","name":"","low":"1","high":"60","inte":"true","x":750,"y":214.10000610351562,"wires":[["b1973114.2320e8"]]},{"id":"b1973114.2320e8","type":"file","z":"d265207b.4c154","name":"","filename":"/tmp/numere","appendNewline":true,"createDir":false,"overwriteFile":"true","x":1065.1666259765625,"y":345,"wires":[]},{"id":"e00e9b07.5f0198","type":"file in","z":"d265207b.4c154","name":"","filename":"/tmp/numere","format":"utf8","x":601.500015258789,"y":595.3333282470702,"wires":[["fe9d99ab.0c6af8"]]},{"id":"5a9ad89d.27752","type":"http in","z":"d265207b.4c154","name":"","url":"/numere","method":"get","swaggerDoc":"","x":325.8333079020182,"y":590.6666819254557,"wires":[["e00e9b07.5f0198"]]},{"id":"fe9d99ab.0c6af8","type":"http response","z":"d265207b.4c154","name":"","x":905.8333079020181,"y":592.6666514078776,"wires":[]}]
EduardAlex

Flow Info

created 1 year, 3 months ago

Node Types

Core
  • file (x1)
  • file in (x1)
  • http in (x1)
  • http response (x1)
  • inject (x1)
Other
  • random (x10)

Tags

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