I just pushed a new build that uses the common HttpClient provided by OH and some other minor updates. Can you all please update to the latest and report back. I would like to stop with this build and open a new PR before doing any further development.
I’m actually wiring the last electrical panel right now.
We’re getting closer to being done on the inside. The crappy winter weather has held us up outside but thankfully that’s starting to change. I’m hoping we’re moved in by the end of April!
For me it doesnt work on 2.5.0-M1. With a previous working configuration, I uninstalled the unifi binding using Paper UI and then uploaded the Build #98 to the addons directory. Getting the error message
Status: OFFLINE - CONFIGURATION_ERROR Error establishing an SSL connection with the UniFi controller
in PaperUI and the following in logs:
2019-03-11 16:57:10.954 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:509a65e0' changed from OFFLINE (BRIDGE_OFFLINE): The UniFi Controller is currently offline. to UNINITIALIZED
2019-03-11 16:57:10.955 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:509a65e0' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2019-03-11 16:57:10.955 [hingStatusInfoChangedEvent] - 'unifi:controller:55832b6c' changed from OFFLINE (CONFIGURATION_ERROR): Error establishing an SSL connection with the UniFi controller to UNINITIALIZED
2019-03-11 16:57:10.980 [hingStatusInfoChangedEvent] - 'unifi:controller:55832b6c' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2019-03-11 16:58:01.180 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:509a65e0' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2019-03-11 16:58:01.183 [hingStatusInfoChangedEvent] - 'unifi:controller:55832b6c' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-03-11 16:58:01.270 [hingStatusInfoChangedEvent] - 'unifi:controller:55832b6c' changed from INITIALIZING to OFFLINE (CONFIGURATION_ERROR): Error establishing an SSL connection with the UniFi controller
2019-03-11 16:58:01.279 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:509a65e0' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2019-03-11 16:58:01.281 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:509a65e0' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): The UniFi Controller is currently offline.
Hi, first all thanks to Matthew for this binding and its development.
Below is my working configuration up to version OH2 2.5.0 ~ S1549-1 build # 1549.
The next OH2 update to # 1552, 1553, 1554 caused that no data is downloaded from the Unifi controller. If I uninstall binding via Paper UI and put org.openhab.binding.unifi-2.4.0-SNAPSHOT.jar file to the addons directory everything works without a problem. Please help me understand where the mistake lies.
bad news, it does not work at all. As if all things are online (bridge and phones) but no data is downloaded from the UniFi controller. When I change the file from version 2.5.0 to 2.4.0 everything reacts immediately. I do not understand it completely
I’m sorry to hear that… I will try upgrading to the snapshot you’re running and see if I can reproduce your issue. It will be over the weekend as I’m quite busy with my house - I’m installing the last electrical panel tomorrow!
2019-03-15 17:14:45.875 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from UNINITIALIZED to INITIALIZING
2019-03-15 17:14:46.309 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from INITIALIZING to ONLINE
2019-03-15 17:14:46.310 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:matthewsPhone' changed from UNINITIALIZED to INITIALIZING
2019-03-15 17:14:46.327 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:matthewsPhone' changed from INITIALIZING to ONLINE
2019-03-15 17:14:46.482 [vent.ItemStateChangedEvent] - MatthewsPhone changed from NULL to ON
2019-03-15 17:14:46.488 [vent.ItemStateChangedEvent] - MatthewsPhoneSite changed from NULL to Home
2019-03-15 17:14:46.488 [vent.ItemStateChangedEvent] - MatthewsPhoneUptime changed from NULL to 3956
2019-03-15 17:14:46.502 [vent.ItemStateChangedEvent] - MatthewsPhoneAP changed from NULL to Living Room
2019-03-15 17:14:46.507 [vent.ItemStateChangedEvent] - MatthewsPhoneRSSI changed from NULL to 41
2019-03-15 17:14:46.508 [vent.ItemStateChangedEvent] - MatthewsPhoneESSID changed from NULL to Home
2019-03-15 17:14:46.508 [vent.ItemStateChangedEvent] - MatthewsPhoneLastSeen changed from NULL to 2019-03-15T17:14:42.000+0200
2019-03-15 17:14:56.539 [vent.ItemStateChangedEvent] - MatthewsPhoneUptime changed from 3956 to 3970
2019-03-15 17:14:56.539 [vent.ItemStateChangedEvent] - MatthewsPhoneLastSeen changed from 2019-03-15T17:14:42.000+0200 to 2019-03-15T17:14:56.000+0200
I would try this…
Remove any UniFi binding version you manually copied to the addons folder
Uninstall any UniFi binding version you installed via PaperUI