New DSMR-binding for OpenHAB 2


(Hilbrand Bouwkamp) #101

The binding is not available in the lastest stable release of openHAB 2.3 because it was added after that release. That’s why you don’t see it. You need the 2.4 milestone or snapshot release and then you can install it. It’s also available in the market place, but that version isn’t compatible with 2.3 either, but the market binding does the same as the 2.4 binding (unless you live Luxembourg)


(Edward Voermans) #102

Thanks for the swift response Hilbrand, appreciated. Interesting approach. I’m on release 2.3.0.1. How do I get to the 2.4.x Milestone release?
Thnx,
Ed


(Hilbrand Bouwkamp) #103

In openHABian you can switch versions with the command line tool that is shown when you login to the raspberry pi.


(Edward Voermans) #104

Gotcha, found it and revert to the latest snapshot. DSMR finds the Slimme Meter. However all the things now show UNINITIALIZED - HANDLER_CONFIGURATION_PENDING. The only active thing is the Z-Wave serial controller (USB Stick). Any thoughts?


(Hilbrand Bouwkamp) #105

Is this also the problem for the DSMR or only the z-wave things? Did you look in the log? It’s also accessible via port 9001 on your installation. If I remember correctly there were some major improvements/changes to the binding on z-wave in this version so that may be related, but I’m widely guessing as I don’t use z-wave. Sometimes clearing the cache folder will solve problems when switching versions, but again widely guessing.


(Edward Voermans) #106

Oke, here we go. I had the choice of going down the trouble shooting lane or a fresh install and reconfig. I took the later. Fresh install of OpenHabian -> Basic Config -> Latest Snapshot -> Added Z-Wave Binding -> Added Z-Wave thingies -> All fine, working like a charm.
Added DSMR Binding -> Connected USB Slimme Meter Cable . . . .
Nothing shows, no things connected to DSMR. Reboot, reconnect cable. No luck.


(Hilbrand Bouwkamp) #107

The problem it can find the meter might have to do with serial port rights. See this page with some configuration options: https://www.openhab.org/docs/administration/serial.html


(Edward Voermans) #108

I feel like an idiot. My excuse.
During the fresh install I yanked out every device from /etc/default/openhab2 except the Z-Wave USB stick . . .
It’s been a long week :slight_smile: Time to get some some sun, a cigar, and a Chardonnay while the data from the meters get in . . .
Thanks for your support and pointing me in the right directions, feel like a Sherlock Holmes type of guy. But the learning curve is exceptional in these kind of situations. Basically I’m able to build an OpenHab on Raspberry with my thingies / sensors in just a couple of hours!


(M!) #109

Hi,

Just got a new meter installed. Openhab is reporting the energy correctly, but the gas meter isn’t detected (no discovery in the event log) and there are some unrecognised values. If you need the number and code (which I guessed where identifiers), please PM me.

> 1-3:0.2.8(50)
> 0-0:1.0.0(000101010000W)
> 0-0:96.1.1(<number removed>)
> 1-0:1.8.1(000000.128*kWh)
> 1-0:1.8.2(000000.000*kWh)
> 1-0:2.8.1(000000.044*kWh)
> 1-0:2.8.2(000000.000*kWh)
> 0-0:96.14.0(0001)
> 1-0:1.7.0(00.019*kW)
> 1-0:2.7.0(00.000*kW)
> 0-0:96.7.21(00002)
> 0-0:96.7.9(00000)
> 1-0:99.97.0(0)(0-0:96.7.19)
> 1-0:32.32.0(00000)
> 1-0:32.36.0(00000)
> 0-0:96.13.0()
> 1-0:32.7.0(224.0*V)
> 1-0:31.7.0(001*A)
> 1-0:21.7.0(00.019*kW)
> 1-0:22.7.0(00.000*kW)
> 0-1:24.1.0(003)
> 0-1:96.1.0(0000000000000000000000000000000000)
> !XXX
> /<code removed>

Furthermore the log indicates:

