Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please compile for new OH versions #3

Open
WiredLife opened this issue Aug 4, 2020 · 14 comments
Open

please compile for new OH versions #3

WiredLife opened this issue Aug 4, 2020 · 14 comments

Comments

@WiredLife
Copy link

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 =)

@MikeTheTux
Copy link
Contributor

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
Copy link
Contributor

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

@WiredLife
Copy link
Author

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?

@MikeTheTux
Copy link
Contributor

MikeTheTux commented Mar 6, 2021

Which hardware device you use?

Amber Wireless

@MikeTheTux
Copy link
Contributor

MikeTheTux commented Mar 7, 2021

PR #6

@pokerazor
Copy link

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

@WiredLife
Copy link
Author

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

@MikeTheTux
Copy link
Contributor

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.

@Baggerfahrer
Copy link

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?

@JensHoRi
Copy link

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

@MikeTheTux
Copy link
Contributor

Please give the latest version org.openhab.binding.wmbus-3.1.0-SNAPSHOT-20210805.zip from PR #7 a try.

@JensHoRi
Copy link

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
Copy link

Is there a chance to get a 3.2.0 jar too?

@t2000
Copy link

t2000 commented Jul 31, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants