-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
IEC-62056-21 Binding: Support for ISKRA MT174 OBIS Codes #4239
Comments
You may get more feedback by discussing this at the community forum. After you determine if this is a bug or a feature request, please update the issue with a link to the forum discussion. Thanks. |
Hi Steve, thanks for your reply. Well, there is already a open thread on the OH community -> see: https://community.openhab.org/t/iec-62056-21-meter-binding-iskra-mt-174/9059 getId (https://www.openmuc.org/projects/j62056/javadoc/) As you can see in my first posting, the communication with the meter seems to be OK, data is coming in. Only the binding seems to interpret this in a wrong way. This makes sense, as the binding author brings some examples of using the binding, but only bringing 'iec6205621meter="meter1:1.8.1"' as example. But as from OpenMUC, these are the 'old' EDIS codes, not the (newer) OBIS codes. regards |
@kreutpet Any comments on this issue? |
Hi all, oh yes I see. The issue is that the item configuration uses ":" to separate the meter name from the OBIS code. So the only way out is to use a different separation string in the item binding configuration. /kreutpet |
Hello @kreutpet , thanks a lot for your feedback! Well, unfortunately I´m not a developer and I´m not into programming. { iec6205621meter="meter1;1-0:1.8.0*255" } What I´ve also seen at other bindings could be something like this: { iec6205621meter="meter1", OBIS="1-0:1.8.0*255" } Would that be an option? regards |
Hi Daniel, unfortunately I do not have a IDE up an running to implement the change. Change need to be implemented in
The only change is in line "StringTokenizer tokenizer = new StringTokenizer(bindingConfig.trim(), ";"); " I am not sure it you can also change this in the jar file directly for test purposes. Then a BR |
Hi Daniel, again tried to get IDE up and running . major improvement has been done here. /kreutpet |
Hi @kreutpet well, what can I say - its working now! :)
Really, thanks a lot!!! regards |
That's great to hear. thx |
IEC-62056-21 Binding: Support for ISKRA MT174 OBIS Codes OBIS code of the format A-B:C.D.E*F conflict with item configuration in which conflicts with separation string in item configuration cherry-picked from #4281 Signed-off-by: Thomas Eichstädt-Engelen <thomas@openhab.org>
Hello,
no values are shown in Openhab even data comes in. I guess its because of the OBIS codes of the ISRKA MT174 meter.
When starting OH in debug mode, the binding gets the data (from my point of view) correct from the meter. The log shows the following:
I´ve created a Item Number in my Items files:
Number Strom "Zählerstand [%d]" (gVerbrauch) { iec6205621meter="meter1:1-0:1.8.0*255" }
I´ve tried different variations of the OBIS code, but nothing worked. I guess the binding parses the '*' in a wrong way, so the item gets no value from the binding (but I´m not into Java, so correct me if I´m wrong).
I´m on the latest OH release 1.8.2 (but also tried with 1.8.1). Also tried version 1.7.0, 1.8.1, 1.8.2 and 1.9.0 (latest nightly) of the binding - didnt work either.
The type of the meter is: ISKRA MT174-D1A51-M3K03, IR reader comes from volkszaehler.org (IR USB reader) & OH running on a Raspi 2.
Would be nice if someone could look at this.
thanks
Daniel
The text was updated successfully, but these errors were encountered: