Closed gcormier closed 2 years ago
Why don’t you take not of the switch’s full device details, then simply toggle the PoE port to off through the controller UI and compare the changes. Specifically have a good look at the port_overrides section.
My guess is you need to change the poe_mode for the port to “off”.
switched to pyUnifi
If you’re more into Python that’s a good move. Good luck.
I'm trying to toggle PoE on a port. There is a PoE splitter on that port, so no actual network device nor MAC address.
My code is below. I'm not clear on how to do this. Am I switching a port between profiles, or am I assign the port to 1 profile, and then modifying the profile?
I do see my unifi portal say "updating" for a minute, and back to ready, but the lightning bolt remains on the port.