Trigger Based on Last Status Update
Trigger Based on Last Status Update
Is it possible to add an ability to trigger based on any changes under "Last Update" status?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger Based on Last Status Update
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Trigger Based on Last Status Update
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.
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.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger Based on Last Status Update
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Trigger Based on Last Status Update
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?
Is it possible to pull the "hold" status from the thermostats?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger Based on Last Status Update
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:
And when the hold ends, you get this:
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.
Code: Select all
"latestEventType": "hold",
Code: Select all
"latestEventType": "template",
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger Based on Last Status Update
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Trigger Based on Last Status Update
Excellent! Just what I needed. Thank you.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger Based on Last Status Update
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177