My apologies if this has already been discussed or is documented somewhere I missed, but is there an API to control the POE output on certain ports? Furthermore, do the switches already have the ability to run or could a capability to run a NUT-client on the switch be added? My specific application is to shut off all the Poe devices I don’t need when power goes down to maximize the time my ups can provide. Thanks in advance for your help!
Alta Labs has an API, but it has not yet been released to the public. I’ve been working on a home assistant integration, which could possibly do this.
There may also be a way of SSHing into the device itself and turning down the power from there, but I’ve looked around the image and I don’t see an easy way to turn off the power going to a specific port.
I’d definitely be interested in learning more about your home assistant integration if you wouldn’t mind sharing. I still have to ssh into the switch and poke around myself.
@Alta-Jeff sorry to bother you but any chance you could point me in the right direction/let me know if it’s probably not possible at the moment? I’m considering upgrading my s24 to the the s48 and migrating a bunch of new devices over to Poe so I was hoping to be able to implement this feature so my ups is able to last a little bit with all this new load on it.
@christomaszewski We share the API documentation with anyone under NDA with us: https://dl.alta.inc/do-not-distribute/Alta-NDA.pdf
Otherwise, you should be able to look at the Network Tab in the Developer console of your browser to see what API calls are emitted when you enable/disable POE. You can also ssh into the devices and run the “poe -e 0” or “poe -d 0” to enable/disable POE on a port, too.
For the sake of anyone else looking for this info, you can use “poe -p 0” to get the status of the port.
Thanks so much for the info! I’m happy to share any scripts I come up with on my GitHub - I’ll update this thread when I get around to this following my s48 (and hopefully AP7 Pro
) upgrades.