Ubiquity Unifi AC Pro: HANDLER_MISSING_ERROR

I use a Ubiquity Unifi AC-Pro and have access via the Ubiquiti UniFi Controller (used in Windows).

I installed OH 2.5 on my raspberry pi new today. I installed the Unifi Binding, and entered all appropriate values into the paperUI.

I checked several times the values.

The error log still is:

2019-12-25 20:22:52.127 [hingStatusInfoChangedEvent] - ‘unifi:controller:4f687aa4’ changed from INITIALIZING to OFFLINE (COMMUNICATION_ERROR): Error communicating with the UniFi controller

Anyone else who has some issues ?

Did you restore an old configuration backup? Some addons are invalid or have been moved. This causes addons to reload every minute, trying to load the invalid ones.
Check addons.cfg and addons.config files for issues. A common issue is restdocs moved from misc to ui. yahooweather is no longer valid due to discontinued service.

no, I didn’t restore an old configuration. I build up a totally fres system, so any line in the addons.cfg is commented / started by an ‘#’.
Whatever ‘restdocs modec’ means, until now I have not yahooweather binded.

regards, Dirk

1 Like

That should have said restdocs moved. Thanks for the correction. Also corrected addons.config but it is moot for a new install. Sorry, I do not use Ubiquity,

Bruce, I really wouldn’t you emend - excuse me! I really have no clue about ‘restdocs’.
Again, I really appreciate your help,
best regards,

Dirk

Update: I installed on my pi the unifi controller instead of using the controller GUI on my UAC PRO permanently via windows.

Current result:
[18:22:59] openhabian@openhab:~$ sudo service unifi status
[sudo] Passwort für openhabian:
● unifi.service - unifi
Loaded: loaded (/lib/systemd/system/unifi.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2020-01-06 18:23:05 CET; 1s ago
Cntrl PID: 13961 (unifi.init)
Tasks: 2 (limit: 2319)
Memory: 1.3M
CGroup: /system.slice/unifi.service
├─13961 /bin/bash /usr/lib/unifi/bin/unifi.init start
└─14102 sleep 1

Jan 06 18:23:05 openhab systemd[1]: Starting unifi…
Jan 06 18:23:06 openhab unifi.init[13961]: Starting Ubiquiti UniFi Controller: unifiCannot locate Java Home
Jan 06 18:23:07 openhab unifi.init[13961]: failed!

So the unifi controller is inactive. But when I enter https://<…ip…>:8443 I will be redirected to the openhab welcome page - instead of the GUI from the controller!?

My thing configuration is:

Bridge unifi:controller:home “unifi” [ host=“192.168.178.xxx”, port=8443, username=“xxxx”, password=“xxxxxxxxx”, refresh=10 ] {

Thing wirelessClient dirksPhone "Dirk's iPhone" [ cid="70:8A:09:9E:D7:FA", site="default", considerHome=180 ]

Thing wirelessClient leasPhone  "Lea's iPhone" [ cid="C0:D0:12:B9:0F:03", site="default", considerHome=180 ]

}

But Paper UI states that unifi still has ‘unifi OFFLINE -COMMUNICATION_ERROR’

May be an issu with the installed java version ZULU?

[18:23:32] openhabian@openhab:~$ java -version
openjdk version “1.8.0_222”
OpenJDK Runtime Environment (Zulu8.40.0.178-CA-linux_aarch32hf) (build 1.8.0_222-b178)
OpenJDK Client VM (Zulu8.40.0.178-CA-linux_aarch32hf) (build 25.222-b178, mixed mode, Evaluation)

Any more ideas?

Isn´t this the same problem which has been reported in the Unifi binding thread?