25.10.2024, 07:43
You should add "datatype" entries where applicable. This is the modbus register type which can be different from the object (bus_datatype).
For On/Off you should set "datatype": "uint16", "bus_datatype": "bool" since it only has two states: 0/1.
For temperature values use "datatype": "int16", "bus_datatype": "float16", "value_multiplier": 0.1
For On/Off you should set "datatype": "uint16", "bus_datatype": "bool" since it only has two states: 0/1.
For temperature values use "datatype": "int16", "bus_datatype": "float16", "value_multiplier": 0.1