This is short answer from add-on author:
Maybe that help for someone.
I am currently looking for person running this add-on on RPi4 at Raspbian in 64 bit version.
This is short answer from add-on author:
Maybe that help for someone.
I am currently looking for person running this add-on on RPi4 at Raspbian in 64 bit version.
BTW, switching back to 32bit solves that problem, the add-on works again as nothing ever happened.
Reverse proxy (NGINX) most probably somehow interfere with Unifi Controller add-on. Reinstalling both add-ons finally do works. But both. Stopping/Reinstalling NGINX only, did not help.
Thanks @Recte, @BartEngelen
I do not exclude problems origin in restoring them from backup.
I am running the 64 bit version of Home Assistant on RPi4 with 4 Gb of RAM.
Since I fixed some problems of “re-adoption” of my devices during transfer from a PC, the Unifi add-on works like a charm.
I was worried that the add-on might load too much my RPi4 but in practice the memory and cpu usage are quite low on my test system (I currently only have very few devices controlled by HA).
Does anyone know if the Unifi Lite PoE switches can be controlled per port via this Home Assistant integration or if its only for the more expensive models?
I want to be able to control the device (power to the port) to toggle a security camera on/off when the home alarm is activated. I’m referring to the Unifi Switch Lite 16 PoE and the Unifi Switch Lite 8 PoE.
I’m planning on buying these asap so all kind of feedback is welcome.
Not sure you are on the right place. This thread is about unifi add-on not unifi integration.
Ah, I looked around because it didn’t feel right but didn’t find anything else. Thanks for letting me know
I am not running the Unifi integration anymore at the moment so I can’t test it.
I have a Unifi US-8-60W switch and if I remember correctly there was no way to control the power on POE port from HA. The only control I remember was to enable/disable specific clients.
Edit: have a look here https://www.home-assistant.io/integrations/unifi/
This might be what you need?
### CONTROL CLIENTS POWERED BY POE
Entities appear automatically for each connected POE client. If no POE client device is in operation, no entity will be visible. Note: UniFi infrastructure devices such as access points and other switches are not (yet) supported, even if they are powered over ethernet themselves.
Note that POE control actually configures the network port of the switch which the client is connected to.
hey all,
not sure what im doing wrong.
i can get everything to start as expected and i can see the UI, however my devices are not showing up? I have a controller installed on my PC which fine and i can access on my phone as well. Or is it a case that you cant have multiple controllers? so its either PC or Home Assistant Add-On?
I updated the controller with the IP address of my HA deployment, as per the instructions, then restarted the add-on
Config:
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
log_level: debug
logs:
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 00-banner.sh: executing…Hass.io Add-on: UniFi Controller
Manage your UniFi network using a web browserAdd-on version: 0.19.3
You are running the latest version of this add-on.
System: Home Assistant OS 5.9 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2020.12.1
Home Assistant Supervisor: 2020.12.7Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] unifi.sh: executing…
[cont-init.d] unifi.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[13:47:07] INFO: Starting the UniFi Controller…
make sure your controller settings are correct, did you restore a backup from your current controller?
You can have only ONE controller it is either PC or HA add-on but not both.
If you decide to use HA you will have to migrate devices see https://help.ui.com/hc/en-us/articles/115002869188 after that you wont be able to use controller on PC
As mentioned above, you can only have one controller at a time and you’ll need to migrate between the two.
What hardware are you running the add-on on ?
I ask as I’ve previously had it running on a rpi3+ but reliability was poor, I think due to limited RAM
For information: on my RPi4 with 4 GB the Unifi add-on works great only using about 30% of memory for the overall HA.
A nice benefit of having the controller on HA is that if you use DuckDns add-on you also get an https connection to the UniFi controller
the new controller should still show the devices, and mention that they are managed by a other controller
Today I upgraded my firmware CloudKey/Controller. It has the new UniFi OS.
Now it won’t work anymore. I don’t know if the account settings are the problem or the new OS breaks the HA integration.
Anyone has similar problems?
This thread is for the Unifi add-on, I suspect you are talking about the Unifi integration ?
Eh, yeah, my mistake, sorry for that…
BTW, I managed to get it working again, by reinstalling the integration and change the port number to 443 (instead of old 8443)
I thought i could use the add-on, however i have a UDM-Pro, so not sure the addon gives me any benefit at all
No - Do not install as you cannot have two Unifi Controllers!
But yo may be interested in Unifi Integration https://www.home-assistant.io/integrations/unifi/
Hello,
I´m thinking to replace my RPi3B+ by RPi4. So I would like to ask you, if I will run RPi4 from snapshot from RPi3B+, will also run the controller? Or do I have to do backup old RPi and restore new RPi?
Thank you in advance