vieuxsinge / stc1000esp

ESP8266 firmware to make STC1000 thermostat communicate over WiFi.
GNU General Public License v3.0
6 stars 0 forks source link

How to connect with telnet #2

Open sirtam opened 2 years ago

sirtam commented 2 years ago

Hi and thank you for this worderful script.

I have some issues connecting to telnet and I'm getting the following error when running the telnet.sh script with expect:

spawn telnet 192.168.4.1
Trying 192.168.4.1...
Connected to 192.168.4.1.
Escape character is '^]'.
Connection closed by foreign host.
send: spawn id exp4 not open
    while executing
"send "$cmd\r""
    ("foreach" body line 2)
    invoked from within
"foreach cmd $commands {
        send "$cmd\r"
        expect "$ "
}"

I get a constant mqtt response in the arduino output so I know I have connection.

Any hints on how to resolve this?

ScaccoMattoxD commented 6 months ago

I have the same problem and can't figure out how to solve. did you manage to solve it?