Im new to API’s. I was looking at the Beestat API’s and i didnt see one for the IAQ feature on the ecobee thermostat. Is that an option? id like to control my fresh air damper off of that.
Rob
Im new to API’s. I was looking at the Beestat API’s and i didnt see one for the IAQ feature on the ecobee thermostat. Is that an option? id like to control my fresh air damper off of that.
Rob
The air quality information is part of the sensors API. You’ll use runtime_sensor.read to access the data.
ok I think I have it working. although the sensor details for the IAQ all say unknown? Im using node red to send and receive the response if thats needed.
{“id”:“4”,“type”:“airQualityAccuracy”,“value”:“unknown”},{“id”:“5”,“type”:“airQuality”,“value”:“unknown”},{“id”:“6”,“type”:“vocPPM”,“value”:“unknown”},
What API call did you run to get that output? If you do something like this:
https://api.beestat.io/?api_key={YOUR API KEY}&resource=runtime_sensor&method=read&arguments={“attributes”:{“sensor_id”:{YOUR SENSOR ID},“timestamp”:{“value”:“2025-01-01 00:00:00”,“operator”:“>”}}}
You should get an array of rows that looks like this:
i used this one.
https://api.beestat.io/?api_key={YOUR API KEY}&resource=thermostat&method=read_id
obviously id put in my api key. some of the other info that comes back is strange as well
ok I’ve got it working now. how often can send an API request?
I think the limit is 30 requests per minute or something absurd. If you break it the API will tell you.
ok thats way more than i want to do lol also another question. is there a way in the api to show if the system is in stage one or two and actively running? i was looking at the response and i didnt see anything
The easiest way is to do a thermostat.read API call (not ecobee_thermostat.read) and use the running_equipment column.
You can also get it from ecobee_thermostat.equipment_status although that is less normalized as it’s the raw data from ecobee.
thanks for your help. ive run into another interesting thing. ive been using the api to request some data like the outdoor temp and humidity along with the equipment status. ive found that if i dont have the beestat open in my browser the api info wont update. is that normal?
Look at the thermostat.sync and sensor.sync API calls. Beestat updates when you use it in the browser and also occasionally when you’re not actively using it. You can use those calls to trigger a sync before reading data.
thanks! that fixed it