Seems that innogy did some changes to the configuration and since yesterday openhab can’t authenticate anymore.
2020-06-30 06:53:36.099 [ERROR] [oauth2client.internal.OAuthConnector] - grant type refresh_token to URL https://auth.services-smarthome.de/AUTH/token failed with HTTP response code 500
Just use the one from innogy central thing Setup in openHAB. Only replace what indicated above.
I do not place it here as I do thing part of it is specific for every central.
I have changed to openHAB2.5.7 snapshot #159. It already includes the modified binding with the new auth-link.
By the way: the Amazon innogy binding is affected as well as openHAB. There the binding needs to be deactivated and activated again using the new auth-link. This is a mess and i believe that innogy doesn’t take care of the results of such changes.
Hi, same problem on my side. Had response errors “401” or “API calls quota exceeded! maximum admitted 100 per Minute.”
New token generation as described:
Go to your innogy Smarthome Controller and click Pencil to edit
Copy the Link from the “Authorization Code” configuration field
I updated now to openhab 2.5.7 , and after that I needed to readd the Authorization Code, but after it stays at “initialization” …
I removed the bridge, and now discovery won’t find it anymore … any ideas?
Edit:
After removing the add-on, delete temp & cache & reinstall the add-on its working again
I’ve got the same issue after 2.5.7 update, but your solution did not work.
I keep getting the same Warning in Log
2020-08-02 10:27:14.526 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
at org.openhab.binding.innogysmarthome.internal.client.entity.device.Device.setReachable(Device.java:404) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.client.entity.device.Device.setMessageList(Device.java:394) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.getFullDevices(InnogyClient.java:488) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.manager.DeviceStructureManager.refreshDevices(DeviceStructureManager.java:85) ~[?:?]
at org.openhab.binding.innogysmarthome.internal.handler.InnogyBridgeHandler.startClient(InnogyBridgeHandler.java:237) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_262]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_262]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_262]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_262]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
Did you try restarting (not rebooting) OH a few times? Also if you have openhabian config tool try selecting the option to have all items load before any rules.