mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 07:02:02 +01:00
[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:
parent
9313310b5e
commit
f87a49dbeb
@ -333,7 +333,7 @@
|
||||
/bundles/org.openhab.binding.tr064/ @openhab/add-ons-maintainers
|
||||
/bundles/org.openhab.binding.tradfri/ @cweitkamp @kaikreuzer
|
||||
/bundles/org.openhab.binding.twitter/ @computergeek1507
|
||||
/bundles/org.openhab.binding.unifi/ @mgbowman
|
||||
/bundles/org.openhab.binding.unifi/ @mgbowman @Hilbrand
|
||||
/bundles/org.openhab.binding.unifiedremote/ @GiviMAD
|
||||
/bundles/org.openhab.binding.upb/ @marcusb
|
||||
/bundles/org.openhab.binding.upnpcontrol/ @mherwege
|
||||
|
@ -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`.
|
||||
|
@ -84,7 +84,7 @@
|
||||
<description>The value to set when setting PoE on.</description>
|
||||
<options>
|
||||
<option value="auto">Auto</option>
|
||||
<option value="24v">24V</option>
|
||||
<option value="pasv24">24V</option>
|
||||
<option value="passthrough">Passthrough</option>
|
||||
</options>
|
||||
<default>auto</default>
|
||||
|
@ -82,7 +82,7 @@ channel-type.unifi.poeMode.label = PoE Mode
|
||||
channel-type.unifi.poeMode.description = The PoE mode the port is in
|
||||
channel-type.unifi.poeMode.state.option.off = Off
|
||||
channel-type.unifi.poeMode.state.option.auto = Auto
|
||||
channel-type.unifi.poeMode.state.option.24v = 24V
|
||||
channel-type.unifi.poeMode.state.option.pasv24 = 24V
|
||||
channel-type.unifi.poeMode.state.option.passthrough = Passthrough
|
||||
channel-type.unifi.poePower.label = Port PoE Power
|
||||
channel-type.unifi.poePower.description = Power usage of the PoE port
|
||||
@ -127,7 +127,7 @@ channel-type.unifi.wpaMode.description = WPA Mode of the Wi-Fi network
|
||||
channel-type.config.unifi.poeEnable.mode.label = On Mode
|
||||
channel-type.config.unifi.poeEnable.mode.description = The value to set when setting PoE on.
|
||||
channel-type.config.unifi.poeEnable.mode.option.auto = Auto
|
||||
channel-type.config.unifi.poeEnable.mode.option.24v = 24V
|
||||
channel-type.config.unifi.poeEnable.mode.option.pasv24v = 24V
|
||||
channel-type.config.unifi.poeEnable.mode.option.passthrough = Passthrough
|
||||
|
||||
# status messages
|
||||
|
@ -341,7 +341,7 @@
|
||||
<options>
|
||||
<option value="off">Off</option>
|
||||
<option value="auto">Auto</option>
|
||||
<option value="24v">24V</option>
|
||||
<option value="pasv24">24V</option>
|
||||
<option value="passthrough">Passthrough</option>
|
||||
</options>
|
||||
</state>
|
||||
|
Loading…
Reference in New Issue
Block a user