Skip to content
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

setDeviceSettingsBase restarts UniFi Flex #207

Open
breaknanger opened this issue Jun 17, 2023 · 4 comments
Open

setDeviceSettingsBase restarts UniFi Flex #207

breaknanger opened this issue Jun 17, 2023 · 4 comments

Comments

@breaknanger
Copy link

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

@jens-maus
Copy link
Owner

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.

@breaknanger
Copy link
Author

breaknanger commented Jun 17, 2023 via email

@jens-maus
Copy link
Owner

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..

@breaknanger
Copy link
Author

Thanks for the heads up, fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants