Hi,
I have a SMA inverter that gives different code numbers depending on status via modbus.
Address: 30201
303=OFF
307=OK
455=Warning
35=FAULT.
I would like to convert it to 1bit signals and make up 4 different group addresses, one for each signal. What is the best solution for this? Is it possible to convert it in the json file? Or is it better to make a script?
"name": "Status of device",
"bus_datatype": "uint32",
"type": "register",
"address": 30201,
"datatype": "int32"
Any help is much appreciated.
Peter
I have a SMA inverter that gives different code numbers depending on status via modbus.
Address: 30201
303=OFF
307=OK
455=Warning
35=FAULT.
I would like to convert it to 1bit signals and make up 4 different group addresses, one for each signal. What is the best solution for this? Is it possible to convert it in the json file? Or is it better to make a script?
"name": "Status of device",
"bus_datatype": "uint32",
"type": "register",
"address": 30201,
"datatype": "int32"
Any help is much appreciated.
Peter