Replies: 3 comments 5 replies
-
In the comments you can find this info: |
Beta Was this translation helpful? Give feedback.
3 replies
-
Use the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here’s one:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks!
I have a UniFi Network Server with a USW Lite 8 PoE switch.
I used the api to enable/disable the poe mode of the 4 poe ports.
Now I want to enable / disable ports 5-8. Therefore I review the example script and found the necessary variables: site_id, device_mac, port_idx and port_conf_id.
Where do I find the value for port_conf_id? I used the API Browser with "listed devices" collection and didn't find the port_conf_id. I only found the native_networkconf_id.
If I set the port_conf_id with the value (63df8da0352df3000735dbce) and run the script, I get a false displayed.
This is my config:
$site_id = '19ftjhki';
$device_mac = 'd8:b3:70:5b:8a:e2';
$port_idx = 3;
$port_conf_id = '63df8da0352df3000735dbce';
How do I disable and enable the ports?
Greetings
Beta Was this translation helpful? Give feedback.
All reactions