Accessing Sonoff TRVZB parameter value

I’ve had some help from the Drayton Wiser HA Integration, to access a temperature value in a radiator TRV. The entity doesn’t appear anywhere in HA, (at least, I can’t find it), it seems you just have to know how to access it.

So:
{{ state_attr(‘sensor.wiser_itrv_lounge_1_signal’,‘temperature’) }}

provides the temperature value from my iTRV lounge 1 device.
Logically, I would think this would provide the Zigbee signal level, with a ‘temperature’ tag somehow. But it doesn’t. It actually provides the temperature.

Can this be done also for a Sonoff TRVZB device?
I use some with the ‘Use External Temperature Value’ selected, to enable better temperature control, but would also like to access the built in (Internal) temperature value.

I’ve tried a few variations on:-
{{ state_attr('number.sonoff_trvzb_external_temperature_sensor_value,‘temperature’) }}

but the result is always ‘unavailable’.

Can anyone give info on the correct syntax or maybe it’s not accessible?

Look here to see what attributes are available.
Open your Home Assistant instance and show your state developer tools.

Thanks for that.
I had looked there before, but was confused by the ‘signal’ part of the Wiser parameter name. I’ve now looked at the Sonoff version and the pennies dropped. :slight_smile: So I understand a little more and I’ve managed to access the temperature value.

Unfortunately, when ‘External Temperature’ sensor is selected, it seems to provide the temperature value it was supplied with, from the external sensor, not it’s internal one.

So unless someone knows any more about these, I guess I’m out of luck.
:frowning:

1 Like