Hello -
I have a Vantage Qlink lighting system that has what they call an IP Enabler. Through this enabler a system can send and receive serial text commands to turn light on and off. I currently have OpenHab connected to it so that lighting can be controlled through it.
I'd like to move this to Node Red and am running into trouble.
I have created a flow that contains both a TCP IN and TCP Request node in it. If I inject a String such as SW 1 74 2 1 that will turn my Hallway lights on (this works as expected) If Node Red hears SW 1 74 2 0 I will want it to trigger the Hallways lights off (the methodology for turning the light off has been figured out)
What I am having trouble with is having a listener, listen all the time and then being able to send a command. It seems I can only have one TCP node connected.
This is what I have constructed.
and as you can see the listener is connected, yet the sender is reporting back a connection error.
I believe OpenHab keeps a connection open that it can both listen and send on....(OpenHab is not running when I test this scenario - so it's not conflicting with the connection)
Is there another way I should be constructing this?
Both nodes have the IP address and Port of the IP Enabler.
Any suggestions would be greatly appreciated.
Squid