Closed reibuehl closed 2 years ago
you can do that with the setPortProfiles command.
Function content is
//Change a port PoE status of Dome Camera
msg.payload =
{
command: "setPortProfiles",
device_id: "<switch device id>",
port_overrides:
[
{
"port_idx": 12,
"poe_mode": "off"
}
]
};
return msg;
There is more info here #34
It would be great to be able to toggle the PoE status of a port to reboot a hanging PoE powered device.