What exactly is the new built-in UniFi Network Integration capable of? I don't see the documentation?
Specifically, I am looking for the ability to control the POE mode on a unifi switch port.
I don''t believe it can do that. You may want to look at @snell's integration.
The documentation is available now:
The documented UniFi Network API does not provide a way to turn PoE on or off on demand or change anything else about PoE, only power cycle. That is what the powerCylcePort()
command does.
If you think more be useful, I'd encourage you to submit your feedback to UniFi that you'd find this valuable over the API, however!
You may want to load the Unifi Integration Manager from the below link.
Then load @snell unifinetwork integration.
The built in integration uses the Unifi Network API which isn't very robust. Snell has done a great job integrating with the unifi Network webhooks directly from the Network Application. It is a bit nore robust. It gives you the ability to set a port to Auto(on) or off.
Thank you for the link.
I know that this is possible since bifocus Companion module is able to control POE:
It’s done by changing the POE mode.
Can you clarify exactly what you mean by mode.
Are you thinking on/off, or like 802.11af vs 802.11.at vs 802.11bt
I just want to make sure we are clear what your expectation is.
I don't think this is about can it be done, but just what has the ability to do the the task for your expectations. If a powercycle is all that ia needed then even the built in app could do it as @bertabcd1234 mentioned
I mean actually enabling and disabling Poe power on specific ports.
Here is what that Companion module offers
As I mentioned:
But:
However, as @mavrrick58 mentioned:
(It is my understanding that this uses reverse-engineered pieces of the web interface to access additional functionality unofficially; the built-in integration uses only the official API.)