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)
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)
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
the official version of openHAB 2.5.1
3.0.0-SNAPSHOT from 23.12.2019 19:30
The last update on SHC to 188.8.131.52 I have done last week and after that the binding worked as expected.
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
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-184.108.40.2065.
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.