I'm trying to write Modbus Registers in to my Kostal Plenticore inverter, since the official integration is very limited and apparently is barely maintained. I alread read a lot of registers from the Modbus, like this:
sensors:
- name: pmod.PCB_temp
slave: 71
address: 98
data_type: float32
input_type: holding
device_class: temperature
unit_of_measurement: °C
swap: word
precision: 1```
I've written a plenticore.yaml for this and have been running that for quite some time now.
However, i would like to have the charge and discharge limits controllable. At least manually, preferably to be used in an automation at a later point.
Interestingly, the official integration let's me change the point, at which the battery kicks in (though, it doesn't "kick in", it completely takes over the power delivery)
I have all the registers what to write where, but i'm having a lot of difficulties getting it to work in HA, i'm not even sure how i have to write the "action", that is mentioned in the modbus documentation.