New DSMR-binding for OpenHAB 2

@arjveld

Thank you very much for the information. I fixed both bugs you were experiencing (configuring serialPorSettings from PaperUI was not possible and the configured serialPortSettings were not used).

The binary file you can download from the referenced github thread.

I hope you have some more success with this version.

1 Like

Hi, Iā€™m experiencing the exact same issue with the serial-port disconnecting or staying in duty_cycle. Could you point me to the referenced github thread your mentioning, iā€™m new to this suff and cannot find the download to install and test if this works. Is there a new .jar, or do i need to compile something ? Thanks in advance for your guidance :slight_smile:

Thanks for the updatet binary!
The meter is now fetching data from the meter, as well as from the gasmeter.
Buit it isnā€™'t parsed correctly as far as i can tell from the log.
Let it run overnight to see what it would do.
Log output:

2017-03-03 05:52:55.072 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 0-0:96.1.1 in the dynamic lookup table
2017-03-03 05:52:55.078 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Alive
2017-03-03 05:52:55.105 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 1-0:1.8.1 in the dynamic lookup table
2017-03-03 05:52:55.128 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 1-0:1.8.2 in the dynamic lookup table
2017-03-03 05:52:55.151 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 1-0:2.8.1 in the dynamic lookup table
2017-03-03 05:52:55.174 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 1-0:2.8.2 in the dynamic lookup table
2017-03-03 05:52:55.198 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 0-0:96.14.0 in the dynamic lookup table
2017-03-03 05:52:55.355 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 0-1:24.1.0 in the dynamic lookup table
2017-03-03 05:52:55.378 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 0-1:96.1.0 in the dynamic lookup table
2017-03-03 05:52:55.443 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 0-1:24.3.0 in the dynamic lookup table
2017-03-03 05:52:55.445 [DEBUG] [dsmr.internal.device.cosem.CosemDate] - Trying pattern: (\d{12})([S,W]?)
2017-03-03 05:52:55.446 [DEBUG] [dsmr.internal.device.cosem.CosemDate] - 170303050000 matches pattern: (\d{12})([S,W]?)
2017-03-03 05:52:55.470 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Find reducedObisId 0-1:24.4.0 in the dynamic lookup table
2017-03-03 05:52:55.471 [DEBUG] [l.device.p1telegram.P1TelegramParser] - telegramState OK, crcValue to check 0x
2017-03-03 05:52:55.472 [DEBUG] [inding.dsmr.internal.device.DSMRPort] - Received 16 Cosem Objects, telegramState: OK
2017-03-03 05:52:55.473 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Handle DSMRDeviceEvent TELEGRAM_RECEIVED in state ONLINE
2017-03-03 05:52:55.474 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Current DSMRDevice state ONLINE
2017-03-03 05:52:55.476 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Processing [Cosem Object(type:EMETER_EQUIPMENT_IDENTIFIER, cosemValues:[ZBEV005184019213]), Cosem Object(type:EMETER_DELIVERY_TARIFF1, cosemValues:[6985.659]), Cosem Object(type:EMETER_DELIVERY_TARIFF2, cosemValues:[5660.581]), Cosem Object(type:EMETER_PRODUCTION_TARIFF1, cosemValues:[0.008]), Cosem Object(type:EMETER_PRODUCTION_TARIFF2, cosemValues:[0.005]), Cosem Object(type:EMETER_TARIFF_INDICATOR, cosemValues:[0001]), Cosem Object(type:EMETER_ACTUAL_DELIVERY, cosemValues:[0.32]), Cosem Object(type:EMETER_ACTUAL_PRODUCTION, cosemValues:[0.0]), Cosem Object(type:EMETER_TRESHOLD_KWH, cosemValues:[999.0]), Cosem Object(type:EMETER_SWITCH_POSITION, cosemValues:[1]), Cosem Object(type:P1_TEXT_CODE, cosemValues:[]), Cosem Object(type:P1_TEXT_STRING, cosemValues:[]), Cosem Object(type:METER_DEVICE_TYPE, cosemValues:[3]), Cosem Object(type:METER_EQUIPMENT_IDENTIFIER, cosemValues:[24157002993108812]), Cosem Object(type:GMETER_VALUE_V3, cosemValues:[Fri Mar 03 05:00:00 CET 2017, 00, 60, 1, 0-1:24.2.1, m3, 4607.96]), Cosem Object(type:METER_VALVE_SWITCH_POSITION, cosemValues:[1])] cosem objects
2017-03-03 05:52:55.478 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Processing CosemObjects for meter Meter type: GAS_V3_0, channel: 1
2017-03-03 05:52:55.485 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Processed cosemObjects [Cosem Object(type:METER_DEVICE_TYPE, cosemValues:[3]), Cosem Object(type:METER_EQUIPMENT_IDENTIFIER, cosemValues:[24157002993108812]), Cosem Object(type:GMETER_VALUE_V3, cosemValues:[Fri Mar 03 05:00:00 CET 2017, 00, 60, 1, 0-1:24.2.1, m3, 4607.96]), Cosem Object(type:METER_VALVE_SWITCH_POSITION, cosemValues:[1])]
2017-03-03 05:52:55.486 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Processing CosemObjects for meter Meter type: DEVICE_V2_V3, channel: -1
2017-03-03 05:52:55.492 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Processed cosemObjects [Cosem Object(type:P1_TEXT_CODE, cosemValues:[]), Cosem Object(type:P1_TEXT_STRING, cosemValues:[])]
2017-03-03 05:52:55.493 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - There are unhandled CosemObjects, start autodetecting meters
2017-03-03 05:52:55.494 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type DEVICE_V2_V3 is compatible
2017-03-03 05:52:55.496 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType P1_TEXT_CODE not found
2017-03-03 05:52:55.497 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type DEVICE_V2_V3 is not compatible
2017-03-03 05:52:55.498 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type DEVICE_V4 is compatible
2017-03-03 05:52:55.500 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType P1_TEXT_CODE not found
2017-03-03 05:52:55.501 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type DEVICE_V4 is not compatible
2017-03-03 05:52:55.502 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type DEVICE_V5 is compatible
2017-03-03 05:52:55.503 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType P1_TEXT_STRING not found
2017-03-03 05:52:55.504 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type DEVICE_V5 is not compatible
2017-03-03 05:52:55.505 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_ACE4000 is compatible
2017-03-03 05:52:55.506 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_EQUIPMENT_IDENTIFIER not found
2017-03-03 05:52:55.508 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_ACE4000 is not compatible
2017-03-03 05:52:55.509 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GAS_ACE4000 is compatible
2017-03-03 05:52:55.510 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_EQUIPMENT_IDENTIFIER not found
2017-03-03 05:52:55.511 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GAS_ACE4000 is not compatible
2017-03-03 05:52:55.513 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type HEATING_ACE4000 is compatible
2017-03-03 05:52:55.515 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_EQUIPMENT_IDENTIFIER not found
2017-03-03 05:52:55.516 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type HEATING_ACE4000 is not compatible
2017-03-03 05:52:55.517 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type COOLING_ACE4000 is compatible
2017-03-03 05:52:55.518 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType CMETER_VALUE_V2 not found
2017-03-03 05:52:55.518 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type COOLING_ACE4000 is not compatible
2017-03-03 05:52:55.519 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type WATER_ACE4000 is compatible
2017-03-03 05:52:55.520 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_EQUIPMENT_IDENTIFIER not found
2017-03-03 05:52:55.521 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type WATER_ACE4000 is not compatible
2017-03-03 05:52:55.522 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type SLAVE_ELECTRICITY1_ACE4000 is compatible
2017-03-03 05:52:55.522 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_DELIVERY_TARIFF0 not found
2017-03-03 05:52:55.523 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type SLAVE_ELECTRICITY1_ACE4000 is not compatible
2017-03-03 05:52:55.524 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type SLAVE_ELECTRICITY2_ACE4000 is compatible
2017-03-03 05:52:55.525 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_DELIVERY_TARIFF0 not found
2017-03-03 05:52:55.526 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type SLAVE_ELECTRICITY2_ACE4000 is not compatible
2017-03-03 05:52:55.527 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_V2_1 is compatible
2017-03-03 05:52:55.528 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_EQUIPMENT_IDENTIFIER_V2_X not found
2017-03-03 05:52:55.528 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_V2_1 is not compatible
2017-03-03 05:52:55.529 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GAS_V2_1 is compatible
2017-03-03 05:52:55.530 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType GMETER_EQUIPMENT_IDENTIFIER_V2 not found
2017-03-03 05:52:55.531 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GAS_V2_1 is not compatible
2017-03-03 05:52:55.532 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_V2_2 is compatible
2017-03-03 05:52:55.533 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_EQUIPMENT_IDENTIFIER_V2_X not found
2017-03-03 05:52:55.534 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_V2_2 is not compatible
2017-03-03 05:52:55.535 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GAS_V2_2 is compatible
2017-03-03 05:52:55.536 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType GMETER_EQUIPMENT_IDENTIFIER_V2 not found
2017-03-03 05:52:55.536 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GAS_V2_2 is not compatible
2017-03-03 05:52:55.537 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type HEATING_V2_2 is compatible
2017-03-03 05:52:55.538 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType HMETER_EQUIPMENT_IDENTIFIER_V2_2 not found
2017-03-03 05:52:55.539 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type HEATING_V2_2 is not compatible
2017-03-03 05:52:55.539 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type COOLING_V2_2 is compatible
2017-03-03 05:52:55.540 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType CMETER_EQUIPMENT_IDENTIFIER_V2_2 not found
2017-03-03 05:52:55.541 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type COOLING_V2_2 is not compatible
2017-03-03 05:52:55.542 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type WATER_V2_2 is compatible
2017-03-03 05:52:55.543 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType WMETER_EQUIPMENT_IDENTIFIER_V2_2 not found
2017-03-03 05:52:55.544 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type WATER_V2_2 is not compatible
2017-03-03 05:52:55.545 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_V3_0 is compatible
2017-03-03 05:52:55.546 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_TRESHOLD_A not found
2017-03-03 05:52:55.547 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_V3_0 is not compatible
2017-03-03 05:52:55.547 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GAS_V3_0 is compatible
2017-03-03 05:52:55.548 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.549 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GAS_V3_0 is not compatible
2017-03-03 05:52:55.550 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type WATER_V3_0 is compatible
2017-03-03 05:52:55.550 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.551 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type WATER_V3_0 is not compatible
2017-03-03 05:52:55.552 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GJ_V3_0 is compatible
2017-03-03 05:52:55.553 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.554 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GJ_V3_0 is not compatible
2017-03-03 05:52:55.556 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GENERIC_V3_0 is compatible
2017-03-03 05:52:55.556 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.557 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GENERIC_V3_0 is not compatible
2017-03-03 05:52:55.558 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_V4_0 is compatible
2017-03-03 05:52:55.559 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_POWER_FAILURES not found
2017-03-03 05:52:55.560 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_V4_0 is not compatible
2017-03-03 05:52:55.561 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type M3_V4 is compatible
2017-03-03 05:52:55.562 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.563 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type M3_V4 is not compatible
2017-03-03 05:52:55.564 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GJ_V4 is compatible
2017-03-03 05:52:55.566 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.567 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GJ_V4 is not compatible
2017-03-03 05:52:55.568 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type SLAVE_ELECTRICITY_V4 is compatible
2017-03-03 05:52:55.568 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.569 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type SLAVE_ELECTRICITY_V4 is not compatible
2017-03-03 05:52:55.570 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_V4_0_4 is compatible
2017-03-03 05:52:55.571 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_POWER_FAILURES not found
2017-03-03 05:52:55.572 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_V4_0_4 is not compatible
2017-03-03 05:52:55.573 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_V4_2 is compatible
2017-03-03 05:52:55.574 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_POWER_FAILURES not found
2017-03-03 05:52:55.575 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_V4_2 is not compatible
2017-03-03 05:52:55.576 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type ELECTRICITY_V5_0 is compatible
2017-03-03 05:52:55.576 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType EMETER_POWER_FAILURES not found
2017-03-03 05:52:55.577 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type ELECTRICITY_V5_0 is not compatible
2017-03-03 05:52:55.579 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type M3_V5_0 is compatible
2017-03-03 05:52:55.580 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.581 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type M3_V5_0 is not compatible
2017-03-03 05:52:55.582 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type GJ_V5_0 is compatible
2017-03-03 05:52:55.583 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.583 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type GJ_V5_0 is not compatible
2017-03-03 05:52:55.584 [DEBUG] [internal.discovery.DSMRMeterDetector] - Trying if meter type SLAVE_ELECTRICITY_V5_0 is compatible
2017-03-03 05:52:55.585 [DEBUG] [ng.dsmr.internal.meter.DSMRMeterType] - required objectType METER_DEVICE_TYPE not found
2017-03-03 05:52:55.586 [DEBUG] [internal.discovery.DSMRMeterDetector] - Meter type SLAVE_ELECTRICITY_V5_0 is not compatible
2017-03-03 05:52:55.587 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - Detected the following new meters: []