2018-10-30 11:27:37.273 [INFO ] [internal.device.DSMRSerialAutoDevice] - Start receiving telegrams on port /dev/ttyUSB0 with settings: Baudrate:115200, databits:8, parity:none, stopbits:1
2018-10-30 11:29:57.295 [INFO ] [internal.discovery.DSMRMeterDetector] - There are some unrecognized values, which means some meters might not be detected. Not all  are recognized. Please report your raw data as example:

If added the new devices (Meter (DSMR V5), Elektriciteitsmeter (DSMR V5.0)) from discovery and removed the old devices afterwards. The bridge has been reused.

Landis+Gyr SMR 5.0 G4 G6

Note: I haven’t used >= 1m3 gas yet.

Thanks.


(M!) #110

SOLVED The volume meter (for the flow of gas) becomes available after the electricity company has registered your energy meter. So I had to be patient for about a week or so. After such period, scan for new devices and it will be available.


(Herman) #111

I got the binding working and most of the channels, how the channels “emeter_instant_power_delivery_l1”, emeter_instant_power_delivery_l2, emeter_instant_power_delivery_l3 do not produce any data and also do not appear under the Thing " Elektriciteitsmeter (DSMR V4.0)" .
Out those channels not implemented yet.

Herman


(Hilbrand Bouwkamp) #112

@hermanvh Not sure what you mean. These channels are optional. That means the meter might not deliver the data. Do you mean you know the data is available and not showing? Or you don’t know if the data is available? Or you didn’t see the channels? These channels are advanced, so not switched on by default and hidden under more in PaperUI.


(Herman) #113

@hilbrand with V1 binding those channels did work, now they do not appear within the paperui.

Attached you will find a part of the log, I hope this will help.

2018-11-08 17:39:24.529 [TRACE] [l.device.p1telegram.P1TelegramParser] - Data: /KFM5KAIFA-METER

, state before parsing: WAIT_FOR_START
2018-11-08 17:39:24.529 [TRACE] [l.device.p1telegram.P1TelegramParser] - State after parsing: CRLF
2018-11-08 17:39:24.529 [TRACE] [l.device.p1telegram.P1TelegramParser] - Data: 1-3:0.2.8(42)
0-0:1.0.0(181108174017W)
0-0:96.1.1(4530303033303030303033343430353134)
1-0:1.8.1(018980.396*kWh)
1-0:1.8.2(015770.543*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(01.717*kW)
1-0:2.7.0(00.000*kW)
0-0:96.7.21(00008)
0-0:96.7.9(00005)
1-0:99.97.0(2)(0-0:96.7.19)(170621025045S)(0000004009*s)(000101000015W)(2147483647*s)
1-0:32.32.0(00000)
1-0:52.32.0(00000)
1-0:72.32.0(00003)
1-0:32.36.0(00000)
1-0:52.36.0(00000)
1-0:72.36.0(00000)
0-0:96.13.1()
0-0:96.13.0()
1-0:31.7.0(002*A)
1-0:51.7.0(004*A)
1-0:71.7.0(001*A)
1-0:21.7.0(00.540*kW)
1-0:22.7.0(00.000*kW)
1-0:41.7.0(00.821*kW)
1-0:42.7.0(00.000*kW)
1-0:61.7.0(00.356*kW)
, state before parsing: CRLF
2018-11-08 17:39:24.529 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-3:0.2.8, obisId: 1-3:0.2.8, values: (42)

2018-11-08 17:39:24.530 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: P1_VERSION_OUTPUT
2018-11-08 17:39:24.530 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (42)

2018-11-08 17:39:24.530 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.530 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-3:0.2.8 in the fixed lookup table
2018-11-08 17:39:24.530 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:P1_VERSION_OUTPUT, cosemValues:{=42}) to list of Cosem Objects
2018-11-08 17:39:24.531 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:1.0.0, obisId: 0-0:1.0.0, values: (181108174017W)

2018-11-08 17:39:24.531 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: P1_TIMESTAMP
2018-11-08 17:39:24.531 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (181108174017W)

