[unifi] Fix PoE port mode for 24V (#13539)
* [unifi] Fix PoE port mode for 24V The value UniFi expects is actually pasv24. Tested with different UniFi controller versions. * [unifi] Added Hilbrand as codeowner to UniFi binding Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
9313310b5e
commit
f87a49dbeb
@@ -199,15 +199,15 @@ Sending `ON` to this channel will trigger a reconnect via the controller.
|
||||
|
||||
The `poePort` information that is retrieved is available as these channels:
|
||||
|
||||
| Channel ID | Item Type | Description | Permissions |
|
||||
|------------|--------------------------|----------------------------------------------------|-------------|
|
||||
| online | Switch | Online status of the port | Read |
|
||||
| mode | Selection | Select the PoE mode: off, auto, 24v or passthrough | Read, Write |
|
||||
| enable | Switch | Enable Power over Ethernet | Read, Write |
|
||||
| cmd | String | Command channel: `power-cycle`: Power Cycle port | Write |
|
||||
| power | Number:Power | Power consumption of the port in Watt | Read |
|
||||
| voltage | Number:ElectricPotential | Voltage of the port in Volt | Read |
|
||||
| current | Number:ElectricCurrent | Current used by the port in mA | Read |
|
||||
| Channel ID | Item Type | Description | Permissions |
|
||||
|------------|--------------------------|-------------------------------------------------------|-------------|
|
||||
| online | Switch | Online status of the port | Read |
|
||||
| mode | Selection | Select the PoE mode: off, auto, pasv24 or passthrough | Read, Write |
|
||||
| enable | Switch | Enable Power over Ethernet | Read, Write |
|
||||
| cmd | String | Command channel: `power-cycle`: Power Cycle port | Write |
|
||||
| power | Number:Power | Power consumption of the port in Watt | Read |
|
||||
| voltage | Number:ElectricPotential | Voltage of the port in Volt | Read |
|
||||
| current | Number:ElectricCurrent | Current used by the port in mA | Read |
|
||||
|
||||
The `enable` switch channel has a configuration parameter `mode` which is the value used to switch PoE on when the channel is switched to ON.
|
||||
The default mode value is `auto`.
|
||||
|
||||
Reference in New Issue
Block a user