@Patrick_Weernink
https://github.com/openhab/openhab2-addons/issues/1608#issuecomment-274272319 and then at the bottom of the page.
first uninstall the previeus binding. after that just download the zip, extract and copy to /usr/share/openhab2/addons (for repository) or /opt/openhab2/addons (for manual) assuming your using linux. It should autodetect the new binding and start working.

@arjveld Thank you for the information. The meter does not follow the DSMR v3 specification strict. I will work on a fix for this.

@arjveld I have fixed the bug and made a new binary release. I have tested it with the P1-message you posted earlier and this was working correctly.

I hope it will also work in your setup now.

Working like a charm now!
No error or anything in the debug log also.
Thanks alot

Thank you for your help in solving this issue. This morning this forum was down so i could not inform you from here.

I tried the same steps as last time, but the binding does not show up with bundle:list and it doesnā€™t show in Paper UI under installed bindings. Donā€™t know if Iā€™m doing something wrong.

Can you verifiy that the the jar file has read and execute permissions for the user that OH2 is running?

I would expect that the bundle at least show up with bundle:list.

If the file that the correct permissions can you please post some debug logging?

-rw-r--r-- 1 openhab openhab 114229 Mar  7 20:07 org.openhab.binding.dsmr-2.1.0-SNAPSHOT.jar

