Closed GerdZanker closed 3 years ago
Damn, I thought I tested my changes, but maybe openHAB still used an old binding jar :/ Thanks for the fix of String.format!
Found the bug in my local setup. openHAB had cached version 2.5.1 of our bundle and loaded it instead of the updated 2.5.9 version :/ Hope I didn't introduce too many other bugs with my refactorings!
The
BoschHTTPClient
requests were broken and I fixed thecreate*()
code andString.format(...)
. Updated exception handling and logging for connection and pairing. Described the source of certificates, compare PR findings.The PR findings regarding pairing are pending, but I was able to learn from the Hue binding how the pairing and polling are implemented there. I think a similar
PollingRunnable
class + instances code and the scheduloing withscheduler.scheduleWithFixedDelay
will fit for us too.