Updated external content (Jenkins build 2327)
parent
df5df88005
commit
ec51884dd9
File diff suppressed because one or more lines are too long
|
@ -214,7 +214,7 @@ Check log or catch exceptions for error handling
|
|||
- `IllegalArgumentException` thrown in case of problems with call arguments
|
||||
- `SolarForecastException` thrown in case of problems with timestamp and available forecast data
|
||||
|
||||
### `getDay`
|
||||
### `getEnergyOfDay`
|
||||
|
||||
| Parameter | Type | Description |
|
||||
|-----------|---------------|--------------------------------------------------------------------------------------------|
|
||||
|
@ -327,7 +327,7 @@ rule "Tomorrow Forecast Calculation"
|
|||
Item ForecastSolarHome_Today received update
|
||||
then
|
||||
val solarforecastActions = getActions("solarforecast","solarforecast:fs-site:homeSite")
|
||||
val energyState = solarforecastActions.getDay(LocalDate.now.plusDays(1))
|
||||
val energyState = solarforecastActions.getEnergyOfDay(LocalDate.now.plusDays(1))
|
||||
logInfo("SF Tests","{}",energyState)
|
||||
ForecastSolarHome_Tomorrow.postUpdate(energyState)
|
||||
end
|
||||
|
|
|
@ -27,6 +27,7 @@ This binding integrates with [Ubiquiti UniFi Networks](https://www.ubnt.com/prod
|
|||
- `wirelessClient` - Any wireless client connected to a UniFi wireless network
|
||||
- `wiredClient` - A wired client connected to the UniFi network
|
||||
- `poePort` - A PoE (Power over Ethernet) port on a UniFi switch
|
||||
- `accessPoint` - An access point managed by the UniFi controller software
|
||||
|
||||
## Discovery
|
||||
|
||||
|
@ -120,6 +121,15 @@ The following table describes the `poePort` configuration parameters:
|
|||
| portNumber | The port number as reported by the switch (starts with 1) | Required |
|
||||
| macAddress | The MAC address of the switch device the port is part of | Required |
|
||||
|
||||
### `accessPoint`
|
||||
|
||||
The following table describes the `accessPoint` configuration parameters:
|
||||
|
||||
| Parameter | Description | Config | Default |
|
||||
| ------------ | ------------------------------------------------|--------- | ------- |
|
||||
| mac | The MAC address of the access point | Required | - |
|
||||
| site | The site where the access point should be found | Optional | - |
|
||||
|
||||
## Channels
|
||||
|
||||
### `site`
|
||||
|
@ -242,6 +252,14 @@ The `poePort` information that is retrieved is available as these channels:
|
|||
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`.
|
||||
|
||||
### `accessPoint`
|
||||
|
||||
The `accessPoint` information that is retrieved is available as these channels:
|
||||
|
||||
| Channel ID | Item Type | Description | Permissions |
|
||||
|------------|-----------|------------------------------------|-------------|
|
||||
| enable | Switch | Enable or disable the access point | Read, Write |
|
||||
|
||||
## Rule Actions
|
||||
|
||||
As an alternative to using the `guestVoucher` and `guestVouchersGenerate` channels on the `site` thing, it is possible to use rule actions on the thing to generate, revoke and list guest vouchers.
|
||||
|
|
|
@ -141,6 +141,21 @@
|
|||
<config-description-ref uri="thing-type:unifi:poePort"/>
|
||||
</thing-type>
|
||||
|
||||
<thing-type id="accessPoint">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="controller"/>
|
||||
</supported-bridge-type-refs>
|
||||
|
||||
<label>UniFi Access Point</label>
|
||||
<description>An access point managed by a UniFi controller</description>
|
||||
|
||||
<channels>
|
||||
<channel id="enable" typeId="apEnable"/>
|
||||
</channels>
|
||||
|
||||
<config-description-ref uri="thing-type:unifi:accessPoint"/>
|
||||
</thing-type>
|
||||
|
||||
<!-- Channels -->
|
||||
|
||||
<channel-type id="totalClients">
|
||||
|
@ -421,4 +436,10 @@
|
|||
<state pattern="%.2f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="apEnable" advanced="false">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Enabled</label>
|
||||
<description>If the access point is enabled</description>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
|
|
Loading…
Reference in New Issue