I guess I need to

sudo chmod u+x *dsmr*

?

Update 1: tried that, restarted OH, no difference :frowning:

Update 2: doing a cat /var/log/openhab2/openhab.log | grep 'dsmr' does not show anything either. Tried sudo reboot, still no change.

Thanks Arjen for your help. Will give it a try !

Just a small update to say that Iā€™ve been running the new DSMR binding for a month without any problems, except a strange anomaly probably caused by a bug in the cube itself. At one point, the amount of available memory slots went down from 50 to 0 in about half a day and afterwards the cube needed to be rebooted in order to reach it.

Using device /dev/ttyUSB1 is working fine.
For testing purposes I tried to use a serial by id port for the things file:

Bridge dsmr:dsmrBridge:usb [ serialPort="/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A5Z5VJCX-if00-port0" ] {
	Things:
		device_v4        generic     [channel=-1]
		electricity_v4_2 electricity [channel=0]
		m3_v5_0          gas         [channel=1]
}

Got this error:

2017-04-03 22:11:00.387 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'dsmr.things'
2017-04-03 22:11:00.497 [INFO ] [inding.dsmr.internal.device.DSMRPort] - Closing DSMR port
2017-04-03 22:11:00.537 [ERROR] [inding.dsmr.internal.device.DSMRPort] - Port /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A5Z5VJCX-if00-port0 does not exists
gnu.io.NoSuchPortException
	at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:273)[185:com.neuronrobotics.nrjavaserial:3.12.0.OH]
	at org.openhab.binding.dsmr.internal.device.DSMRPort.open(DSMRPort.java:181)[218:org.openhab.binding.dsmr:2.1.0.201703180612]
	at org.openhab.binding.dsmr.internal.device.DSMRDevice.handleInitializeDSMRDevice(DSMRDevice.java:364)[218:org.openhab.binding.dsmr:2.1.0.201703180612]
	at org.openhab.binding.dsmr.internal.device.DSMRDevice.handleDeviceState(DSMRDevice.java:237)[218:org.openhab.binding.dsmr:2.1.0.201703180612]
	at org.openhab.binding.dsmr.internal.device.DSMRDevice.access$1(DSMRDevice.java:224)[218:org.openhab.binding.dsmr:2.1.0.201703180612]
	at org.openhab.binding.dsmr.internal.device.DSMRDevice$1.run(DSMRDevice.java:202)[218:org.openhab.binding.dsmr:2.1.0.201703180612]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-04-03 22:11:00.543 [WARN ] [nding.dsmr.handler.DSMRBridgeHandler] - Received unknown state CONFIGURATION_PROBLEM
