Search code examples
node-red

Sensor simulation using node-red


I'm new to node-red and I would like to create a simulation of different sensors (temperature, moisture, airQuality ...) that would return random data. I also need to create events, for example a fire in a house that would obviously increase the values returned by the simulated temperature sensor.

Does anybody know how to "trigger" that kind of event using node-red?


Solution

  • Here is a Scheduler node: http://tech.scargill.net/node-red-scheduler/

    You should use it in combination with a function node were you can use random functions to simulate your data.