Supergiovane / node-red-contrib-boolean-logic-ultimate

Enhanced boolean logic with persistent values after reboot and more
https://www.youtube.com/watch?v=sYc6L5QQrTw&list=PL9Yh1bjbLAYoRH4IyQB7EL5srHAihiKpy
MIT License
31 stars 4 forks source link

Feature Request: Multiple Railway Inputs #47

Closed Hypoferalcus closed 3 months ago

Hypoferalcus commented 3 months ago

Hi there!

I hope, this is the right place to post that - I really love the Plugin, especially the railway inputs. And I really appreciate the increase to 5 outputs. What would be a really cool addition would be to also increase the number of inputs - So we could have some more complex flows with the railway node as the central point.

thanks in advance

Supergiovane commented 3 months ago

Hi It's not possible in Node-Red to add more than 1 input PIN. Can you describe, what you're trying to achieve? I'll get a shot then. Thanks.

Hypoferalcus commented 3 months ago

Wow thanks for the super-fast answer! The problem to solve is - for example - a lighting scene (with KNX Node as receipient) which should be different when we have "guest-mode", "holiday-mode" or "standard-mode" - right now I am using multiple Railway inputs with one output connected to the KNX node and the other one (while it was only 2 outputs) just empty, so the payloads just end in "nowhere", when the mode is not active. That works, but of course it would have been more elegant to have just one railway node with multi-inputs.

Supergiovane commented 3 months ago

Hi Ok, understood. You can do that with the payload. See the help panel, and see if it fits your needs. If not, please paste your flow here, i'll give it a shot. :-)

Node-RED___Avvio Node-RED___Avvio