2017-04-03 22:11:06.718 [ERROR] [t.mqtt.internal.MqttBrokerConnection] - MQTT connection to broker was lost
Connection lost (32109) - java.io.EOFException
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:138)[213:org.openhab.io.transport.mqtt:1.9.0]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: java.io.EOFException
	at java.io.DataInputStream.readByte(DataInputStream.java:267)[:1.8.0_121]
	at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:56)[213:org.openhab.io.transport.mqtt:1.9.0]
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:100)[213:org.openhab.io.transport.mqtt:1.9.0]
	... 1 more

Anyone tried this on a Raspberry Pi 3?

When adding the binding:
[ERROR] [org.openhab.binding.dsmr ] - FrameworkEvent ERROR - org.openhab.binding.dsmr
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.dsmr [191]
Unresolved requirement: Import-Package: gnu.io

After some research I was told to install openhab-transport-serial, so I did:
feature:install openhab-transport-serial

But then I get this error:
docker[10606]: java.lang.UnsatisfiedLinkError: /openhab/userdata/tmp/libNRJavaSerial_openhab_0/libNRJavaSerial.so: /openhab/userdata/tmp/libNRJavaSerial_openhab_0/libNRJavaSerial.so: cannot open shared object file: No such file or directory (Possible cause: canā€™t load IA 32-bit .so on a ARM-bit platform)

