Replies: 3 comments 4 replies
-
|
Just curios, is your SONOS TRVZB a proper TRV which presents a climate entity to HA? Glad to be proven wrong, as I landed here to try to connect with my Tuya TS0601_thermostat which only has a climate entity but no switch. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, yes it is and I think you are correct as I want able to get this working and gave up. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, if your valve is controlled as a thermostat in HA, you can create an input_boolean helper and use it for the heater entity in the smart thermostat, then use an automation to force the setpoint of the TRV either very high or very low to force it on or off, like this: alias: Chauffage chambres
description: ""
triggers:
- entity_id:
- input_boolean.chauffage_chambre_parentale
- input_boolean.chauffage_chambre_apolline
- input_boolean.chauffage_chambre_adonis
trigger: state
- minutes: /30
trigger: time_pattern
conditions:
- condition: state
entity_id: climate.netatmo_couloir
attribute: preset_mode
state: schedule
actions:
- if:
- condition: state
entity_id: input_boolean.chauffage_chambre_adonis
state: "on"
then:
- data:
temperature: 25
target:
entity_id: climate.netatmo_chambre_adonis
action: climate.set_temperature
else:
- data:
temperature: 14
target:
entity_id: climate.netatmo_chambre_adonis
action: climate.set_temperature
- if:
- condition: state
entity_id: input_boolean.chauffage_chambre_apolline
state: "on"
then:
- data:
temperature: 25
target:
entity_id: climate.netatmo_chambre_d_apolline
action: climate.set_temperature
else:
- data:
temperature: 14
target:
entity_id: climate.netatmo_chambre_d_apolline
action: climate.set_temperature
- if:
- condition: state
entity_id: input_boolean.chauffage_chambre_parentale
state: "on"
then:
- data:
temperature: 25
target:
entity_id: climate.netatmo_chambre_parentale
action: climate.set_temperature
else:
- data:
temperature: 14
target:
entity_id: climate.netatmo_chambre_parentale
action: climate.set_temperature
mode: parallel
max: 10But I strongly recommend you to add a small temperature sensor to be used by the smart thermostat, and place it far from the radiator so the smart thermostat can monitor the real ambient temperature. Valves being on the radiators, their sensor can't monitor ambient temperature correctly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey All,
Im trying to get this to work with a specific thermostat at the moment as a test.
Firstly i installed Smart Thermostat PID via HACS, no issue there.
Then i installed the following code via climate.yaml (linked to via configuration.yaml with climate: !include climate.yaml)
The TRC is a SONOS TRVZB in case thats relevant.
With the code above, i see my TRV in the dashboard as, "Smart Thermostat Single ON/OFF Heater Example" as expected, it also picks up the current temperature of the sensor in the thermostat, i assume from target_sensor:.
Moving the controls pas the current sensor temp changes the thermostat to heating but checking number.my_office_thermostat_valve_opening_degree the value does not seem to be changing.
Looking into developer tools - states - number.my_office_thermostat_valve_opening_degree it stays at 100 and i can also see that same value set in Zigbee2MQTT on the thermostat itself.
So im not sure what i am doing wrong here, should Smart Thermostat PID be controlling that value and opening the valve for that thermostat or have i funimentally just misunderstood something?
My understanding is that by adjusting the target temperature in the dial, the valve_opening_degree value will change (its default at 100 - fully closed - should it drop gradually down to 1?) - is that correct?
Beta Was this translation helpful? Give feedback.
All reactions