THANK YOU Matthew.
Question: is the build #118 planned to be in a next snapshot of OH? What is the process in this case? Just to know
thanks again
Andrea
You can use build #118 right now!
I run my own Jenkins build server to make it easier for everyone (myself included) to be able to run the latest binding code
See my previous post on how to update the binding in your running openhab installation.
Have the same problem with 2.5.3 - never turns off again. Rolled back to 2.4 and now everything is fine
To help me debug this problem, is it possible for you to give me the exact OS + OH version + Binding version you’re running?
I assume you’re running OH 2.5.3 but are you using a dev build of the binding or the included version with OH?
The above goes for everybody who is having an issue with OH 2.5.x
Please comment on the issue I created:
Hi mgbowman,
I’m running OH 2.5.4
unify cloudkey Fw 1.1.10
Unifi controller v5.12.66
Device UniFi AP-AC-LR (4pcs) Version FW 4.0.80.10875
As you can see in the picture, I have no indication.
Both the controller and the client are indicated “online” (green) in the things conf.
I configured both via PaperUI and not via text.
Jad
On my system, I can no longer maintain a connection from the binding to the Unifi controller.
Versions:
Openhab 2.5.3
Unifi bundle: 2.5.3.202003181638
I have the following in the logs, over and and over again:
2020-04-27 13:38:20.075 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE
2020-04-27 13:38:20.076 [hingStatusInfoChangedEvent] - 'unifi:site:home:unifiSite' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:20.076 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:annasPhone' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:20.076 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:briansPhone' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:20.077 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:ethansIpad' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:20.077 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:dylansKindle' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:30.140 [WARN ] [.handler.UniFiControllerThingHandler] - Unhandled exception while refreshing the UniFi Controller unifi:controller:home - null
2020-04-27 13:38:30.140 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)
2020-04-27 13:38:30.141 [hingStatusInfoChangedEvent] - 'unifi:site:home:unifiSite' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:30.141 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:briansPhone' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:30.141 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:annasPhone' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:30.141 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:dylansKindle' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:30.141 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:ethansIpad' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:40.180 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE
2020-04-27 13:38:40.180 [hingStatusInfoChangedEvent] - 'unifi:site:home:unifiSite' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:40.181 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:briansPhone' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:40.181 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:annasPhone' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:40.182 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:ethansIpad' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:40.182 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:dylansKindle' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:38:50.217 [WARN ] [.handler.UniFiControllerThingHandler] - Unhandled exception while refreshing the UniFi Controller unifi:controller:home - null
2020-04-27 13:38:50.217 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)
2020-04-27 13:38:50.218 [hingStatusInfoChangedEvent] - 'unifi:site:home:unifiSite' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:50.218 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:briansPhone' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:50.218 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:annasPhone' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:50.218 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:dylansKindle' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:38:50.219 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:ethansIpad' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:39:00.275 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE
2020-04-27 13:39:00.275 [hingStatusInfoChangedEvent] - 'unifi:site:home:unifiSite' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:39:00.275 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:briansPhone' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:39:00.276 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:annasPhone' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:39:00.276 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:ethansIpad' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:39:00.277 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:dylansKindle' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2020-04-27 13:39:10.310 [WARN ] [.handler.UniFiControllerThingHandler] - Unhandled exception while refreshing the UniFi Controller unifi:controller:home - null
2020-04-27 13:39:10.311 [hingStatusInfoChangedEvent] - 'unifi:controller:home' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)
2020-04-27 13:39:10.311 [hingStatusInfoChangedEvent] - 'unifi:site:home:unifiSite' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:39:10.311 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:briansPhone' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:39:10.312 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:annasPhone' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:39:10.312 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:ethansIpad' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2020-04-27 13:39:10.312 [hingStatusInfoChangedEvent] - 'unifi:wirelessClient:home:dylansKindle' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
Every 10 seconds the binding goes offline (after the null exception).
Any pointers on how to resolve?
I to have had issues since moving to 2.5.0 & above. For me it was not just the online channel but all channels not updating. I had the issues when I first moved to 2.5.0 from 2.4.0 & subsequently every version since. 2.5.1, 2.5.2, 2.5.3 & now 2.5.4. It would occasionally update but only after a restart and only very briefly would it work.
I’m running OH 2.5.4 on Windows 10
Unifi controller v5.12.66
I have since downloaded the 2.4.0 version (from here https://jenkins.otr.mx/job/openhab2-unifi-binding/90/) of the binding, removed the PaperUI version & installed the 2.4.0 version manually in the addons folder and so far it is working perfectly.
Further to my previous post only 1 of 3 devices I have connected via the binding are still reporting status correctly after a few hours. The 2 devices that have stopped reporting have been connected to the wireless all night. All are reporting in the UniFi controller correctly. 1 is a Samsung S10 5G, 1 is a Samsung S20 5G & 1 is a Lenovo E10 Tablet. After disconnecting from the wifi & reconnecting the Samsung S10 5G & Samsung S20 5G have started reporting in the binding again.
When running the binding from 2.5.4 all devices would stop reporting & not check back in until restarting OpenHab2.
I can confirm this configuration worked after upgrading the firmware on the AP’s tonight.
Unifi Binding = 2.4
Controller = 5.12.66
Firmware = 4.3.13
Best, Jay
Hello everybody and sorry for my absence!
First I hope that everyone is well, safe and healthy in these difficult times that are affecting us all.
To everybody running OH 2.4, there was a major (breaking) change in the core of OH and the binding in handling the self-signed SSL certificate on the controller. If there’s enough demand, I will try and back-port the latest codebase to make a 2.4 compatible version of the binding.
To everybody running OH 2.5, I just finished refreshing my dev environment and have Eclipse open in front of me and I will begin investigating all the reported connection issues.
Stay tuned!
Matthew
Count me in for 2.4 change.
Best, Jay
Back with an update.
After re-reading everybody’s connection issues, I started to wonder if maybe the changes introduced when migrating from 2.4.x to 2.5.x are causing some (if not most) of the issues.
That being said, I have reverted the core changes, setup two branches on the same codebase and created two builds on my Jenkins server.
I kindly ask that you all update and report back - even it it’s just a “works for me”
After I get some feedback (to know whether this works or not), I will begin implementing all the feature requests … looking at you @havaak
Matthew
Great work Matt… And welcome back
Dont know if this is important. But I´m actually using the 2.5.3-snapshot binding (two years old) on openhab 2.5.0(stable). Its working just fine.
Will give the new one a shot later today.