Someone got a clue?

Good job done with this DSMR binding! I am using this binding (version org.openhab.binding.dsmr-2.1.0-SNAPSHOT.jar), but have some problems in the log showing (and repeatingā€¦):

2017-08-10 22:00:01.484 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - There are unhandled CosemObjects, start autodetecting meters
2017-08-10 22:00:01.627 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - Detected the following new meters: [Meter type: M3_V5_0, channel: 1, Meter type: ELECTRICITY_V5_0, channel: 0, Meter type: DEVICE_V5, channel: -1]
2017-08-10 22:00:02.455 [WARN ] [rnal.device.cosem.CosemObjectFactory] - Received unknown Cosem Object(OBIS id: 1-0:99.97.0)
2017-08-10 22:00:02.483 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - There are unhandled CosemObjects, start autodetecting meters
2017-08-10 22:00:02.485 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - Detected the following new meters: [Meter type: M3_V5_0, channel: 1, Meter type: ELECTRICITY_V5_0, channel: 0, Meter type: DEVICE_V5, channel: -1]
2017-08-10 22:00:03.457 [WARN ] [rnal.device.cosem.CosemObjectFactory] - Received unknown Cosem Object(OBIS id: 1-0:99.97.0)
2017-08-10 22:00:03.486 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - There are unhandled CosemObjects, start autodetecting meters
2017-08-10 22:00:03.488 [INFO ] [ding.dsmr.internal.device.DSMRDevice] - Detected the following new meters: [Meter type: M3_V5_0, channel: 1, Meter type: ELECTRICITY_V5_0, channel: 0, Meter type: DEVICE_V5, channel: -1]

My smartmeter is an ISKRA AM550. Can I do something to solve this?

Hi Diederik, Peter

Sorry for the late answer. I was on holiday so i was not able to do something.

@peterdorn I guess this is a general serial port problem and does not have not much to do with specific binding. I cannot help you with this. Iā€™m sorry.

@diederikd can you try to set the log level for org.openhab.binding.dsmr to TRACE and post the log? I expect something special in power event log message (1-0:99.97.0) that caused parse problems causing this message.

Kind regards,

Marcel

@mvolaart does this help:

