Hi all
Been back to lurking for a while, now just playing with moving from 2.1 to 2.5 and trying to setup a telnet sensor.
Summary : I have an A/V device accessible over telnet, and upon connection it displays a status message (no input required). The input is :
CH_STATUS 0123 LOCAL
Where 123 is a channel number, so I just want the 3 final digits…
My REGEX I’m using is:
^CH_STATUS 0(…) LOCAL
Which checks out in various regex testers. I’ve specified I want group 1 (the only brackets shown). Additionally, I’ve included a command (which I’ve put “null|” for, and have tried “null”) - although I don’t need to send anything, just connect, read and disconnect…
But what I get in the telnet.log is:
WARN 2016-10-20 12:34:05,916 (Telnet): Telnet Read Status: No Match using Regex: ‘^CH_STATUS 0(…) LOCAL’ on response from command ‘null|’
Any clues? I’m missing something blindingly obvious no doubt…
(in better news, my LightwaveRF UDP listener is working and updating temperature AND detecting heating on/off status, so I might get to update the Wiki!)
Kind regards
Peter