homebridge-cmdtrigger icon indicating copy to clipboard operation
homebridge-cmdtrigger copied to clipboard

Telnet and finishing?

Open houser42 opened this issue 5 years ago • 3 comments

Is it possible to use this plugin to send Telnet commands? If so, how do we finish a command for enter? Tried the stuff below, not working so far. Grateful for a hint?

{ "accessory": "CmdTrigger", "name": "Telnet", "command": "telnet 192.168.1.51 23 x0D", "delay": "100" }, { "accessory": "CmdTrigger", "name": "MV49", "command": "MV49 x0D", "delay": "100" }

houser42 avatar Dec 15 '19 15:12 houser42

Hi! I have never used telnet commands before so I am not sure how to go about this. Perhaps you could try to use \r in the command string instead of x0d?

hallos avatar Dec 29 '19 14:12 hallos

OK, I'll give that a go and report back. Thanks!

houser42 avatar Dec 29 '19 14:12 houser42

Just a word to let you know I tried that suggestion with no luck. Will spend some more time and report if I find something that works. Thanks again.

houser42 avatar Jan 04 '20 12:01 houser42