-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unifi PoE not working #71017
Comments
Hey there @Kane610, mind taking a look at this issue as it has been labeled with an integration ( unifi documentation |
What version of UniFi controller are you running? |
Same for me too. Any ports with a PoE client fail to enable or disable PoE. Unifi Version - UniFi OS UCK G2 Plus 2.4.8 Local user account with Administrator permissions used for integration from HA. Controlling a couple of IP phones and Dante devices. Not trying to control Unifi devices (APs etc) as not supported. |
Current versions: Connecting to a Cloud Key with Local user and role Administrator. Trying to turn on/off a port where an Axis Camera is connected. There are other clients that I can't tell what they are (I'm not onsite) that I try to turn on/off but it's also not working. It used to work in the previous version of the Network Controller |
If I configure the port directly on the network switch, the switch entity in HA does reflect if the port has PoE enabled or disabled (on or off state). Looks like the call from HA to Unifi to enable or disable PoE is failing? |
Yes, I activated the logs and I can see the request going out and the response coming in. The response to change the port status has the code 403 (Forbidden). 2022-04-28 17:48:42 DEBUG (MainThread) [aiounifi.devices] Override port 5 with mode off |
I don't have any time for the next few days. But will look at this after. Same issue seems to be with block commands. Maybe unifi have changed something |
Tested and works fine with UniFiOS UDM Pro 1.11.4, UniFi Network 7.1.61 Check that your user has credentials enough to control POE. |
To add also, same issue for me PoE control has stopped working. UDM PRO 2.4.9 Using account with full access rights. |
Super admin? Can you share a screenshot of the user config page of the user? |
What happens if you start downgrading your system, do you find a point where it starts working again? |
+1. Same problem here. See #70356 |
I think maybe my problem started with the upgrade of the switch to 6.2.14 - pretty sure I was on 6.2.11 previously. Model I've got a lot of 'stuff' hanging off this switch, so will try and downgrade perhaps early Sunday morning....when the lazy people are all still asleep. |
Thanks |
6.2.11 did not resolve the problem - but caused a whole heap of other issues during the downgrade. Thanks unifi. Might be a while before I can test some more downgrades, need to let the general moaning from the family subside a bit! |
I've started doing some general refactoring of the unifi library. When I'm further along I will also upgrade my switch to the latest firmware and see if that has any effect. |
Chiming in to report similar issues. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Unfortunately I'm still seeing this with the latest update 2022.6.6 Other seem to be posting similar issues in the forums but are not posting their issue via github. |
Can confirm the issue is still present with the latest stable release also. |
+1. Problem persisting |
I think the guy working on issue 73071 has figured out why this is happening but not how to fix just yet. |
The problem
Pulled the latest home assistant version and make the integration to a Unifi Controller CLoud Key. The user is local-access and role administrator with all permissions.
I can see PoE switches once the integration is done.
When turning PoE clients on/off I get this response.
2022-04-28 17:48:42 DEBUG (MainThread) [aiounifi.devices] Override port 5 with mode off
2022-04-28 17:48:42 DEBUG (MainThread) [aiounifi.controller] https://10.7.254.30:443/proxy/network/api/s/default/rest/device/619d429784b28907dd89df7e
2022-04-28 17:48:42 DEBUG (MainThread) [aiounifi.controller] 403 application/json <ClientResponse(https://10.7.254.30:443/proxy/network/api/s/default/rest/device/619d429784b28907dd89df7e) [403 Forbidden]>
What version of Home Assistant Core has the issue?
core-2022.4.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
unifi controller
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifi
Diagnostics information
config_entry-unifi-2cfea9d7d7a07a560690b6f774e3a19c.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: