#modbus climates, help needed

1 messages · Page 1 of 1 (latest)

gentle ridge
#

I've connected my heat pump through a modbus TCP dongle and read access is working super fine. Even being new to HA I configured myself a nice dashboard. However, I have a few questions.

  1. My heat pump needs a heating setting and a cooling setting, each in a different register. I read, that this is possible to achieve, but I can't get it to work. The modbus integration's explanation is written by people with in depth knowledge for people with the same level of knowledge.
  2. I wonder what I have to do to be able to expand a sensor to be a writeable register with a numeric value? I could use a binary sensor write to do an error reset on the system, but that just needs a write cycle to the error reset register.
  3. Is there an option to write a single value with a button? The error register just needs a single write of a 1 and resets itself. So instead of flipping the switch low -> high -> low, is there a button to press? Or do I have to do all of that through actions?
  4. Is it possible to add the matching icon right at the mod bus definition file instead of manually selecting the symbols for a value?
potent widget
#
  1. I think from reading the docs (haven't done this personally) that you just have to define the register to write to as a list - I.e
target_temp_register:
  - 123
  - 456
...

Just need to make sure you list 7 registers total, even if some are the same

  1. I don't understand what you mean by this, sensors aren't writeable
#
  1. I don't believe so, but you could make a template button helper with action of turn the modbus switch on and use that or call the modbus write coil action directly
#
  1. Pretty sure they just use Default icons for the device class so no
gentle ridge
#

Thank you! I just tried
target_temp_register: [4098, 4099, 4098, 4098, 4098, 4098, 4098]
What seems to work as well?

potent widget
#

Yeah that's a different syntax, should work too

gentle ridge
#

But I have another question, sorry...
My system reports some of the states in bits, not in state values. So I tried something like this:
fan_mode_register:
address: 4355
values:
state_fan_on: {{ value | int(0) | bitwise_and(8192) > 0 }}
state_fan_off: {{ value | int(0) | bitwise_and(8192) == 0 }}
It doesn't seem to harm but there is also no Fan symbol shown, or whatever should happen.

#

An finally, as the indoor temperature sensor is not working, because of a bug in the units software, can I add a different instance from something like a shelly there, or is that only possible in the climate view yaml code itself?

potent widget
#

I don't know the answer to the first
The second - no, I don't think so. You'd have to either rebuild the climate entity from scratch with a generic thermostat, or use something like the versatile thermostat integrating to make a "wrapper" climate entity to integrate additional sensors

gentle ridge
#

I guess it is okay the way it is. The climate control sets the outlet temperature set point and shows the current outlet temperature. That is fine. I can add any sensor to the dashboard anyways.

The only open point is, how I make values writable in the modbus entity. It's probably very easy, but I don't get my head around it...

violet ledge
#

hello I want to add a 16 switches using TCP 485 and modbus. But I want use transparent transmission,the code for on is 01050000FF009835 off is 010500000000D9C5, how to configure the configuration yml