jensrossbach / node-red-contrib-chronos

Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes
https://jensrossbach.github.io/node-red-contrib-chronos
MIT License
28 stars 1 forks source link

Add input message command "getid" to state node #160

Closed jensrossbach closed 3 months ago

jensrossbach commented 3 months ago

This pull request adds a new command for input messages to state nodes. The command "getid" can be used to query the identifier of the currently active state.

In order to be able to distinguish the response message from normal state change output messages, the response message to the "getid" command contains the original msg.topic property with "getid".