The nest device is an Indigo thermostat. The trigger is against a standard device attribute. You can't get the "Becomes greater than" on the popup for a string type.autolog wrote:Chipping in![]()
I suspect that might be because the state you are comparing against is a text string of '79 F' and therefore not numeric?
Is there a numeric only custom state that you can compare against?
Trigger based on current ambient temperature?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger based on current ambient temperature?
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 current ambient temperature?
What's in the "Conditions" tab?mikejandreau wrote:Doesn't look like this is working, unfortunately.
You can see in the top of my screenshot that my Office Thermostat is 79F now and my Trigger is "Becomes Greater than 78" but my trigger didn't trigger.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
-
mikejandreau
- Posts: 79
- Joined: Thu Jul 07, 2016 1:16 pm
Re: Trigger based on current ambient temperature?
So how can I accomplish this then?The nest device is an Indigo thermostat. The trigger is against a standard device attribute. You can't get the "Becomes greater than" on the popup for a string type.
Nothing too fancy. Just a variable being true and a time check (for when I'd be in my office).What's in the "Conditions" tab?
- Attachments
-
- gbzgg.png (132.97 KiB) Viewed 4003 times
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger based on current ambient temperature?
When you have the Nest selected in the device list, drag up on the little "dimple" just at the top of the device details pane:mikejandreau wrote:Not sure what you mean by "window beneath the Thermostat Controls".
Can you elaborate on what window I should be looking in here?
- Attachments
-
- Screen Shot 2019-07-12 at 10.42.29 AM.jpg (17.66 KiB) Viewed 4003 times
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 current ambient temperature?
Are you sure both of those are true while you're testing?mikejandreau wrote:Nothing too fancy. Just a variable being true and a time check (for when I'd be in my office).What's in the "Conditions" tab?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
-
mikejandreau
- Posts: 79
- Joined: Thu Jul 07, 2016 1:16 pm
Re: Trigger based on current ambient temperature?
Yep. 100% positive.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger based on current ambient temperature?
You're doing it right, but something is keeping the trigger from firing.mikejandreau wrote:So how can I accomplish this then?The nest device is an Indigo thermostat. The trigger is against a standard device attribute. You can't get the "Becomes greater than" on the popup for a string type.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Trigger based on current ambient temperature?
That won't work because it's a string.mikejandreau wrote:I don't think so. But I'll try changing my trigger to "78 F" and see if that does anything.
How did you test it? Are you sure that the temp actually did change from 77 to 79 while the trigger was active and configured correctly?mikejandreau wrote:You can see in the top of my screenshot that my Office Thermostat is 79F now and my Trigger is "Becomes Greater than 78" but my trigger didn't trigger.
Zone 1 Temperature is the standard field for single zone/sensor thermostat devices when referencing the temp as a number. As I said, I don't know anything about how the Nest works, so I can't say for sure that's the correct state.
I did just create a trigger as your trigger is configured and it worked correctly. Disable your conditions just to ensure that the trigger is actually firing.
-
mikejandreau
- Posts: 79
- Joined: Thu Jul 07, 2016 1:16 pm
Re: Trigger based on current ambient temperature?
Yep, I triple checked that the variable was True, the Nest Device reads 79 in Indigo, and the time is between my time range. The Trigger is active.How did you test it? Are you sure that the temp actually did change from 77 to 79 while the trigger was active and configured correctly?
I'm stumped. Every bit of logic in my brain says this should work, but it doesn't, hence my post for help here.Zone 1 Temperature is the standard field for single zone/sensor thermostat devices when referencing the temp as a number. As I said, I don't know anything about how the Nest works, so I can't say for sure that's the correct state.
I did just create a trigger as your trigger is configured and it worked correctly.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Trigger based on current ambient temperature?
The trigger isn't going to fire until the nest temp crosses the 79 degree threshold again. So, for testing, if the temp is still at 79, change the trigger to look for >79 and wait until it does. Disable the conditions just to make sure that it's actually firing, then you can turn the conditions back on.mikejandreau wrote:the Nest Device reads 79 in Indigo
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger based on current ambient temperature?
Is it possible the temperature was already over 78 at 7am? IOW, it crossed the threshold before that condition was true?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
-
mikejandreau
- Posts: 79
- Joined: Thu Jul 07, 2016 1:16 pm
Re: Trigger based on current ambient temperature?
This is what I mentioned earlier might be happening.
The "Becomes great than X" requires it to go above X. But I don't think the plugin polls the thermostat enough. Sometimes it jumps from 77 to 80 and never reads 78 or 79 in Indigo.
Ideally, the condition would be "is greater than".
I removed the conditions to see if that's the culprit (though I don't think it is).
As a workaround, I guess I could duplicate the Trigger and have it look for "Becomes greater than 77, 78, 79"
The "Becomes great than X" requires it to go above X. But I don't think the plugin polls the thermostat enough. Sometimes it jumps from 77 to 80 and never reads 78 or 79 in Indigo.
Ideally, the condition would be "is greater than".
I removed the conditions to see if that's the culprit (though I don't think it is).
As a workaround, I guess I could duplicate the Trigger and have it look for "Becomes greater than 77, 78, 79"
Nope, it was 77 this morning when I came into my office. Stupid electronics running 24/7.Is it possible the temperature was already over 78 at 7am? IOW, it crossed the threshold before that condition was true?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Trigger based on current ambient temperature?
Does the Nest log temperature changes? If not, you might want to set up a trigger that fires on any change in that value and logs it. Then you would have a way to see how often Indigo sees that temperature change.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Trigger based on current ambient temperature?
NO. Becomes greater than 78 is the correct terminology and the correct implementation because it works in any of the following example before and after scenarios:mikejandreau wrote:The "Becomes great than X" requires it to go above X. But I don't think the plugin polls the thermostat enough. Sometimes it jumps from 77 to 80 and never reads 78 or 79 in Indigo.
Ideally, the condition would be "is greater than".
- 78->79
- 77->79
- 77->80
- 65->100
Again, HOW ARE YOU TESTING THIS? The only way to test the trigger is to make the boundary get crossed. So if the current temp is already 79 or higher, the trigger isn't going to fire until the next time the temp is below 79 then changes to be greater than or equal to 79.
-
mikejandreau
- Posts: 79
- Joined: Thu Jul 07, 2016 1:16 pm
Re: Trigger based on current ambient temperature?
I get what you’re saying now Jay. I’ll run with that.
As for testing, I manually turned the air conditioner on to cool my office. Then turned it off and let the temperature climb back up to 79.
As for testing, I manually turned the air conditioner on to cool my office. Then turned it off and let the temperature climb back up to 79.