I’m running OH 2.1 on a raspberry pi 3and have the DSMR binding installed. No things can be added and the log contains the following:
19:46:01.641 [INFO ] [ab.binding.dsmr.internal.DSMRBinding] - dsmr:portsettings setting is empty. Ignored
19:46:01.644 [WARN ] [ab.binding.dsmr.internal.DSMRBinding] - Invalid value 1.0 for dsmr:gas.channel. Ignore mapping!
java.lang.NumberFormatException: For input string: "1.0"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[:1.8.0_121]
at java.lang.Integer.parseInt(Integer.java:580)[:1.8.0_121]
at java.lang.Integer.parseInt(Integer.java:615)[:1.8.0_121]
at org.openhab.binding.dsmr.internal.DSMRBinding.updated(DSMRBinding.java:220)[199:org.openhab.binding.dsmr:1.10.0]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1772)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
19:46:01.648 [INFO ] [ab.binding.dsmr.internal.DSMRBinding] - dsmr:water.channel setting is empty
19:46:01.652 [INFO ] [ab.binding.dsmr.internal.DSMRBinding] - dsmr:heating.channel setting is empty
19:46:01.654 [INFO ] [ab.binding.dsmr.internal.DSMRBinding] - dsmr:cooling.channel setting is empty
19:46:01.656 [INFO ] [ab.binding.dsmr.internal.DSMRBinding] - dsmr:generic.channel setting is empty
19:46:01.658 [INFO ] [ab.binding.dsmr.internal.DSMRBinding] - dsmr:slaveelectricity.channel setting is empty
I’ve set the correct serial port through the bindings configuration (/dev/ttyUSB0).
My “slimme meter” is a Kaifa MA304.
Any suggestions how to fix this would be greatly appreciated!
Edit: I hooked it up to a Raspberry with Domoticz ans there it works. The Domoticz log shows it is DSMR 4.2. Maybe that is the problem?