Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

POE port control? #170

Closed autolog closed 1 year ago

autolog commented 1 year ago

More a question than an issue?

Is it possible to turn the power on or off for a POE port as one can do in the UniFi Controller using Port Management. I realise there is POE port power cycling but I want to be able to turn POE power off and have it stay off until I turn it on again.

Thanks. :)

malle-pietje commented 1 year ago

Please check out this example: https://github.com/Art-of-WiFi/UniFi-API-client/blob/master/examples/update_switch_poe-mode.php

and this issue: https://github.com/Art-of-WiFi/UniFi-API-client/issues/168

autolog commented 1 year ago

Thanks for the links. :)