Node-red-contrib-dsm

moved from How can i build a random delayed trigger loop?

I know, generally the state machine approach isn't easy to understand. That's the reason the node is in the Advanced Category. :slight_smile:

One way to learn using the dsm node is to import the examples, there are more then 25 examples in the Wiki

I've no plan at the moment to add a config UI, but let's see.


New version 0.13.0 available.

Enhancements:

  • preState: the previous state (sm.preState) before the transition is executed.

  • preStateOutput: here you can define the msg property e.g. previous => msg.previous

  • examples: Menu > Import > Examples > dsm

To start you can import the skeleton example.

Feedback and PR's are welcome.

2 Likes