openhab-binding-wmbus icon indicating copy to clipboard operation
openhab-binding-wmbus copied to clipboard

please compile for new OH versions

Open WiredLife opened this issue 4 years ago • 14 comments

the binding has stopped working later OH versions with this error [ERROR] [ing.wmbus.handler.WMBusBridgeHandler] - Cannot open WMBus device. Connection builder returned: gnu.io.NoSuchPortException maybe it has something to do with https://github.com/openhab/openhab-addons/pull/7609/files/dae1dce8d198680b26334d17759ef69ff3c1ef35

can you compile latest version for latest OH? thank you very much =)

WiredLife avatar Aug 04 '20 19:08 WiredLife

I re-compiled the plugin for OH3. Unfortunatly it's not yet working. wmbus:wmbusbridge:fb05851252:last_frame of the bridge populates with cyclic messages, but I do not get an encrypted wmbus device online :-(

MikeTheTux avatar Mar 04 '21 19:03 MikeTheTux

Got it working using latest OH3.1.0 SNAPSHOT:

org.openhab.binding.wmbus-3.1.0-SNAPSHOT_20210305.zip

You need to configure include BridgeUID to ON, in order to get it discovery working under OH3: grafik

Installation like described in README.md

MikeTheTux avatar Mar 05 '21 21:03 MikeTheTux

Got it working using latest OH3.1.0 SNAPSHOT:

org.openhab.binding.wmbus-3.1.0-SNAPSHOT_20210305.zip

You need to configure include BridgeUID to ON, in order to get it discovery working under OH3: grafik

Installation like described in README.md

Great! Which hardware device you use?

WiredLife avatar Mar 06 '21 00:03 WiredLife

Which hardware device you use?

Amber Wireless

MikeTheTux avatar Mar 06 '21 06:03 MikeTheTux

PR https://github.com/KuguHome/openhab-binding-wmbus/pull/6

MikeTheTux avatar Mar 07 '21 21:03 MikeTheTux

@WiredLife thanks to the great work of @MikeTheTux , the binding should now work for OH 3. Can you Check?

pokerazor avatar Mar 26 '21 21:03 pokerazor

dont work with 3.1.0 M4 kills all bindings with serial connection devices

WiredLife avatar May 22 '21 10:05 WiredLife

There are some incompatible changes in OH3.1.0 core. I guess they need to be resolved in order to get the binding running. I can have a look once I updated to OH3.1.0.

MikeTheTux avatar May 22 '21 11:05 MikeTheTux

is this issue related to https://community.openhab.org/t/serial-binding-error-during-instantiation-of-the-implementation-object/122931?

for me, the binding dont work either, the serial binding does not show up (stays uninitialized).

any hints?

Baggerfahrer avatar May 30 '21 05:05 Baggerfahrer

I just tried to get WM-Bus-Binding to work after Stick arrived.

While starting the binding, console shows following error:

openhab> bundle:start 281
Error executing command: Error executing command on bundles:
Error starting bundle 281: Could not resolve module: org.openhab.binding.wmbus [281]
Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"

While searching in openhab community, saw this sometimes caused by missing dependencies in pom.xml?

Tried with your linked build from March

JensHoRi avatar Oct 18 '21 11:10 JensHoRi

Please give the latest version org.openhab.binding.wmbus-3.1.0-SNAPSHOT-20210805.zip from PR https://github.com/KuguHome/openhab-binding-wmbus/pull/7 a try.

MikeTheTux avatar Oct 18 '21 12:10 MikeTheTux

Installation with this SNAPSHOT worked.

Stick up and running. Thanks for very fast reply! Didn't saw that new SNAPSHOT before, sorry for asking.

Just one information: After restart of openhab Device-Status of stick is "unknown" until I stop it in UI and start Thing again.

Log shows following error:

2021-10-18 15:19:02.208 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
        at org.openmuc.jrxtx.JRxTxPort.openSerialPort(JRxTxPort.java:61) ~[?:?]
        at org.openmuc.jrxtx.SerialPortBuilder.build(SerialPortBuilder.java:140) ~[?:?]
        at org.openmuc.jmbus.transportlayer.SerialLayer.open(SerialLayer.java:30) ~[?:?]
        at org.openmuc.jmbus.wireless.AbstractWMBusConnection.open(AbstractWMBusConnection.java:77) ~[?:?]
        at org.openmuc.jmbus.wireless.WMBusConnection$Builder.build(WMBusConnection.java:162) ~[?:?]
        at org.openmuc.jmbus.wireless.WMBusConnection$WMBusSerialBuilder.build(WMBusConnection.java:98) ~[?:?]
        at org.openhab.binding.wmbus.handler.WMBusBridgeHandler.lambda$0(WMBusBridgeHandler.java:135) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:829) [?:?]

I'll wait now until Devices got discovered, hope it will work. Need to start with read out some "heat cost allocators"

Many thanks for your work on this binding for openhab. Would be much appreciate if it will be part of official distribution OH 3.2 :-)

JensHoRi avatar Oct 18 '21 13:10 JensHoRi

Is there a chance to get a 3.2.0 jar too?

JensHoRi avatar Dec 13 '21 09:12 JensHoRi

@KuguHome: Do you have any plans in adding this binding to the official Oh distribution?

I think about starting to play around with my Sensus iPERL water meter which uses this protocol and together with the open PR about CUL devices, your binding looks promissing.

t2000 avatar Jul 31 '22 16:07 t2000