Thanks to @dkriegner, we now know what the API looks like to control PoE settings on gateway ports (e.g. ER7212PC).
This change adds a function to modify the setting on a one gateway port at a time, to match the API for switches. This might not be the most efficient way if we want to control lots of ports at the same time, but it fits the HA use case of having a toggle switch for each port.
I've also added a poe command line mode that allows PoE control and state reporting for gateways, switches and access points.
Thanks to @dkriegner, we now know what the API looks like to control PoE settings on gateway ports (e.g. ER7212PC).
This change adds a function to modify the setting on a one gateway port at a time, to match the API for switches. This might not be the most efficient way if we want to control lots of ports at the same time, but it fits the HA use case of having a toggle switch for each port.
I've also added a
poe
command line mode that allows PoE control and state reporting for gateways, switches and access points.