I am trying te read out the local_temperature value from the TuYa TS0601 valve. I have it connected via zigbee2mqtt and can control it with the generic thermostate.
For this project i want to read the local temperature from 3 valves in one (big) room, take the average temperature and use a “master” thermostate for all 3 thermostates. (one thermostate to rule them all ) To make this happen i want to use the local temperature as a sensor in HA as input for this master thermostate.
I see the local temperature in the generic thermostate card, but cannot find a way to read it as a sensor. Any help would be highly appreciated.
I understand that there is no temperature sensor created for this device? Then maybe it’s stored as attribute.
Don’t worry. Since you are using zigbee2mqtt, all data can be found. You can create your own (manually configured) mqtt sensors. Having 3 temp sensors, create another one: min_max sensor to represent average temp.
This climate device supports the following features: current_heating_setpoint, local_temperature, system_mode, local_temperature_calibration, away_mode, preset.
current_heating_setpoint: Temperature setpoint. To control publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"current_heating_setpoint": VALUE} where VALUE is the °C between 5 and 35. To read send a message to zigbee2mqtt/FRIENDLY_NAME/get with payload {"current_heating_setpoint": ""}.
local_temperature: Current temperature measured on the device (in °C). Reading (/get) this attribute is not possible.