Open breaknanger opened 1 year ago
Just have a look in your UniFi Network environment app or the smartphone app. If there the same happens when you switch on/off a certain PoE port then there is nothing node-unifi can do differently. Or if you cannot switch on/off individual PoE settings in these official unifi apps, then switching individual PoE ports on/off of the USW-Flex is simply not supported.
I’ll test this tomorrow and let you know the results.
Please refrain from Answering via email because all your mail reply text including your private information is now visible on github! GitHub notification mails should not be answered in your mail client but you should always use the web interface or github app instead..
Thanks for the heads up, fixed it
I have a launchd script that runs every two hours to turn POE on and off. This script runs on my UniFi USW-Pro-24-PoE without it power cycling the entire switch; however, running the same script on the USW-Flex causes it to restart the entire switch. Is this unavoidable, or is there a different command I could use when interacting with the USW-Flex via API? I am using the script provided in this library.
https://github.com/jens-maus/node-unifi/blob/master/examples/poe-switch-onoff.js