2018-11-08 17:39:24.531 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.531 [TRACE] [dsmr.internal.device.cosem.CosemDate] - Trying pattern: (\d{12})([S,W]?)
2018-11-08 17:39:24.532 [TRACE] [dsmr.internal.device.cosem.CosemDate] - 181108174017W matches pattern: (\d{12})([S,W]?)
2018-11-08 17:39:24.532 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-0:1.0.0 in the fixed lookup table
2018-11-08 17:39:24.532 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:P1_TIMESTAMP, cosemValues:{=2018-11-08T17:40:17.000+0100}) to list of Cosem Objects
2018-11-08 17:39:24.532 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:96.1.1, obisId: 0-0:96.1.1, values: (4530303033303030303033343430353134)

2018-11-08 17:39:24.533 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-0:96.1.1 in the dynamic lookup table
2018-11-08 17:39:24.533 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_EQUIPMENT_IDENTIFIER
2018-11-08 17:39:24.533 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (4530303033303030303033343430353134)

2018-11-08 17:39:24.533 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.533 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_EQUIPMENT_IDENTIFIER, cosemValues:{=E0003000003440514}) to list of Cosem Objects
2018-11-08 17:39:24.533 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:1.8.1, obisId: 1-0:1.8.1, values: (018980.396*kWh)

2018-11-08 17:39:24.534 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:1.8.1 in the dynamic lookup table
2018-11-08 17:39:24.534 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_DELIVERY_TARIFF1
2018-11-08 17:39:24.536 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (018980.396*kWh)

2018-11-08 17:39:24.537 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.538 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_DELIVERY_TARIFF1, cosemValues:{=18980.396 kWh}) to list of Cosem Objects
2018-11-08 17:39:24.539 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:1.8.2, obisId: 1-0:1.8.2, values: (015770.543*kWh)

2018-11-08 17:39:24.540 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:1.8.2 in the dynamic lookup table
2018-11-08 17:39:24.541 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_DELIVERY_TARIFF2
2018-11-08 17:39:24.541 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (015770.543*kWh)

2018-11-08 17:39:24.542 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.543 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_DELIVERY_TARIFF2, cosemValues:{=15770.543 kWh}) to list of Cosem Objects
2018-11-08 17:39:24.544 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:2.8.1, obisId: 1-0:2.8.1, values: (000000.000*kWh)

2018-11-08 17:39:24.545 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:2.8.1 in the dynamic lookup table
2018-11-08 17:39:24.546 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_PRODUCTION_TARIFF1
2018-11-08 17:39:24.546 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (000000.000*kWh)

2018-11-08 17:39:24.547 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.548 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_PRODUCTION_TARIFF1, cosemValues:{=0.000 kWh}) to list of Cosem Objects
2018-11-08 17:39:24.549 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:2.8.2, obisId: 1-0:2.8.2, values: (000000.000*kWh)

2018-11-08 17:39:24.550 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:2.8.2 in the dynamic lookup table
2018-11-08 17:39:24.551 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_PRODUCTION_TARIFF2
2018-11-08 17:39:24.551 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (000000.000*kWh)

2018-11-08 17:39:24.552 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.553 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_PRODUCTION_TARIFF2, cosemValues:{=0.000 kWh}) to list of Cosem Objects
2018-11-08 17:39:24.554 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:96.14.0, obisId: 0-0:96.14.0, values: (0002)

2018-11-08 17:39:24.555 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-0:96.14.0 in the dynamic lookup table
2018-11-08 17:39:24.556 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_TARIFF_INDICATOR
2018-11-08 17:39:24.557 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (0002)

2018-11-08 17:39:24.558 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.558 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_TARIFF_INDICATOR, cosemValues:{=0002}) to list of Cosem Objects
2018-11-08 17:39:24.559 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:1.7.0, obisId: 1-0:1.7.0, values: (01.717*kW)

2018-11-08 17:39:24.560 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_ACTUAL_DELIVERY
2018-11-08 17:39:24.561 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (01.717*kW)

2018-11-08 17:39:24.562 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.563 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:1.7.0 in the fixed lookup table
2018-11-08 17:39:24.563 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_ACTUAL_DELIVERY, cosemValues:{=1.717 kW}) to list of Cosem Objects
2018-11-08 17:39:24.564 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:2.7.0, obisId: 1-0:2.7.0, values: (00.000*kW)

