You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-06-22 19:45:00.126 [ERROR] [ng.gree.internal.handler.GreeHandler] - ac_sypialnia_gl: Thing initialization failed: Unable to bind to device
org.openhab.binding.gree.internal.GreeException: Unable to bind to device
at org.openhab.binding.gree.internal.handler.GreeAirDevice.bindWithDevice(GreeAirDevice.java:175) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeHandler.initializeThing(GreeHandler.java:115) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeHandler.lambda$1(GreeHandler.java:363) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.net.SocketTimeoutException: Receive timed out
at sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633) ~[?:?]
at sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240) ~[?:?]
at java.net.DatagramSocket.receive(DatagramSocket.java:710) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeAirDevice.receiveResponse(GreeAirDevice.java:474) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeAirDevice.bindWithDevice(GreeAirDevice.java:165) ~[?:?]
... 8 more
AC does respond on scan query but does not respond anything to bind packet.
Possible Solution
I have also Gree Amber that works fine with the binding I have noticed that response to scan package is slightly different:
Change the encription mode to GCM if different when bindind to AC
device fails with SocketTimeoutException and try again.
Detect if device version is bigger than or equal to 2 and set encryption
to GCM
Fixesopenhab#16911
Signed-off-by: Zhivka Dimova <[email protected]>
lovery
added a commit
to lovery/openhab-addons
that referenced
this issue
Sep 10, 2024
Change the encryption mode to GCM if different when binding to AC
device fails with SocketTimeoutException and try again.
Detect if device version is bigger than or equal to 2 and set encryption
to GCM
Fixesopenhab#16911
Signed-off-by: Zhivka Dimova <[email protected]>
Binding does not work with Gree Clivia device
Expected Behavior
Binding binds to an AC
Current Behavior
Binding fails with:
AC does respond on scan query but does not respond anything to bind packet.
Possible Solution
I have also Gree Amber that works fine with the binding I have noticed that response to scan package is slightly different:
Gree Amber:
Gree Clivia:
Steps to Reproduce (for Bugs)
Context
Your Environment
openHAB 4.1.3
The text was updated successfully, but these errors were encountered: