Visibility to Ecobee Data
Visibility to Ecobee Data
One of my favourite uses of Indigo is to get alerted when something in the home is out of whack. I would like to be able to set up some alerts based on info that my Ecobee thermostat and remote sensor know. I'm specifically looking to tap into things like the current temperature, the set point, the operating mode. Maybe even the motion sensor?
Anyways, it would be great to know what info is available to me, and how I can tap into it. Help?
Anyways, it would be great to know what info is available to me, and how I can tap into it. Help?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Visibility to Ecobee Data
Have you set up the Ecobee-2 plugin and looked at the data that's available? All of that is available from the Thermostat device, except the motion sensor, which is presented as it's own (Occupancy) device.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Visibility to Ecobee Data
Where would I “look at the data that’s a available” ? Is the object model documents, or browse-able ?FlyingDiver wrote:Have you set up the Ecobee-2 plugin and looked at the data that's available? All of that is available from the Thermostat device, except the motion sensor, which is presented as it's own (Occupancy) device.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Visibility to Ecobee Data
Generally easiest to look at the available states in a trigger definition. Like this:
There's also some custom states:
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Visibility to Ecobee Data
This is perfect ! I totally skipped looking at "device state" and wrongly looked only at the "plugin" section of trigger type. This should do the trick. Thanks for your help!FlyingDiver wrote:Generally easiest to look at the available states in a trigger definition. Like this: There's also some custom states:
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Visibility to Ecobee Data
Custom plugin triggers are generally only for things that cannot be determined solely from the state values. In most cases, triggering on changes to the device state is sufficient.SearchCz wrote:
This is perfect ! I totally skipped looking at "device state" and wrongly looked only at the "plugin" section of trigger type. This should do the trick. Thanks for your help!
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Visibility to Ecobee Data
Any idea if there is a way to tell if the thermostat is calling for AUX heat ?FlyingDiver wrote:Generally easiest to look at the available states in a trigger definition. Like this: There's also some custom states:
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Visibility to Ecobee Data
I don't know. None of my HVAC systems have that. And I don't see anything about that specifically in the API docs.SearchCz wrote:Any idea if there is a way to tell if the thermostat is calling for AUX heat ?
Try this: Force your unit into AUX Heat on, wait for an update, then use the "Write Thermostat Data to Log" menu command. Post that and we'll see if there's any info that's relevant.
- Attachments
-
- Screen Shot 2021-06-30 at 6.06.44 PM.png (371.56 KiB) Viewed 4577 times
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Visibility to Ecobee Data
Looks like "hvacMode" has something to say about aux heat ?
Code: Select all
Jun 30, 2021 at 9:12:29 PM
Ecobee 2 {
"521725513861": {
"actualHumidity": 48,
"actualTemperature": 759,
"brand": "ecobee",
"climates": {
"away": "Away",
"home": "Home",
"sleep": "Sleep"
},
"currentClimate": "home",
"desiredCool": 920,
"desiredFanMode": "auto",
"desiredHeat": 689,
"equipmentStatus": "",
"fanMinOnTime": 0,
"features": "Home,HomeKit",
"hvacMode": "auxHeatOnly",
"internal": {
"humidity": "48",
"occupancy": "true",
"temperature": "804"
},
"latestEventType": "hold",
"modelNumber": "vulcanSmart",
"name": "Main Floor",
"remotes": {
"5WFS": {
"name": "Downstairs",
"occupancy": "true",
"temperature": "718",
"thermostat": "521725513861"
}
}
}
}
Ecobee 2 {
"5WFS": {
"name": "Downstairs",
"occupancy": "true",
"temperature": "718",
"thermostat": "521725513861"
}
}- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Visibility to Ecobee Data
Yeah, so Indigo doesn't have a thermostat mode like that, so it's mapped to the standard "heat" mode.
Create an enhancement request issue on GitHub and I'll add a new state with the raw HVAC mode. https://github.com/FlyingDiver/Indigo-Ecobee-2/issues
Create an enhancement request issue on GitHub and I'll add a new state with the raw HVAC mode. https://github.com/FlyingDiver/Indigo-Ecobee-2/issues
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Visibility to Ecobee Data
will do. thanks!FlyingDiver wrote:Yeah, so Indigo doesn't have a thermostat mode like that, so it's mapped to the standard "heat" mode.
Create an enhancement request issue on GitHub and I'll add a new state with the raw HVAC mode. https://github.com/FlyingDiver/Indigo-Ecobee-2/issues
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Visibility to Ecobee Data
Added 'hvacMode' custom state:
Which can be used in a trigger:
I need to finish uploading to GitHub and then update the store.
Which can be used in a trigger:
I need to finish uploading to GitHub and then update the store.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Visibility to Ecobee Data
Working great for me. Thanks again for the help!
Re: Visibility to Ecobee Data
How would I et a look at any f these device state values in a python script ?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Visibility to Ecobee Data
https://wiki.indigodomo.com/doku.php?id ... vice_stateSearchCz wrote:How would I et a look at any f these device state values in a python script ?
Code: Select all
# get the device
dev = indigo.devices[23989834] # Some custom device
# access the state through the states property, use the key
# that's displayed in the Custom States tile on the main window
# when you have a custom device selected
print dev.states["someDeviceStateKey"]
# show all the device states (use unicode() to print special chars correctly):
print unicode(dev.states)
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177