2018-11-08 17:39:24.565 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_ACTUAL_PRODUCTION
2018-11-08 17:39:24.566 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00.000*kW)

2018-11-08 17:39:24.567 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.568 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:2.7.0 in the fixed lookup table
2018-11-08 17:39:24.568 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_ACTUAL_PRODUCTION, cosemValues:{=0.000 kW}) to list of Cosem Objects
2018-11-08 17:39:24.569 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:96.7.21, obisId: 0-0:96.7.21, values: (00008)

2018-11-08 17:39:24.570 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_POWER_FAILURES
2018-11-08 17:39:24.571 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00008)

2018-11-08 17:39:24.572 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.572 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-0:96.7.21 in the fixed lookup table
2018-11-08 17:39:24.573 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_POWER_FAILURES, cosemValues:{=8}) to list of Cosem Objects
2018-11-08 17:39:24.574 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:96.7.9, obisId: 0-0:96.7.9, values: (00005)

2018-11-08 17:39:24.575 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_LONG_POWER_FAILURES
2018-11-08 17:39:24.576 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00005)

2018-11-08 17:39:24.577 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.578 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-0:96.7.9 in the fixed lookup table
2018-11-08 17:39:24.578 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{=5}) to list of Cosem Objects
2018-11-08 17:39:24.579 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:99.97.0, obisId: 1-0:99.97.0, values: (2)(0-0:96.7.19)(170621025045S)(0000004009*s)(000101000015W)(2147483647*s)

2018-11-08 17:39:24.580 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_POWER_FAILURE_LOG
2018-11-08 17:39:24.581 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (2)(0-0:96.7.19)(170621025045S)(0000004009*s)(000101000015W)(2147483647*s)

2018-11-08 17:39:24.582 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 6 is supported
2018-11-08 17:39:24.582 [TRACE] [dsmr.internal.device.cosem.CosemDate] - Trying pattern: (\d{12})([S,W]?)
2018-11-08 17:39:24.583 [TRACE] [dsmr.internal.device.cosem.CosemDate] - 170621025045S matches pattern: (\d{12})([S,W]?)
2018-11-08 17:39:24.584 [TRACE] [dsmr.internal.device.cosem.CosemDate] - Trying pattern: (\d{12})([S,W]?)
2018-11-08 17:39:24.585 [TRACE] [dsmr.internal.device.cosem.CosemDate] - 000101000015W matches pattern: (\d{12})([S,W]?)
2018-11-08 17:39:24.586 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:99.97.0 in the fixed lookup table
2018-11-08 17:39:24.587 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_POWER_FAILURE_LOG, cosemValues:{timestamp1=2000-01-01T00:00:15.000+0100, timestamp0=2017-06-21T02:50:45.000+0200, entries=2, obisId=0-0:96.7.19, duration1=2147483647 s, duration0=4009 s}) to list of Cosem Objects
2018-11-08 17:39:24.588 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:32.32.0, obisId: 1-0:32.32.0, values: (00000)

2018-11-08 17:39:24.589 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SAGS_L1
2018-11-08 17:39:24.590 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00000)

2018-11-08 17:39:24.590 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.591 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:32.32.0 in the fixed lookup table
2018-11-08 17:39:24.592 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{=0}) to list of Cosem Objects
2018-11-08 17:39:24.593 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:52.32.0, obisId: 1-0:52.32.0, values: (00000)

2018-11-08 17:39:24.594 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SAGS_L2
2018-11-08 17:39:24.594 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00000)

2018-11-08 17:39:24.595 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.597 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:52.32.0 in the fixed lookup table
2018-11-08 17:39:24.598 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SAGS_L2, cosemValues:{=0}) to list of Cosem Objects
2018-11-08 17:39:24.599 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:72.32.0, obisId: 1-0:72.32.0, values: (00003)

2018-11-08 17:39:24.599 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SAGS_L3
2018-11-08 17:39:24.600 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00003)

2018-11-08 17:39:24.601 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.602 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:72.32.0 in the fixed lookup table
2018-11-08 17:39:24.603 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SAGS_L3, cosemValues:{=3}) to list of Cosem Objects
2018-11-08 17:39:24.603 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:32.36.0, obisId: 1-0:32.36.0, values: (00000)

2018-11-08 17:39:24.604 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SWELLS_L1
2018-11-08 17:39:24.605 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00000)

2018-11-08 17:39:24.606 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.607 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:32.36.0 in the fixed lookup table
2018-11-08 17:39:24.608 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{=0}) to list of Cosem Objects
2018-11-08 17:39:24.609 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:52.36.0, obisId: 1-0:52.36.0, values: (00000)

2018-11-08 17:39:24.609 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SWELLS_L2
2018-11-08 17:39:24.610 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00000)

2018-11-08 17:39:24.611 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.612 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:52.36.0 in the fixed lookup table
2018-11-08 17:39:24.613 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SWELLS_L2, cosemValues:{=0}) to list of Cosem Objects
2018-11-08 17:39:24.614 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:72.36.0, obisId: 1-0:72.36.0, values: (00000)

2018-11-08 17:39:24.615 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_VOLTAGE_SWELLS_L3
2018-11-08 17:39:24.616 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00000)

2018-11-08 17:39:24.617 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.617 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:72.36.0 in the fixed lookup table
2018-11-08 17:39:24.618 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_VOLTAGE_SWELLS_L3, cosemValues:{=0}) to list of Cosem Objects
2018-11-08 17:39:24.619 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:96.13.1, obisId: 0-0:96.13.1, values: ()

2018-11-08 17:39:24.620 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: P1_TEXT_CODE
2018-11-08 17:39:24.621 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string ()

2018-11-08 17:39:24.621 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.622 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-0:96.13.1 in the fixed lookup table
2018-11-08 17:39:24.623 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:P1_TEXT_CODE, cosemValues:{=}) to list of Cosem Objects
2018-11-08 17:39:24.624 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-0:96.13.0, obisId: 0-0:96.13.0, values: ()

2018-11-08 17:39:24.625 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: P1_TEXT_STRING
2018-11-08 17:39:24.626 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string ()

2018-11-08 17:39:24.626 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.627 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-0:96.13.0 in the fixed lookup table
2018-11-08 17:39:24.628 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:P1_TEXT_STRING, cosemValues:{=}) to list of Cosem Objects
2018-11-08 17:39:24.629 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:31.7.0, obisId: 1-0:31.7.0, values: (002*A)

2018-11-08 17:39:24.630 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_CURRENT_L1
2018-11-08 17:39:24.631 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (002*A)

2018-11-08 17:39:24.631 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.632 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:31.7.0 in the fixed lookup table
2018-11-08 17:39:24.633 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_CURRENT_L1, cosemValues:{=2 A}) to list of Cosem Objects
2018-11-08 17:39:24.634 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:51.7.0, obisId: 1-0:51.7.0, values: (004*A)

2018-11-08 17:39:24.635 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_CURRENT_L2
2018-11-08 17:39:24.636 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (004*A)

2018-11-08 17:39:24.637 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.637 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:51.7.0 in the fixed lookup table
2018-11-08 17:39:24.638 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_CURRENT_L2, cosemValues:{=4 A}) to list of Cosem Objects
2018-11-08 17:39:24.639 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:71.7.0, obisId: 1-0:71.7.0, values: (001*A)

2018-11-08 17:39:24.640 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_CURRENT_L3
2018-11-08 17:39:24.641 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (001*A)

2018-11-08 17:39:24.642 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.642 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:71.7.0 in the fixed lookup table
2018-11-08 17:39:24.643 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_CURRENT_L3, cosemValues:{=1 A}) to list of Cosem Objects
2018-11-08 17:39:24.644 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:21.7.0, obisId: 1-0:21.7.0, values: (00.540*kW)

2018-11-08 17:39:24.645 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_POWER_DELIVERY_L1
2018-11-08 17:39:24.646 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00.540*kW)

2018-11-08 17:39:24.647 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.647 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:21.7.0 in the fixed lookup table
2018-11-08 17:39:24.648 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_POWER_DELIVERY_L1, cosemValues:{=0.540 kW}) to list of Cosem Objects
2018-11-08 17:39:24.649 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:22.7.0, obisId: 1-0:22.7.0, values: (00.000*kW)

