@SuperNinja I'm afraid I didn't keep it.
On the other hand, linking actuators to sensors was (and still is) very straightforward. Most flows dealt with voice recognition, which has become a lot easier to implement nowadays.
You're welcome!
I've used node red like you are doing for some times and it works well. Since around 1-2 years I'm using home assistant as controller, and node red for the logic in automations.
Home assistant makes life much easier, as it for example takes care of filling data into influxdb automatically
I reply to myself, I succeeded to make it work.
The \n was missing in the payload before sending it back to the gateway.
This took me months to see this...
Works like a charm now, I just need to implement the inclusion feature in NodeRED.