2017-08-21 20:14:59.722 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - supported identifiers: [0-0:96.1.1, 1-0:1.8.1, 1-0:1.8.2, 1-0:2.8.1, 1-0:2.8.2, 0-0:96.14.0, 1-0:1.7.0, 1-0:2.7.0, 0-0:96.7.21, 0-0:96.7.9, 1-0:32.32.0, 1-0:32.36.0, 1-0:31.7.0, 1-0:21.7.0, 1-0:22.7.0, 1-0:32.7.0, 1-0:99.97.0, 1-0:52.32.0, 1-0:72.32.0, 1-0:52.36.0, 1-0:72.36.0, 1-0:51.7.0, 1-0:71.7.0, 1-0:41.7.0, 1-0:61.7.0, 1-0:42.7.0, 1-0:62.7.0, 1-0:52.7.0, 1-0:72.7.0], searching for objects [Cosem Object(type:EMETER_EQUIPMENT_IDENTIFIER, cosemValues:{default=E0033006757078716}), Cosem Object(type:EMETER_DELIVERY_TARIFF1, cosemValues:{default=1539.229}), Cosem Object(type:EMETER_DELIVERY_TARIFF2, cosemValues:{default=1526.735}), Cosem Object(type:EMETER_PRODUCTION_TARIFF1, cosemValues:{default=0.0}), Cosem Object(type:EMETER_PRODUCTION_TARIFF2, cosemValues:{default=0.0}), Cosem Object(type:EMETER_TARIFF_INDICATOR, cosemValues:{default=0002}), Cosem Object(type:EMETER_ACTUAL_DELIVERY, cosemValues:{default=0.245}), Cosem Object(type:EMETER_ACTUAL_PRODUCTION, cosemValues:{default=0.0}), Cosem Object(type:EMETER_POWER_FAILURES, cosemValues:{default=8.0}), Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{default=2.0}), Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{default=0.0}), Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{default=1.0}), Cosem Object(type:EMETER_INSTANT_VOLTAGE_L1, cosemValues:{default=230.0}), Cosem Object(type:EMETER_INSTANT_CURRENT_L1, cosemValues:{default=1.0}), Cosem Object(type:EMETER_INSTANT_POWER_DELIVERY_L1, cosemValues:{default=0.244}), Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L1, cosemValues:{default=0.0})]
2017-08-21 20:14:59.722 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_EQUIPMENT_IDENTIFIER, cosemValues:{default=E0033006757078716})
2017-08-21 20:14:59.722 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_DELIVERY_TARIFF1, cosemValues:{default=1539.229})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_DELIVERY_TARIFF2, cosemValues:{default=1526.735})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_PRODUCTION_TARIFF1, cosemValues:{default=0.0})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_PRODUCTION_TARIFF2, cosemValues:{default=0.0})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_TARIFF_INDICATOR, cosemValues:{default=0002})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_ACTUAL_DELIVERY, cosemValues:{default=0.245})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_ACTUAL_PRODUCTION, cosemValues:{default=0.0})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_POWER_FAILURES, cosemValues:{default=8.0})
2017-08-21 20:14:59.723 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{default=2.0})
2017-08-21 20:14:59.724 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{default=0.0})
2017-08-21 20:14:59.724 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{default=1.0})
2017-08-21 20:14:59.724 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_INSTANT_VOLTAGE_L1, cosemValues:{default=230.0})
2017-08-21 20:14:59.724 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_INSTANT_CURRENT_L1, cosemValues:{default=1.0})
2017-08-21 20:14:59.724 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_INSTANT_POWER_DELIVERY_L1, cosemValues:{default=0.244})
2017-08-21 20:14:59.724 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Added supported cosemObject Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L1, cosemValues:{default=0.0})
2017-08-21 20:14:59.724 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_EQUIPMENT_IDENTIFIER, cosemValues:{default=E0033006757078716})
2017-08-21 20:14:59.724 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_equipment_identifier to value E0033006757078716
2017-08-21 20:14:59.725 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_DELIVERY_TARIFF1, cosemValues:{default=1539.229})
2017-08-21 20:14:59.725 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_delivery_tariff1 to value 1539.22900390625
2017-08-21 20:14:59.726 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_DELIVERY_TARIFF2, cosemValues:{default=1526.735})
2017-08-21 20:14:59.727 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_delivery_tariff2 to value 1526.7349853515625
2017-08-21 20:14:59.727 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_PRODUCTION_TARIFF1, cosemValues:{default=0.0})
2017-08-21 20:14:59.728 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_production_tariff1 to value 0.0
2017-08-21 20:14:59.728 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_PRODUCTION_TARIFF2, cosemValues:{default=0.0})
2017-08-21 20:14:59.729 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_production_tariff2 to value 0.0
2017-08-21 20:14:59.729 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_TARIFF_INDICATOR, cosemValues:{default=0002})
2017-08-21 20:14:59.730 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_tariff_indicator to value 0002
2017-08-21 20:14:59.730 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_ACTUAL_DELIVERY, cosemValues:{default=0.245})
2017-08-21 20:14:59.732 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_actual_delivery to value 0.24500000476837158
2017-08-21 20:14:59.733 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_ACTUAL_PRODUCTION, cosemValues:{default=0.0})
2017-08-21 20:14:59.734 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_actual_production to value 0.0
2017-08-21 20:14:59.735 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_POWER_FAILURES, cosemValues:{default=8.0})
2017-08-21 20:14:59.736 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_power_failures to value 8.0
2017-08-21 20:14:59.738 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{default=2.0})
2017-08-21 20:14:59.738 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_long_power_failures to value 2.0
2017-08-21 20:14:59.739 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{default=0.0})
2017-08-21 20:14:59.740 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_voltage_sags_l1 to value 0.0
2017-08-21 20:14:59.741 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{default=1.0})
2017-08-21 20:14:59.742 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_voltage_swells_l1 to value 1.0
2017-08-21 20:14:59.742 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_INSTANT_VOLTAGE_L1, cosemValues:{default=230.0})
2017-08-21 20:14:59.743 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_instant_voltage_l1 to value 230.0
2017-08-21 20:14:59.744 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_INSTANT_CURRENT_L1, cosemValues:{default=1.0})
2017-08-21 20:14:59.745 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_instant_current_l1 to value 1.0
2017-08-21 20:14:59.745 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_INSTANT_POWER_DELIVERY_L1, cosemValues:{default=0.244})
2017-08-21 20:14:59.746 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_instant_power_delivery_l1 to value 0.24400000274181366
2017-08-21 20:14:59.748 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - Send new meter value Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L1, cosemValues:{default=0.0})
2017-08-21 20:14:59.749 [DEBUG] [inding.dsmr.handler.DSMRMeterHandler] - Updating state for channel emeter_instant_power_production_l1 to value 0.0
2017-08-21 20:14:59.749 [DEBUG] [ding.dsmr.internal.device.DSMRDevice] - Processed cosemObjects [Cosem Object(type:EMETER_EQUIPMENT_IDENTIFIER, cosemValues:{default=E0033006757078716}), Cosem Object(type:EMETER_DELIVERY_TARIFF1, cosemValues:{default=1539.229}), Cosem Object(type:EMETER_DELIVERY_TARIFF2, cosemValues:{default=1526.735}), Cosem Object(type:EMETER_PRODUCTION_TARIFF1, cosemValues:{default=0.0}), Cosem Object(type:EMETER_PRODUCTION_TARIFF2, cosemValues:{default=0.0}), Cosem Object(type:EMETER_TARIFF_INDICATOR, cosemValues:{default=0002}), Cosem Object(type:EMETER_ACTUAL_DELIVERY, cosemValues:{default=0.245}), Cosem Object(type:EMETER_ACTUAL_PRODUCTION, cosemValues:{default=0.0}), Cosem Object(type:EMETER_POWER_FAILURES, cosemValues:{default=8.0}), Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{default=2.0}), Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{default=0.0}), Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{default=1.0}), Cosem Object(type:EMETER_INSTANT_VOLTAGE_L1, cosemValues:{default=230.0}), Cosem Object(type:EMETER_INSTANT_CURRENT_L1, cosemValues:{default=1.0}), Cosem Object(type:EMETER_INSTANT_POWER_DELIVERY_L1, cosemValues:{default=0.244}), Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L1, cosemValues:{default=0.0})]

