I have some troubles setting up my unifi controller via the web ui.
I’m using 0.81 on a RP3b and there a two issues and a question.
clicking on the configure link in the integrations section doesn’t work in chrome on pc
using edge it works, but I get the error “User input malformed” when trying to set up the unifi controller, no matter what I enter in the required fields. Any ideas?
my question regarding unifi in general: I have manually set up a device_tracker in the configuration.yaml file for unifi: that doesn’t seem to do anything - my WLAN devices still show up as entities with “source_type: router” when I disable this device_tracker.
So I’m a bit confused - where do they come from?
Before performing the integration I commented out the include-line in configuration.yaml and renamed device_tracker.yaml and known_devices.yaml and restarted the Home Assistant.
FYI, when detected they will be stored in known_devices.yaml
When attribute track: is set to true it will appear in your frontend, if attribute hide_if_away is set to true they will only appear when connected.
Edit: Just enabled logs to debug the issue as described in home assistant’s unifi page, and it magically worked without an issue. Tried exactly same thing but worked. I don’t know how, lol.
Edit2: Just confirmed it stops working if I disable logs. Strange behaviour.
The device tracker implementation is still separate from the UniFi integration. It will be moved into the integration at a later date. Hopefully that will go unnoticed when it happens.
For the issues: I have fixed an issue when setup takes to long and triggers a retry.
The malformed user input issue seems to be that the port is sent as a string instead of a integer. By cancelling the configure window prompt and starting it a new seems to solve that issue.
This other issue with logs is something I can’t reproduce. Can you go into more details what you are doing?
I have no experience with the device tracker component yet so I can’t really help you there. All I can say is that it should work since it is separate from the unifi integration with poe control
I’ve noticed that you can get passed the Malformed User input by clicking on configure, trying to set up the integration, getting the error, cancel the integration and then starting it anew. Second time the port will be a proper integer.
Hi, the integration works for me, just a small remark: it gives me the possibility to switch off my CloudKey, but when you do that, there is no way to turn it on again. IMO would be better to hide the port.
I added the integration but it doesn’t show any devices. I have several POE powered cameras and I was under the impression that this integration would enable POE devices to become switches.