Modbus TCP to SMA inverter

Hello,

i have some problems connecting to the SMA inverter through Modbus.
I can configure it through paperUI and that works. But if i try to do it through visualstudio code i have an error.
Tried already all kinds of things. Does somebody see the problem?

==> /var/log/openhab2/openhab.log <==
2019-10-06 15:44:51.682 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'modbus.items' has errors, therefore ignoring it: [1,1]: missing EOF at 'Bridge'
Bridge modbus:tcp:sma [ host="192.168.0.115", port=502, id=3 ] {

    Bridge poller sma30775 [ start=30775, length=2, refresh=60000, type="input" ] {
        Thing data smaPower [ readStart="30775", readValueType="uint16"]
    }


}

Through paper ui i get the parameter so it should work.

Mathieu

But you’ve shown us a Things file …

Yes stuppid mistake :slight_smile: