Hi, I’m trying to create a climate entity through the home assistant modbus integration that manages fan coils. I have the entire register map available and by creating the various sensors I can easily read the values. The problem arises when I have to set the target_temperature register because based on the HVAC_MODE set, the target_temperature register changes. In fact, the fan coil uses the holding register 28310 for cooling target temperature, 28311 for heating target temperature, 28312 for automatic cooling target temperature, 28313 automatic heating target temperature. How can I handle this problem when changing the HVAC mode? It would be nice to be able to define the target_temperature_register under the definition of the hvac_mode value. I attach the yaml code that I currently use for the heating mode. Thank you
Hi, I was opening a similar request when I found this one.
I don’t know if there are devices which accept 4 registers, but for sure 2 at least for cooling and heating.
I met similar problems surfing the web and in this forum (reference example)
I think that could be useful to open this possibility.
@kneefabio , I suggest to rename the topic in “Modbus Climate: multiple target temp registers” in ordet to make it more generic. This feature, in fact, is useful also for heating pumps, not only fancoils…
Hello! This topic has not been clear to me at all. Have you managed to get the Modbus Climate to work with 2 target temps according to the work mode? I’m in the same situation as you.
The climate can address one setpoint for AUTO and another one for HEAT, but it cannot manage ECO or confort. They are internal modes of your thermostat that home Assistant will not manage…
You could map a different HVAC Home Assistant value to your Eco or confort. Probably it is not the best thing to view, but it should work.
In example:
# ACS Example Climate
- name: "ACS Example"
unique_id: "fc_acs_example"
device_address: 100
scan_interval: 32
input_type: depending on your system
address: your address for current temp
precision: 1
scale: 0.01
hvac_mode_register:
address: your reg for hvac
write_registers: depending on your system
values:
state_off: depending on your system
state_heat: depending on your system
state_auto: depending on your system -> this could be your eco
state_heatcool: depending on your system -> this could your confort
write_registers: depending on your system
hvac_onoff_register: reg, depending on your system
max_temp: 35
min_temp: 15
temp_step: 1
target_temp_register: [REG_AUTO, REG_COOL, REG_DRY, REG_FAN, REG_HEAT, REG_HEAT_COOL, REG_OFF]
target_temp_write_registers: depending on your system
fan_mode_register:
address: reg, depending on your system
values:
state_fan_off: depending on your system
state_fan_low: depending on your system
state_fan_medium: depending on your system
state_fan_high: depending on your system