Yes, exactly like that. Eg
I did some more testing, and off seems to work, it’s just heat/cool mode states that don’t update.
Yes, exactly like that. Eg
I did some more testing, and off seems to work, it’s just heat/cool mode states that don’t update.
Does setting the modes using the drivers setThermostMode command work correctly with commandRetry enabled?
I'm unable to locate my zen stat.
We may need to take this off line so I can have a look at your engineering logs as well as enabling some internal logging.
Good question, it’s Saturday tomorrow, so I’ll test it then for you.
I do find it interesting that command retry worked perfectly prior to 2.4.2.x - where there some major changes made to how it works?
Yes, parts of it were re written, specifically how it deals with multiple supported commands being sent to a given device within the retry window.
Prior only the first command sent was entered into the retry Q, and other commands sent whilst that command was queued were ignored. In some cases this caused issues, specifically rapidly toggling on/off would usually command the device to be in the opposing state.
CommandRetry now clears out the pending command and Qs the most recent command.
There were also some issues evaluating decimal numbers in regards to current state.
Command retry will ignore commands if the device is already in the requested state.
I'm now wondering if that's what's happening with your rule since you're setting the mode and the setpoint virtually concurrently.
That scenario I should be able to test.
Good point, all of my HVAC rules send mode and set point at the same time.
I had added a delay between commands in my rules. I not longer use the Zen thermostat, using a KONOz instead with the rules providing control not only for heat or cool, but for mode since the KONOz does not have an automatic changeover mode. The screenshot details the delay between commands.
I do something similar, I use the RM “repeat while” function with a 10 second delay. It basically gives your own command retry in rules.
Command retry itself is great for changing set points manually, especially when you have unreliable devices like the Zen thermostats.
Working on an update to support this...
Thanks Mike.