Hi all,
since a few days the Hydrawise Bridge (account thing) goes offline „configuration_error unauthorized“ every few hours. Disabling the thing in the UI and enabling it again solves the problem - but as I said it goes offline again after several hours.
I don’t use this binding but if there is an error there is almost certainly something printed to the log. If not or if there isn’t enough useful info in the log, change the logging level for the binding to DEBUG or TRACE and see if you can gather useful information.
Interestingly enough, Hydrawise has made the GraphQL API that i’m using publicly available for its customers, and provides a way for customers to get an API key for authentication in the App which is really awesome of them (unlike the MyQ guys, uhg) . I will look at using this vs a username/password, this may alleviate the errors we are seeing since using the username and password was probably not how they designed the API to work in our use case ( i had to reverse engineer it at the time)
Here is an updated version, if it gets this unauthorized error, it will wait 60 seconds, then try to refresh the API token. This seems to work nicely, i have had this running for a few days and things look good. The latest jar can be found at:
You can either drop this in your addons folder (remove the old binding first) , or you can upgrade the existing binding in place directly from github with the cli which is what i do:
thanks for your work, Dan.
I removed binding, installed the new jar-file to addons folder, rebooted many many times (including deletion of cache- and tmp-folders) but I am unable to get the new binding online:
2024-01-05 18:47:58.113 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'hydrawise:account:93b1aa87de' changed from UNINITIALIZED (HANDLER_MISSING_ERROR): Handler factory not found to UNINITIALIZED (NOT_YET_READY)
2024-01-05 18:47:58.117 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'hydrawise:controller:ff257852:312233' changed from UNINITIALIZED (HANDLER_MISSING_ERROR): Handler factory not found to UNINITIALIZED (NOT_YET_READY)
at org.openhab.binding.hydrawise.internal.handler.HydrawiseAccountHandler.getServices(HydrawiseAccountHandler.java:129) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.openhab.core.config.discovery.AbstractThingHandlerDiscoveryService cannot be found by org.openhab.binding.hydrawise_4.2.0.202401051647