0

The goal is to send commands to a thermostat from a WAN offsite network.

A thermostat sits behind a firewall at 192.168.1.5. Because it was designed to blindly accept commands: I am reluctant to open a port and automatically forward traffic to it.

A unix box on the thermostat's LAN:

curl http://192.168.8.5/tstat

returns:

{"temp":68.00,"tmode":2,"fmode":0,"override":0,"hold":0,"t_cool":80.00,"program_mode":1,"tstate":0,"fstate":0,"time":{"day":4,"hour":20,"minute":59},"t_type_post":0}

The thermostat's gateway & router runs SSH and is remotely accessible at gatorback.asuscomm.com.

The goal is to issue a curl command to the thermostat from 16.04 laptop, which is in another city. Is the preferred method to somehow create a SSH tunnel between 16.04 <=> router <=> thermostat? Any concrete examples using the above info is appreciated.

  • FQDN = gatorback.asuscomm.com
  • thermostat LAN IP = 192.168.1.5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.