since yesterday I get the following error message:
2020-02-15 21:43:34.376 [WARN ] [internal.handler.InnogyBridgeHandler] - Unexcepted API error:
Unknown error: ErrorResponse [code=5002, description=Communication with the SHC failed,
messages=[The communication with the device(SHC) failed.]]
org.openhab.binding.innogysmarthome.internal.client.exception.ApiException: Unknown error:
ErrorResponse [code=5002, description=Communication with the SHC failed, messages=[The
communication with the device(SHC)
failed.]]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.handleResponseErrors(InnogyClient.java:262) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.request(InnogyClient.java:189) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.executeGet(InnogyClient.java:140) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.executeGetList(InnogyClient.java:156) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.getCapabilities(InnogyClient.java:640) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.getFullDevices(InnogyClient.java:408) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.manager.DeviceStructureManager.refreshDevices(DeviceStructureManager.java:85) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.handler.InnogyBridgeHandler.startClient(InnogyBridgeHandler.java:236) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_232]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_232]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?: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]
It seems that OH is connecting to SHC sometimes and as soon as OH triggers a command the exception occurs.
What have I done so far:
Restarted SHC (v2)
Resetted SHC
retrieved new Authcode
2020-02-15 21:46:02.560 [INFO ] [oauth2client.internal.OAuthConnector] - grant type authorization_code to URL https://api.services-smarthome.de/AUTH/token success
Used bindings:
the official version of openHAB 2.5.1
3.0.0-SNAPSHOT from 23.12.2019 19:30
The last update on SHC to 2.0.9.88 I have done last week and after that the binding worked as expected.
Same here. Problem started yesterday at 16:32. It recovered in between and then stopped working again.
I tried the same action with same result.
My SHC is V2 with Version 1.1.12.269.
Well, I was not on the 3.0 snapshot and I did not open the thread. So I do not want to resolve his thread until we have his feedback.
I leave some time for Martin T to respond but I keep an eye on the thread and make sure it is marked resolved
Using the recommended snapshot version and restarting OH two times solved the problem
But in my defense, from @hilbrand’s 3.0 release notes:
innogy Beta with fixes on 2.5 release
Version of binding name (23/12/2019 19:30)
Note: The jar has version 3.0.0-SNAPSHOT. But it should work with openHAB 2.4 and 2.5
Make sure there is no other binding version installed except the one in the addons file then clean the cache and give OH a few restarts. Also watch the logs as OH starts up to see if there are any clues.
Mine ist still fine. Innogy Snapshot 2.5.2. Innogy software is now 8.16-1.1.13.295.
I am receiving values and can send commands.
But something must have changed on the innogy side as it was was running without any issues for quite a while. Can also be changes at their data center.