2018-11-08 17:39:24.650 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_POWER_PRODUCTION_L1
2018-11-08 17:39:24.651 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00.000*kW)

2018-11-08 17:39:24.652 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.653 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:22.7.0 in the fixed lookup table
2018-11-08 17:39:24.653 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L1, cosemValues:{=0.000 kW}) to list of Cosem Objects
2018-11-08 17:39:24.654 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:41.7.0, obisId: 1-0:41.7.0, values: (00.821*kW)

2018-11-08 17:39:24.655 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_POWER_DELIVERY_L2
2018-11-08 17:39:24.656 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00.821*kW)

2018-11-08 17:39:24.657 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.658 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:41.7.0 in the fixed lookup table
2018-11-08 17:39:24.658 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_POWER_DELIVERY_L2, cosemValues:{=0.821 kW}) to list of Cosem Objects
2018-11-08 17:39:24.659 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:42.7.0, obisId: 1-0:42.7.0, values: (00.000*kW)

2018-11-08 17:39:24.660 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_POWER_PRODUCTION_L2
2018-11-08 17:39:24.661 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00.000*kW)

2018-11-08 17:39:24.662 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:24.663 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:42.7.0 in the fixed lookup table
2018-11-08 17:39:24.663 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L2, cosemValues:{=0.000 kW}) to list of Cosem Objects
2018-11-08 17:39:24.664 [TRACE] [l.device.p1telegram.P1TelegramParser] - State after parsing: DATA_OBIS_VALUE_END
2018-11-08 17:39:25.759 [TRACE] [l.device.p1telegram.P1TelegramParser] - Data: 1-0:62.7.0(00.000*kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303136353631323031383338333133)
, state before parsing: DATA_OBIS_VALUE_END
2018-11-08 17:39:25.760 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:61.7.0, obisId: 1-0:61.7.0, values: (00.356*kW)

2018-11-08 17:39:25.761 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_POWER_DELIVERY_L3
2018-11-08 17:39:25.762 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00.356*kW)

2018-11-08 17:39:25.763 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:25.764 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:61.7.0 in the fixed lookup table
2018-11-08 17:39:25.765 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_POWER_DELIVERY_L3, cosemValues:{=0.356 kW}) to list of Cosem Objects
2018-11-08 17:39:25.765 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 1-0:62.7.0, obisId: 1-0:62.7.0, values: (00.000*kW)

2018-11-08 17:39:25.766 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: EMETER_INSTANT_POWER_PRODUCTION_L3
2018-11-08 17:39:25.767 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (00.000*kW)

2018-11-08 17:39:25.768 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:25.769 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 1-0:62.7.0 in the fixed lookup table
2018-11-08 17:39:25.770 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L3, cosemValues:{=0.000 kW}) to list of Cosem Objects
2018-11-08 17:39:25.772 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-1:24.1.0, obisId: 0-1:24.1.0, values: (003)

2018-11-08 17:39:25.773 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-1:24.1.0 in the dynamic lookup table
2018-11-08 17:39:25.773 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: METER_DEVICE_TYPE
2018-11-08 17:39:25.774 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (003)

2018-11-08 17:39:25.775 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:25.776 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:METER_DEVICE_TYPE, cosemValues:{=003}) to list of Cosem Objects
2018-11-08 17:39:25.777 [TRACE] [l.device.p1telegram.P1TelegramParser] - State after parsing: DATA_OBIS_VALUE_END
2018-11-08 17:39:25.777 [TRACE] [l.device.p1telegram.P1TelegramParser] - Data: 0-1:24.2.1(181108170000W)(11303.464*m3)
!2C33
, state before parsing: DATA_OBIS_VALUE_END
2018-11-08 17:39:25.778 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-1:96.1.0, obisId: 0-1:96.1.0, values: (4730303136353631323031383338333133)