kind regards,

Diederik

From this log everything looks OK.

May be the time period is too short because the warning messages from your first post donā€™t appear in the second log.

If you still experience the warnings please post a longer piece of logging where at least the warning message is included from the first post.

Kind regards,

Marcel

@mvolaart sorry, this might be better:

1-0:21.7.0(00.346*kW)^M
1-0:22.7.0(00.000*kW)^M
0-1:24.1.0(, state before parsing: DATA_OBIS_ID
2017-08-22 06:42:16.271 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:96.7.9, obisId: 0-0:96.7.9, values: (00002)^M

2017-08-22 06:42:16.272 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_LONG_POWER_FAILURES
2017-08-22 06:42:16.272 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00002)^M

2017-08-22 06:42:16.272 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2017-08-22 06:42:16.273 [TRACE] [l.device.p1telegram.P1TelegramParser] - Storing Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{default=2.0})
2017-08-22 06:42:16.273 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{default=2.0}) to list of Cosem Objects
2017-08-22 06:42:16.274 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:99.97.0, obisId: 1-0:99.97.0, values: ()^M

2017-08-22 06:42:16.274 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_POWER_FAILURE_LOG
2017-08-22 06:42:16.274 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string ()^M
2017-08-22 06:42:16.275 [DEBUG] [rnal.device.cosem.CosemObjectFactory] - Failed to construct Cosem Object for type EMETER_POWER_FAILURE_LOG, values: ()^M

