Hi all,
Sorry for the long post but this is perplexing me !
I have 6 Sonoff TRVs talking to ZHA and a separate ZigBee relay driving my combi boiler (with a few outboard failsafes built in for good measure)
I can see my TRVs calling for heat (turn orange on my dashboard) with high reliability:
I added a smart boiler relay activation “bulb” at the top of the dashboard whilst debugging.
I can manually activate the smart boiler relay by switching it on / off, with 100% reliability so I am sure its not an RF path issue (verified with a spectrum analyser)
But despite trying several methods for automating the “boiler on” action, it seems that:
-
HA intermittently detects when 2 or more TRVs call for heat, but not 1;
-
I can turn the relay off reliably when the last TRV changes hvac_state to ‘idle’;
So it has to be my “turn on the boiler” automation right ? well this is what it currently looks like:
all very simple - I understand from forum posts here (yes I did read up before posting) that each action under “WHEN” is treated as an “OR” condition not an “AND”
My WHEN condition is completely built from the visual editor:
and as you can see “Idle” and “Heating” are two natively supported states.
of my Sonoff TRVs
If I manually trigger the action, the boiler relay clicks in and everything starts to heat, but if I save it and leave it …well…I currently have 4 TRVs calling for heat and the boiler relay is off . I manually “kickstart” the boiler relay - the house gets up to temperature and the Boiler_OFF automation shuts it down when the last TRV transitions to “Idle”
So I tried a slightly more “generic” approach
The idea of this was if any climate entity sets its ‘hvac_action’ to ‘heating’
then the relay is turned on.
This never triggers at all ! I’ve compared the YAML of the first approach so I am fairly confident that I can rule out syntax of capital “I” or “H” or “HVAC” and the script passes YAML verification.
So is there some unknown to me Hysteresis factor in generic_thermostat ?
I dont believe there is as on the thermostat dashboard the state change gets detected 100% just that the first automation approach doesnt trigger the relay reliably , and the second approach doesnt trigger it at all.
Any suggestions as to a more reliable way to detect the hvac_action ot the TRV please ? as to my old eyes, this “should” be straightforward ?
Surely I dont need one boiler on automation per TRV ?
Many thanks in advance
Regards
The Perplexed
BB





