DECONZ:No Data from Aqara Sensor. Lights are working

Hi Everyone,

since my upgrade to OH3 the Sensor Pipeline from my 6 Button Aqara Switch is not working.
I have deleted and re learned on the Deconz side,
then re integrated into OH through Auto Discovery and mapped it to my file based items.
The Sensor Switch is shown in openhab as GONE (Offline - not rechable).
In Deconz the Switch is shown available and could switch Lights (if adapted in an Group).

In Openhab the DECONZ Debug Log is:

2021-01-14 20:47:56.226 [DEBUG] [internal.handler.DeconzBridgeHandler] - Get full state failed
java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException: Total timeout 2000 ms elapsed
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[?:?]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) [?:?]
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088) [?:?]
at org.openhab.binding.deconz.internal.netutils.AsyncHttpClient$1.onComplete(AsyncHttpClient.java:109) [bundleFile:?]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:198) [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:190) [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.client.HttpExchange.notifyFailureComplete(HttpExchange.java:269) [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.client.HttpExchange.abort(HttpExchange.java:240) [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.client.HttpConversation.abort(HttpConversation.java:149) [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.client.HttpRequest.abort(HttpRequest.java:768) [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.client.HttpDestination$TimeoutTask.onTimeoutExpired(HttpDestination.java:529) [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.io.CyclicTimeout$Wakeup.run(CyclicTimeout.java:282) [bundleFile:9.4.20.v20190813]
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:834) [?:?]
Caused by: java.util.concurrent.TimeoutException: Total timeout 2000 ms elapsed
… 8 more

What could the problem be?
Can I post more messages or test anything?

Thank you and Best Regrads,
Chris

Openhab: Openhab 3.0.0 - Release Build
Deconz: 3.0.0 │ openHAB Add-ons :: Bundles :: Dresden Elektronik deCONZ Binding

Looks like a connection problem. How many sensors are attached?

Hi,
I have resetted deconz and attached only the 6 Button aqara and the 4 wall switches.

Are you still on the release-version?

Yes I‘m in the Release Version. Should I switch to the testing Branch?
Nightly i think is quite instabil or?

Just update the bundle on the karaf console:

update org.openhab.binding.deconz https://openhab.jfrog.io/artifactory/libs-snapshot-local/org/openhab/addons/bundles/org.openhab.binding.deconz/3.1.0-SNAPSHOT/org.openhab.binding.deconz-3.1.0-20210115.032511-23.jar

Hi J-N-K,
I have updated the binding to last of today.
The problem still occures.

I reseted the deconz gateway and uninstall and install the deconz binding.
Before that I’ve deleted the all deconz things.

Then I have re install the binding and re integrate the things, but the problem still occurs.

I had the following error if i trigger the switch.

2021-01-22 21:57:10.695 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 2 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:10.702 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 2 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:10.748 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 4 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:10.754 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 4 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:10.760 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 65520 with resource type GROUPS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:10.770 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 1 with resource type GROUPS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:10.804 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 3 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:14.261 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 3 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:14.270 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 65520 with resource type GROUPS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:14.273 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 1 with resource type GROUPS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:16.009 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 2 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:16.394 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 4 with resource type LIGHTS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:16.400 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 65520 with resource type GROUPS. Either no thing for this id has been defined or this is a bug.
2021-01-22 21:57:16.404 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 1 with resource type GROUPS. Either no thing for this id has been defined or this is a bug.

But these are not errors. They are only errors igneous defined things for these ids. As I said earlier:

  • set logging to TRACE
  • push button
  • show the websocket message from the sensor

Hi,
it still doesn’t work.
If I learn a new 6switch on to deconz following happens:

2021-01-24 17:58:40.140 [TRACE] [nternal.netutils.WebSocketConnection] - Websocket$1611506897253-1 received raw data: {“e”:“added”,“id”:“6”,“r”:“sensors”,“sensor”:{“config”:{“battery”:null,“on”:true,“pending”:[“mode”],“reachable”:true},“ep”:1,“etag”:“48a0dc86c083f0e98ecf94353eb1cab8”,“id”:“6”,“lastseen”:“2021-01-24T16:58Z”,“manufacturername”:“LUMI”,“mode”:1,“modelid”:“lumi.remote.b686opcn01”,“name”:“lumi.remote.b686opcn01 6”,“state”:{“buttonevent”:null,“lastupdated”:“none”},“type”:“ZHASwitch”,“uniqueid”:“04:cf:8c:df:3c:77:b9:f1-01-0012”},“t”:“event”,“uniqueid”:“04:cf:8c:df:3c:77:b9:f1-01-0012”}
2021-01-24 17:58:40.144 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 6 with resource type SENSORS. Either no thing for this id has been defined or this is a bug.
2021-01-24 17:58:46.194 [TRACE] [nternal.netutils.WebSocketConnection] - Websocket$1611506897253-1 received raw data: {“e”:“changed”,“id”:“6”,“name”:“OPPLE switch 3-gang”,“r”:“sensors”,“t”:“event”,“uniqueid”:“04:cf:8c:df:3c:77:b9:f1-01-0012”}
2021-01-24 17:58:46.197 [DEBUG] [nternal.netutils.WebSocketConnection] - Couldn’t find listener for id 6 with resource type SENSORS. Either no thing for this id has been defined or this is a bug.

Does this help?

The id of the new sensor is 6? Can you show the config of the thing for that sensor?

you mean in paperui?

But the main problem is there is no message in the trace log if i push the button…

That’s really strange. Can you please show the log when you disable/enable the thing for the sensor? And is the switch working in phoscon?