Rule Machine not updating Thermostat Scheduler correctly?

@bravenel I believe there is an issue somewhere when using Rule Machine to set temps in Thermostat Scheduler.

As we've discussed before, I have TS set to operate by mode:

I want Home mode cooling setpoint to change from 78 to 76 at 6:30AM on weekdays, then go back to 78 at 8:30AM. I have a rule set up to do this, but something in the way Rule Machine is updating Thermostat Scheduler is not making sense to me.

Rule Machine rule:

RM True/False events are correct:

Thermostat Scheduler events show that the Home Cooling Setpoint was not updated to 76 until 7:12 AM, which is when mode changed to Home this morning. This should have updated at 6:30 even though mode was not Home, correct?


Mode change:

Then at 8:30 when the RM rule changed to False, the Home Cool setpoint should have gone to 78, but it looks like it was set to 76 again.

Is this a bug?

I'm not seeing what's wrong. The Home setpoint was updated at 6:30, when the mode was Night. Then at 7:12 Mode became Home, and the updated setpoint was put into the thermostat. Isn't that what you expected?

If you're just wanting to override TS between 6:30 and 8:30, what does Home mode have to do with it?

The net result of this part is fine, I guess this was more of a question of if this is what I should be seeing.

The part that did not work correctly was that the cooling setpoint did not go back to 78 at 8:30 while the mode was Home.

Ah, I missed that part of your post. Yes, that looks like a bug, and I think I know what is causing it. It's sort of a race condition between changing the Home setpoint setting and updating the the thermostat. I will figure out a fix.

The first part of your post, wrt setting it to 76 all appears as it should.

2 Likes

@bravenel

I'm revisiting this to see how I can make this my main heating control. I've modified one of my RM rules to adjust the temperature settings in Thermostat Scheduler. It changes the "Day" temp from 15 to 19 C. After it ran, I opened the app to check the temperatures had changed but the summary page still showed the previous temperature settings (15). If I expand the displayed settings as if to edit them, the new temperature (19) is shown correctly and clicking done then updates the summary display. Is this expected behaviour? I was hoping that the app would show the current settings on the first page without having to go into it and hit done. (the app page was not opened until after the temperature changes occurred). EDIT sorry should have said I'm running 2.0.4.102.

I need a little help on creating a rule that will reset thermostats based on a master thermostat. I am not able to effect setpoint changes.
this is the RM code snip.
Screenshot 2020-10-14 175701

this is the log of what happens.

Comfort is a Zen Tstat (366) running the default driver.
DC6000HC is a Honeywell Tstat (377) on my ST hub and uses HubConnect Thermostat driver.

Problem is setpoints are not being set whether using tstat scheduler, tstat direct set or even via a custom instruction.
And I have the same problem if I try using a Remotec ZXT-600 and the default driver (325).

please point me in the right direction.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.