java.text.ParseException: EMETER_POWER_FAILURE_LOG does not support 1 items
        at org.openhab.binding.dsmr.internal.device.cosem.CosemObject.parseCosemValues(CosemObject.java:162)
        at org.openhab.binding.dsmr.internal.device.cosem.CosemObjectFactory.getCosemObjectInternal(CosemObjectFactory.java:135)[186:org.openhab.binding.dsmr:2.1.0.201703180612]
        at org.openhab.binding.dsmr.internal.device.cosem.CosemObjectFactory.getCosemObject(CosemObjectFactory.java:94)[186:org.openhab.binding.dsmr:2.1.0.201703180612]
        at org.openhab.binding.dsmr.internal.device.p1telegram.P1TelegramParser.storeCurrentCosemObject(P1TelegramParser.java:325)[186:org.openhab.binding.dsmr:2.1.0.201703180612]
        at org.openhab.binding.dsmr.internal.device.p1telegram.P1TelegramParser.setState(P1TelegramParser.java:353)[186:org.openhab.binding.dsmr:2.1.0.201703180612]
at org.openhab.binding.dsmr.internal.device.p1telegram.P1TelegramParser.parseData(P1TelegramParser.java:169)[186:org.openhab.binding.dsmr:2.1.0.201703180612]
        at org.openhab.binding.dsmr.internal.device.DSMRPort.read(DSMRPort.java:316)[186:org.openhab.binding.dsmr:2.1.0.201703180612]
        at org.openhab.binding.dsmr.internal.device.DSMRPort.serialEvent(DSMRPort.java:395)[186:org.openhab.binding.dsmr:2.1.0.201703180612]
        at gnu.io.RXTXPort.sendEvent(RXTXPort.java:780)[185:com.neuronrobotics.nrjavaserial:3.12.0.OH]
        at gnu.io.RXTXPort.eventLoop(Native Method)[185:com.neuronrobotics.nrjavaserial:3.12.0.OH]
        at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1611)[185:com.neuronrobotics.nrjavaserial:3.12.0.OH]
2017-08-22 06:42:16.284 [WARN ] [rnal.device.cosem.CosemObjectFactory] - Received unknown Cosem Object(OBIS id: 1-0:99.97.0)
2017-08-22 06:42:16.284 [TRACE] [l.device.p1telegram.P1TelegramParser] - Storing null
2017-08-22 06:42:16.284 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:32.32.0, obisId: 1-0:32.32.0, values: (00000)^M

2017-08-22 06:42:16.285 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SAGS_L1
2017-08-22 06:42:16.285 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00000)^M

2017-08-22 06:42:16.286 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2017-08-22 06:42:16.286 [TRACE] [l.device.p1telegram.P1TelegramParser] - Storing Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{default=0.0})
2017-08-22 06:42:16.287 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{default=0.0}) to list of Cosem Objects
2017-08-22 06:42:16.287 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:32.36.0, obisId: 1-0:32.36.0, values: (00001)^M

2017-08-22 06:42:16.287 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SWELLS_L1
2017-08-22 06:42:16.287 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00001)^M

2017-08-22 06:42:16.288 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2017-08-22 06:42:16.288 [TRACE] [l.device.p1telegram.P1TelegramParser] - Storing Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{default=1.0})
2017-08-22 06:42:16.288 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{default=1.0}) to list of Cosem Objects

Regards,
Diederik

Thight is what i looked for and expected. There is a problem parsing the power failure log message.

I will look for a fix.