I have a flow on my node red with certain rules set on the message object values (the value of objects are either sensor values or status of a sensor). And let's say I want to control the rules from the front end (created using React JS) without actually having access to the node-RED flow.
Is it possible to migrate the script of the flow? Or expose the endpoints of particular nodes so that you can change certain rules from front end? (Some of the rules are written in script form in the function node and others in the Switch node)
If not possible with Node-RED what approach would you suggest for this problem? Another rule engine you might know that allows this?
Any input would be greatly appreciated.