What causes a rule to be evaluated?

I look at the states of variables and they should fire but don’t. If I push the run button they work correctly. But they will sit on their own and do nothing. Is there some setting for polling frequency?

Variables used within rules only update if the rule is triggered or you manually run the actions. Even then, sometimes you have to refresh your browser to see changed values.

Please share a screenshot of your rule so the community can help troubleshoot it.

Rules are only run when their TRIGGER is fired. Typically this is when a device changes state, or a time-based periodic event occurs.

3 Likes

. This is a sample. Thanks!

So, if the current trigger is TRUE, then it will need to change to FALSE and the. Back to TRUE before the actions will run again. A trigger must change to TRUE for the actions to be run.

While developing a rule, you can always manually run the actions to test them, in case it is difficult to force the trigger to become true.

6 Likes

Hubitat is an event driven hub. The triggers subscribe to the device events, which are sent out whenever an attribute is updated in a device. So, the rules do not check if they should run, they are basically just sitting there waiting to respond to an incoming event they are subscribed to.

1 Like

Aren’t temp changes considered events?

Of course they are. But the condition you have set for the trigger to function ensures it will work once and only once - as explained by @ogiewon above. Essentially when the rule triggers, the condition becomes false by virtue of the actions of that rule.

To get a second temperature change to work as a trigger, you need that condition to become true again.

Yes, you could create a rule that is triggered if temperature changes by more than 2% or something like that, or if it just changed at all.

When it triggers, it becomes false because the state change in the mode brings about what are somewhat reciprocal setpoints in the stat.

Then a sibling rule acts similarly to flip the mode back when appropriate.

It is looking like it works as intended, just with more delay than I expected to see. I put in an intentional delay now to avoid any chatter that could occur, and they work fine together.

Which Ecobee integration are you using? If one of the cloud integrations, then a delay should be expected. If you have a C8-Pro hub, then using the HomeKit Controller integration would be much faster and it is 100% local.

I am just using ecobee suite. never considered anything Homesuite. I don have a C8 pro. Can I just load up the homesuite integration and use it directly, without homesuite itself?

Thanks! Learning….

You typed "Homesuite" three times - so just want to verify that you actually mean HomeKit, correct?

The reason I ask is because there is a community developed Ecobee cloud integration called "Ecobee Suite". It has more functionality than Hubitat's original Ecobee cloud-based integration but still suffers from the delays of using the cloud and having to periodically poll the cloud for status updates.

Hubitat's "HomeKit Controller" integration is ONLY available on the C8-Pro hub. The additional CPU and Memory requirements need the upgraded specs of the C8-Pro hub to run properly. This integration allows for devices that natively support the HomeKit protocol to be directly paired with the Hubitat C8-Pro hub. The user does not need any Apple devices in order to use this feature. Think of HomeKit as a communications protocol like Zigbee, Z-Wave, or Matter.

Note: Hubitat also has a "HomeKit Bridge" integration which works on most geenrations of HE hubs. This integration is used to share Hubitat hub connected devices to Apple Home (Apple's home automation platform.) This does require the user to have Apple devices (iPhone, Mac, AppleTV, iPad, HomePod, etc...) to be of any use.

I am curious why you don't just let the Ecobee thermostat handle the changeover from Heat to Cool automatically? I have been using a pair of Ecobee thermostats for years, and once I dialed in the Ecobee configuration settings, I haven't needed to touch my thermostats. I leave them both set to "AUTO" so they handle heating and cooling duties automatically. The only manual intervention I take is when we go on vacation, and I set to the thermostat to Vacation mode to save electricity.

1 Like

Same here... :slight_smile:

1 Like

I use HE to set the thermostat heat/cool settings to a wide range when outside doors are left open or when everyone has left the house to prevent wasting the money cooling the outside world or an empty house.

1 Like

Yep, I completely understand using HE to control the Ecobee for doors/windows being left open or when the house is vacated. But, that is not what the OP showed they were doing... :thinking:

I would worry that their home might get stuck in heating or cooling mode if their HE hub was to go down for an extended period of time (or Ecobee's cloud service is down.) IMHO, letting the thermostat deal with automatic changeover from heat to cool is the safest way to safeguard the house from extremes in low temps (e.g. freezing pipes, pets suffering) or high temps (e.g. pets suffering, high humidity leading to mold growth, etc...)

2 Likes

if it gets stuck in one or the other mode, nothing really bad happens. It’s as if someone forgot to flip the switch in 1980. Then I either manually do it, or eliminate the stat from the Wi-Fi and go back to the stat.

This isn’t about economics for us. I do building efficiency for work, and know I’m not going to move the needle enough to care. The whole thing is about goofing with a different kind of automation, convenience and comfort. In the case of ecobee, I don’t like the way the temp spread works, and want to do it based on humidity, temp, and at some point goof with OAT and OAH and consider a makeup damper. Right now, I’m still just playing with it.

I liked that in my old house if my upstairs master bath used more than 2gal in 1 minute in the morning, the downstairs hvac used different setpoints, lighting did its thing and my coffee pot came on.

I do appreciate all of the help and suggestions!