I want to create a device based on a Raspberry Pi (RPi), similar to a Thermostat socket, except that I want to control the light switches. I know that I could easily encode a Node.js script into RPi, and then just connect it to a local router and manage it using a PC connected to one router.
But I want to make it look more like a nest. I want to be able to control 20 (or more) RP addresses on different subnets through a cloud provider such as Heroku.
The Nest thermostat does not require the user to open a port on their router so that the Nest server can communicate with it.
How can Nest control client thermostats over the Internet without enabling port forwarding in the client router?
source share