21.03.2022, 13:45
(21.03.2022, 12:27)admin Wrote: Using multiple coils like this is not supported. You can use register with bitmask instead.
Would that work?
{ "name": "Heat Pump Mode bit1", "address": 33, "bus_datatype": "bool", "datatype":"uint16", "type": "register", "value_bitmask":0x2, "write_bitmask": true, "writable":true},
{ "name": "Heat Pump Mode bit2", "address": 33, "bus_datatype": "bool", "datatype":"uint16", "type": "register", "value_bitmask":0x4, "write_bitmask": true, "writable":true},
{ "name": "Heat Pump Control", "address": 33, "bus_datatype": "bool", "datatype":"uint16", "type": "register", "value_bitmask":0x100, "write_bitmask": true, "writable":true},
{ "name": "Heat Pump Inverter Mode bit1", "address": 33, "bus_datatype": "bool", "datatype":"uint16", "type": "register", "value_bitmask":0x200, "write_bitmask": true, "writable":true},
{ "name": "Heat Pump Inverter Mode bit2", "address": 33, "bus_datatype": "bool", "datatype":"uint16", "type": "register", "value_bitmask":0x400, "write_bitmask": true, "writable":true},