Closed g0uus closed 4 years ago
It appears I was premature. Although I had restarted the bundle and received the results shown, a full reboot seems to have resolved the issue sorry.
Graham
I was premature yet again :(
Although most actuators are working ok (so I can switch lights on/off) all sensors are failed :(
All Sensor things are showing their state as "UNINITIALIZED - BRIDGE UNINITIALIZED" Although the Gateway thing is showing as "ONLINE"
Further info - The actuators(Switches) that are working and showing state as ONLINE were all switched by sending commands to OpenHAB groups. Another switch that is not operated through a group is in the "UNINITIALIZED - BRIDGE UNINITIALIZED"
I am also facing same issue
2019-12-18 20:19:49.816 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.mysensors.handler.MySensorsBridgeHandler@18a8395': bundleContext java.lang.NoSuchFieldError: bundleContext at org.openhab.binding.mysensors.handler.MySensorsBridgeHandler.registerDeviceDiscoveryService(MySensorsBridgeHandler.java:216) ~[?:?] at org.openhab.binding.mysensors.handler.MySensorsBridgeHandler.initialize(MySensorsBridgeHandler.java:86) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232] at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?] at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232] 2019-12-18 20:19:49.865 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'mysensors:bridge-ser:13424d90': bundleContext java.lang.NoSuchFieldError: bundleContext at org.openhab.binding.mysensors.handler.MySensorsBridgeHandler.registerDeviceDiscoveryService(MySensorsBridgeHandler.java:216) ~[?:?] at org.openhab.binding.mysensors.handler.MySensorsBridgeHandler.initialize(MySensorsBridgeHandler.java:86) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232] at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?] at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Thanks Tim, Hopefully be able to try it out when I get home tonight.
Graham
On Thu, 19 Dec 2019 at 11:08, Tim notifications@github.com wrote:
Please use THIS http://oberfoell.com/openhab2/org.openhab.binding.mysensors-2.5.0-SNAPSHOT.jar binding while I'm working on a new release.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/tobof/openhab2-addons/issues/137?email_source=notifications&email_token=ADIEGRAL53RN4VJE4V4QF6DQZNI2PA5CNFSM4J34NF6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJIMKQ#issuecomment-567445034, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIEGRAFOGOXVR2HSTLLJALQZNI2PANCNFSM4J34NF6A .
Installed the 2.5.0-SNAPSHOT - all working again.
I did look for a 2.5.0-SNAPSHOT but I couldn't find it :(
Thanks again for quick fix Tim
Graham.
I have been running that latest (that I could find) 2.4 SNAPSHOT binding for most of the year and that has been pretty reliable. However, having now updated to OpenHab 2.5 the binding no longer initialises correctly (It appears that the binding thinks it is OKI but OpenHAB has actually failed it
Log entries following restarting the bundle from the console.
Expected Behavior
MySensors items should keep working oin OpenHab as previously.
Current Behavior
All MySensors items are unusable. Even though the OpenHAB logs show the binding is receiving updates from various sensor nodes, the associated OpenHAB items are not being updated. Setting OpenHAB switch items does not result in messages being sent to the gateway
Context
This has now left me with an unusable MySensors network (as ALL access is through OpenHab). As a result I am having to revert my Christmas Lights to manual switching just in time for Christmas.
Your Environment
OpenHab 2.5 on RPI 2+ with MySensors serial gateway on Arduino Nano nRF24 radios/