You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just came across this tool myself and found some terms a bit confusing (--host TEXT = The URL of the unifi controller). But is works.
# Install with pipx
pipx install git+https://github.com/ep1cman/unifi_poe
# Power cycle port labeled as 2 on UDM-SE
unifi_poe \
--host my_udm_ip \
--username local_user \
--controller_type udm \
--switch-mac aa:bb:cc:dd:ee:ff \
--switch-port 2 cycle
One side effect I have in my setup is that I lose the connect to the UDM on a completely unrelated switch which I have to restart by myself. But it's late now and I will have to figure it out later.
To make it work on a schedule you will have to use something like cron / systemd timers or something appropriate in a programming or scripting language.
Edit: And you should use a local account, because the script can't handle MFA.
Is it possible to use same or similar on UDM-SE to powercycle PoE on a schedule?
The text was updated successfully, but these errors were encountered: