I’m developing a beta server that connects with nest server to control nest thermostats.
In the developing process, I’d like to ask a question.
That’s event notification when thermostat event occured.
I’ve already known the way to get event notification from nest server to my server, from nest developer site.
The site’s said to use curl command (curl -L -X GET -H “Accept:application/json” -H “Accept:text/event-stream” "https://developer-api.nest.com/?auth=ACCESS_TOKEN).
When I test the command, it works without problems.
On the other hand, it shoud keep connection continuously… it makes a probme in my beta server, if many user uses the thermostats through my beta server.
So, is there other way to get event notification in real-time when thermostat state’re changed without constant connection? like push or etc… not websocket.