Node-Red Node that can be configured to send a list of output messages with differents delays between them
Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-scenario
- msg.payload = "start" to start the scenario
- msg.payload = "stop" to stop the scenario.
- msg.payload = "init" to init the scenario with your own scenes (see example flow below).
The node will start to output scenes value added in node configuration, scenes value can be String, Number, JSON or Bool each scene has a time of duration (in millisecond).
Copy and paste this flow to see how this node works