Trigger / Switch via Telnet data stream?

Originally posted on reddit but I wanted to get some other ideas as well. I will look into doing a feature request on the alarmdecoder component as well. On to the issue at hand…

I was looking at the Telnet component as a solution to an issue I’m trying to work around with the Alarmdecoder component. Since that component doesn’t appear to be able to detect the relay messages for opening an closing I figured it would just be easier to watch for the messages via Telnet.

It looks like the Telnet switch component is meant for a connect, send data, watch for response then disconnect type thing. I’m looking for something that will connect to a local IP on my network and never send anything but simply watch all the time for a message like “!REL,12,01” has open and then few seconds later indicating a close “!REL,12,00”. And actually I don’t even need to go that far as I would just like to kick on a light for a couple minutes anytime I get a !REL,12,01 message when I’m in a certain mode based on some other elements of the automation.

Any ideas on how to do this easily?