Trigger Based on Last Status Update

ukie
Posts: 69
Joined: Fri Oct 15, 2010 4:27 pm

Trigger Based on Last Status Update

Post by ukie »

Is it possible to add an ability to trigger based on any changes under "Last Update" status?
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Trigger Based on Last Status Update

Post by FlyingDiver »

That should be doable. Can you please create a request here: https://github.com/FlyingDiver/Indigo-Ecobee-2/issues
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
ukie
Posts: 69
Joined: Fri Oct 15, 2010 4:27 pm

Re: Trigger Based on Last Status Update

Post by ukie »

Done.
In practice, what I am trying to accomplish is monitor whether a thermostat is operating "on schedule" or in manual override.
So if the temperate is changed manual, outside the scheduled comfort setting, Indigo would be aware of this.
If this is possible to do in a simpler fashion, please advise.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Trigger Based on Last Status Update

Post by FlyingDiver »

I can see what you're trying to do, but I'm not sure it's possible even if you had the trigger. Unless you were comparing the current setpoint to the expected setpoint which you're remembering elsewhere. I don't currently have anything that shows whether the stat is in a hold mode or not.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
ukie
Posts: 69
Joined: Fri Oct 15, 2010 4:27 pm

Re: Trigger Based on Last Status Update

Post by ukie »

Yes, that is what I'm doing. I'm monitoring if there is any temp change.
Is it possible to pull the "hold" status from the thermostats?
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Trigger Based on Last Status Update

Post by FlyingDiver »

There isn't a specific hold status. There is a "last event" item. From looking at my logs, it looks like manual change (which creates a hold) reports this:

Code: Select all

        "latestEventType": "hold",
And when the hold ends, you get this:

Code: Select all

        "latestEventType": "template",
So I can probably expose that "latestEventType" as a state, and then you could trigger on it changing. There might be other values as well. I would need to see what it does with vacations, etc.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Trigger Based on Last Status Update

Post by FlyingDiver »

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
ukie
Posts: 69
Joined: Fri Oct 15, 2010 4:27 pm

Re: Trigger Based on Last Status Update

Post by ukie »

Excellent! Just what I needed. Thank you.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Trigger Based on Last Status Update

Post by FlyingDiver »

I'm pretty sure I was able to trigger a value of "vacation" for that state, so take that into account. If you see any other values reported, let me know.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Post Reply

Return to “Ecobee”