2018-11-08 17:39:25.779 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-1:96.1.0 in the dynamic lookup table
2018-11-08 17:39:25.780 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: METER_EQUIPMENT_IDENTIFIER
2018-11-08 17:39:25.781 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (4730303136353631323031383338333133)

2018-11-08 17:39:25.782 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 1 is supported
2018-11-08 17:39:25.782 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:METER_EQUIPMENT_IDENTIFIER, cosemValues:{=G0016561201838313}) to list of Cosem Objects
2018-11-08 17:39:25.783 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Received obisIdString 0-1:24.2.1, obisId: 0-1:24.2.1, values: (181108170000W)(11303.464*m3)

2018-11-08 17:39:25.784 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Found obisId 0-1:24.2.1 in the dynamic lookup table
2018-11-08 17:39:25.785 [TRACE] [rnal.device.cosem.CosemObjectFactory] - Parse values for Cosem Object type: M3METER_VALUE
2018-11-08 17:39:25.786 [TRACE] [mr.internal.device.cosem.CosemObject] - Parsing CosemValue string (181108170000W)(11303.464*m3)

2018-11-08 17:39:25.786 [TRACE] [mr.internal.device.cosem.CosemObject] - Received items: 2 is supported
2018-11-08 17:39:25.787 [TRACE] [dsmr.internal.device.cosem.CosemDate] - Trying pattern: (\d{12})([S,W]?)
2018-11-08 17:39:25.788 [TRACE] [dsmr.internal.device.cosem.CosemDate] - 181108170000W matches pattern: (\d{12})([S,W]?)
2018-11-08 17:39:25.789 [TRACE] [l.device.p1telegram.P1TelegramParser] - Adding Cosem Object(type:M3METER_VALUE, cosemValues:{=11303.464 ㎥, timestamp=2018-11-08T17:00:00.000+0100}) to list of Cosem Objects
2018-11-08 17:39:25.790 [TRACE] [l.device.p1telegram.P1TelegramParser] - telegramState OK, crcValue to check 0x2C33
2018-11-08 17:39:25.791 [TRACE] [l.device.p1telegram.P1TelegramParser] - received CRC value: 2C33, calculated CRC value: 0x2C33
2018-11-08 17:39:25.792 [TRACE] [internal.device.DSMRTelegramListener] - Received 33 Cosem Objects with state: 'OK'
2018-11-08 17:39:25.792 [TRACE] [r.internal.handler.DSMRBridgeHandler] - Telegram received time set: 247411741233899
2018-11-08 17:39:25.794 [TRACE] [r.internal.handler.DSMRBridgeHandler] - Update child:device_v5 with 33 objects
2018-11-08 17:39:25.795 [TRACE] [inding.dsmr.internal.meter.DSMRMeter] - supported identifiers: [0-0:96.13.0, 1-3:0.2.8, 0-0:1.0.0], searching for objects [Cosem Object(type:P1_VERSION_OUTPUT, cosemValues:{=42}), Cosem Object(type:P1_TIMESTAMP, cosemValues:{=2018-11-08T17:40:17.000+0100}), Cosem Object(type:EMETER_EQUIPMENT_IDENTIFIER, cosemValues:{=E0003000003440514}), Cosem Object(type:EMETER_DELIVERY_TARIFF1, cosemValues:{=18980.396 kWh}), Cosem Object(type:EMETER_DELIVERY_TARIFF2, cosemValues:{=15770.543 kWh}), Cosem Object(type:EMETER_PRODUCTION_TARIFF1, cosemValues:{=0.000 kWh}), Cosem Object(type:EMETER_PRODUCTION_TARIFF2, cosemValues:{=0.000 kWh}), Cosem Object(type:EMETER_TARIFF_INDICATOR, cosemValues:{=0002}), Cosem Object(type:EMETER_ACTUAL_DELIVERY, cosemValues:{=1.717 kW}), Cosem Object(type:EMETER_ACTUAL_PRODUCTION, cosemValues:{=0.000 kW}), Cosem Object(type:EMETER_POWER_FAILURES, cosemValues:{=8}), Cosem Object(type:EMETER_LONG_POWER_FAILURES, cosemValues:{=5}), Cosem Object(type:EMETER_POWER_FAILURE_LOG, cosemValues:{timestamp1=2000-01-01T00:00:15.000+0100, timestamp0=2017-06-21T02:50:45.000+0200, entries=2, obisId=0-0:96.7.19, duration1=2147483647 s, duration0=4009 s}), Cosem Object(type:EMETER_VOLTAGE_SAGS_L1, cosemValues:{=0}), Cosem Object(type:EMETER_VOLTAGE_SAGS_L2, cosemValues:{=0}), Cosem Object(type:EMETER_VOLTAGE_SAGS_L3, cosemValues:{=3}), Cosem Object(type:EMETER_VOLTAGE_SWELLS_L1, cosemValues:{=0}), Cosem Object(type:EMETER_VOLTAGE_SWELLS_L2, cosemValues:{=0}), Cosem Object(type:EMETER_VOLTAGE_SWELLS_L3, cosemValues:{=0}), Cosem Object(type:P1_TEXT_CODE, cosemValues:{=}), Cosem Object(type:P1_TEXT_STRING, cosemValues:{=}), Cosem Object(type:EMETER_INSTANT_CURRENT_L1, cosemValues:{=2 A}), Cosem Object(type:EMETER_INSTANT_POWER_PRODUCTION_L2, cosemValues:{=0.000 kW}), Cosem

(Herman) #114

Solved,
I selected a v4 electric meter iso. a v5 meter.
Sorry stupid.


(Hilbrand Bouwkamp) #115

At least it doesn’t seem to be a problem with the binding :smile: I’m assuming you manually configured the binding in a things file and it’s not something the discovery process returned? Did you have a message in the log There are some unrecognized values (or in dutch if you have configured openHAB for dutch language). I’m going to see if I can add a warning message to give the user a warning if a wrong meter is configured.


(Herman) #116

Sorry for the late reply, I do not see this message in the log, also not in dutch.
I only have a snippet of the log, maybe I selected the wrong part.


(Sven Richter) #117

Hi everyone,
I have some problems related to the DSMR binding. I just did a fresh openhabian install (openHAB 2.3.0-1) and I can’t find the DSMR2 binding in PaperUI. I only find the binding-dsmr1 - 1.12.0, which is the old version and I can’t get it to work. I googled a bit and found org.openhab.binding.dsmr-2.4.0-SNAPSHOT.jar which is the DSMR 2 binding. Copying it in the addons folder I get:

2018-12-14 18:31:51.066 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.dsmr-2.4.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.dsmr [196]
Unresolved requirement: Import-Package: org.eclipse.jdt.annotation; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.smarthome.io.transport.serial
at org.eclipse.osgi.container.Module.start(Module.java:444) [?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) [?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [9:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [9:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [9:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [9:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [9:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [9:org.apache.felix.fileinstall:3.6.4]

and I understand that somehow the “new” bindings don’t work easily with openhab2.3. So, 2 questions:

  1. Which is the binding I should use for DSMR? In the docs it clearly states that the old one is not supported any longer and one should use https://www.openhab.org/addons/bindings/dsmr/
  2. Why is the new DSMR binding not ‘out of the box’ shown in PaperUI and how can I get it to work?

Thanks!

BTW: The meter seems to deliver correct data. E.g.
cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q
outputs a lot of data


(Hilbrand Bouwkamp) #118

@Sven_Richter The binding is not shown ‘out of the box’ in PaperUI in 2.3.0 because it’s not part of 2.3.0. There is a beta version available in the Eclipse market place, but you need to enable the market place in PaperUI in configuration system and set to beta maturity level. However that is not going to help because the market place binding is dependent on to be reelased version of openHAB 2.4.0

The documentation you did see was probably the lastest version (you can select the version) and that explains the deprecation.

openHAB 2.4.0 is to be scheduled for release next week. So you can wait till next week or upgrade to snapsot or milestone release.I would not recommend trying to get the old binding to work.


(Sven Richter) #119

@hilbrand Thanks a lot. I will wait for next week then. Excellent response


(Sven Richter) #120

Just to report that I have upgraded to openhab 2.4.0 and the DSMR binding now works like a charm. Thanks @hilbrand