I’m going to try to get to this soon, but in case anyone wants to take a stab at it, here is what Honeywell told me:
"Assuming you have a token, the call flow works like this. I’ll attach sample CURL and Responses for each! I’ll leave my API key in for illustration but take out the tokens.
GET Locations:
https://api.honeywell.com/v2/locations?apikey=YZnROyEuVdJCUbfEEfxHWEj6i5HhVF1z
In that response for the device you’ll see a groups array with room numbers in it (assuming you have T9/T10):
“groups”: [
{
"id": 0,
"name": "default",
"rooms": [
0,
1,
2,
3
]
}
]
You’ll also want to retain the locationID and the deviceID (e.g., “LCC-XXXX”) from the response. You can then just GET that device:
https://api.honeywell.com/v2/devices/thermostats/LCC-B82CA0196B73?apikey=YZnROyEuVdJCUbfEEfxHWEj6i5HhVF1z&locationId=559589
Then you can get a particular group and the rooms/sensor data in it:
https://api.honeywell.com/v2/devices/thermostats/LCC-B82CA0196B73/group/0/rooms?apikey=YZnROyEuVdJCUbfEEfxHWEj6i5HhVF1z&locationId=559589
On each sensor is the humidity, temp, motion detected (true/false) and battery state.
“accessoryValue”: {
"coolSetpoint": 0,
"heatSetpoint": 0,
"indoorHumidity": 36,
"indoorTemperature": 73.125,
"motionDet": false,
"occupancyDet": false,
"excludeTemp": false,
"excludeMotion": false,
"pressure": 0,
"occupancyTimeout": 0,
"status": "Ok",
"batteryStatus": "Ok",
"rssiAverage": -52
}
The one thing I will say, particularly with smart things, is we don’t really allow a ton of heavy polling/GET commands. We’re working on real-time push data for the sensors to 3rd parties, but it’s not there yet!"