Gas Boiler Control with Popp TRVs

Hi Everyone,

I have a condensing gas boiler which I can control with a ON/OFF input.
I bought a Popp zigbee trv for testing. If the testing goes well, I will buy 5-6 more.
What I’d like to achieve is to be able to separately control the temperature in different rules using a simple automation:

  • if any of the trvs require heating - turn the gas boiler ON
  • if none of the trvs require heating - turn the gas boiler OFF

My definition of “requires heating” is: the heating setpoint is greater than the temperature measured by the trv.

I’m not able to create an automation that would compare these two values. The only options I see is to compare either the heating setpoint or the measured temperature against a fixed value (e.g. “heating setpoint >= 19” or “measured temperature <= 21”).

Is there a way to create such an automation?

Thanks

You can use Rules API

Allow access