Hello,
I know there are many topics about this, but with all information in other posts (new+old) I still can’t get openhab to read actual data from my inverter (Sunny Boy SMA).
In the inverter settings the modbus is enabled. The Modbus binding is installed.
The readout is “-NaN” except the “Actual Power” is always fixed to 2147483648.
Any help appreciated.
Hans
modbus.things :
Bridge modbus:tcp:localhostTCP [ host="10.0.0.78", port=502, id=2 ] {
Bridge poller inputRegisters [ start=30775, length=2, refresh=1000, type="input" ] {
Thing data input30775 [ readStart="30775", readValueType="uint32" ]
}
Bridge poller inputRegisters [ start=30517, length=4, refresh=1000, type="input" ] {
Thing data input30517 [ readStart="30517", readValueType="uint64" ]
}
Bridge poller inputRegisters [ start=30513, length=4, refresh=1000, type="input" ] {
Thing data input30513 [ readStart="30513", readValueType="uint64" ]
}
Bridge poller inputRegisters [ start=30783, length=2, refresh=1000, type="input" ] {
Thing data input30783 [ readStart="30783", readValueType="uint32" ]
}
}
modbus.items :
Number Input30775 "Actual Power W" { channel="modbus:data:localhostTCP:inputRegisters:input30775:number" }
Number Input30517 "Daily Yield Wh" { channel="modbus:data:localhostTCP:inputRegisters:input30517:number" }
Number Input30513 "Total MWh" { channel="modbus:data:localhostTCP:inputRegisters:input30513:number" }
Number Input30783 "Volt V" { channel="modbus:data:localhostTCP:inputRegisters:input30783:number" }