Moes pilot wire thermostat
This pilot wire module (RP5Z-PM-MS, ZHT-PT01 in Zigbee2MQTT) exposes a climate entity, but it cannot be used directly by VTherm:
- the state of the
climateisheatand not the active preset, so the command customization ofover_switchcannot know if the radiator is heating; - with the Tuya integration, the module only exposes the
heat_coolmode, which also rules outover_climate.
Installation with a virtual switch
- Create a template switch: Settings > Devices & services > Helpers > Create helper > Template > Switch.
- Use the preset of the module as the state of the switch, for example
{{ is_state_attr('climate.my_module', 'preset_mode', 'comfort') }}. - For the turn on action, call
climate.set_preset_modewith thecomfortpreset. For the turn off action, call it with theantifrostpreset. - Create a VTherm
over_switchon this switch, as described below.
The preset names above are the ones exposed by Zigbee2MQTT. Check the preset_modes attribute of your entity in Developer tools > States and use the exact same names.
NOTE
Because a virtual switch is required, this device is partially compatible.
Device configuration
Initialization
Go to your settings, then integrations, then click on add a new integration. Search for Versatile Thermostat.
Click on Thermostat over a switch.
Basic attributes
Go to the "Main attributes" section.
- Choose a name for your thermostat
- Set the temperature sensor for your room
- If you are using the Zigbee protocol and you have a "last_seen" entity for your temperature sensor, fill it in.
You can validate and return to the configuration menu.
Underlying entities
Go to the underlying entities section.
- Add the switches that will be controlled
You can validate and return to the configuration menu.