Updated external content (Jenkins build 328)

pull/1569/head
openHAB Build Server 2021-03-22 04:47:23 +00:00
parent 1ac9febd19
commit f61019cc0e
47 changed files with 205 additions and 176 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -23,6 +23,8 @@ The binding supports:
- auto discovery of BUS/SCS IP and ZigBee USB gateways; auto discovery of devices
- commands from openHAB and feedback (events) from BUS/SCS and wireless network
![MyHOMEServer1 Gateway](doc/MyHOMEServer1_gateway.jpg)
![F454 Gateway](doc/F454_gateway.png)
![ZigBee USB Gateway](doc/USB_gateway.jpg)
@ -55,6 +57,7 @@ The following Things and OpenWebNet `WHOs` are supported:
| Gateway Management | `13` | `bus_gateway` | Any IP gateway supporting OpenWebNet protocol should work (e.g. F454 / MyHOMEServer1 / MH202 / F455 / MH200N, ...) | Successfully tested: F454, MyHOMEServer1, MyHOME_Screen10, F455, F452, F453AV, MH201, MH202, MH200N. Some connection stability issues/gateway resets reported with MH202 |
| Lighting | `1` | `bus_on_off_switch`, `bus_dimmer` | BUS switches and dimmers | Successfully tested: F411/2, F411/4, F411U2, F422, F429. Some discovery issues reported with F429 (DALI Dimmers) |
| Automation | `2` | `bus_automation` | BUS roller shutters, with position feedback and auto-calibration | Successfully tested: LN4672M2 |
| Energy Management | `18` | `bus_energy_meter` | Energy Management | Successfully tested: F520, F521 |
### For ZigBee (Radio)
@ -144,7 +147,7 @@ Devices support some of the following channels:
| `switch` or `switch_01`/`02` for ZigBee | Switch | To switch the device `ON` and `OFF` | R/W |
| `brightness` | Dimmer | To adjust the brightness value (Percent, `ON`, `OFF`) | R/W |
| `shutter` | Rollershutter | To activate roller shutters (`UP`, `DOWN`, `STOP`, Percent - [see Shutter position](#shutter-position)) | R/W |
| `power` | Number:Power | The current active power usage from Energy Meter | R |
### Notes on channels
#### `shutter` position
@ -169,6 +172,8 @@ Bridge openwebnet:bus_gateway:mybridge "MyHOMEServer1" [ host="192.168.1.35", pa
bus_on_off_switch LR_switch "Living Room Light" [ where="51" ]
bus_dimmer LR_dimmer "Living Room Dimmer" [ where="0311#4#01" ]
bus_automation LR_shutter "Living Room Shutter" [ where="93", shutterRun="10050"]
bus_energy_meter CENTRAL_Ta "Energy Meter Ta" [ where="51" ]
bus_energy_meter CENTRAL_Tb "Energy Meter Tb" [ where="52" ]
}
```
@ -191,6 +196,9 @@ Example items linked to BUS devices:
Switch iLR_switch "Light" <light> (gLivingRoom) [ "Lighting" ] { channel="openwebnet:bus_on_off_switch:mybridge:LR_switch:switch" }
Dimmer iLR_dimmer "Dimmer [%.0f %%]" <DimmableLight> (gLivingRoom) [ "Lighting" ] { channel="openwebnet:bus_dimmer:mybridge:LR_dimmer:brightness" }
Rollershutter iLR_shutter "Shutter [%.0f %%]" <rollershutter> (gShutters, gLivingRoom) [ "Blinds" ] { channel="openwebnet:bus_automation:mybridge:LR_shutter:shutter" }
Number:Power iCENTRAL_Ta "Power [%.0f %unit%]" <energy> { channel="openwebnet:bus_energy_meter:mybridge:CENTRAL_Ta:power" }
Number:Power iCENTRAL_Tb "Power [%.0f %unit%]" <energy> { channel="openwebnet:bus_energy_meter:mybridge:CENTRAL_Tb:power" }
```
Example items linked to OpenWebNet ZigBee devices:
@ -213,6 +221,12 @@ sitemap openwebnet label="OpenWebNet Binding Example Sitemap"
Default item=iLR_dimmer icon="light"
Default item=iLR_shutter
}
Frame label="Energy Meters" icon="energy"
{
Default item=iCENTRAL_Ta label="General" icon="energy" valuecolor=[>3000="red"]
Default item=iCENTRAL_Tb label="Ground Floor" icon="energy" valuecolor=[>3000="red"]
}
}
```
@ -231,5 +245,6 @@ Special thanks for helping on testing this binding go to:
[@gilberto.cocchi](https://community.openhab.org/u/gilberto.cocchi/),
[@llegovich](https://community.openhab.org/u/llegovich),
[@gabriele.daltoe](https://community.openhab.org/u/gabriele.daltoe),
[@feodor](https://community.openhab.org/u/feodor)
[@feodor](https://community.openhab.org/u/feodor),
[@aconte80](https://community.openhab.org/u/aconte80)
and many others at the fantastic openHAB community!

View File

@ -15,19 +15,17 @@ install: auto
# InfluxDB (0.9 and newer) Persistence
This service allows you to persist and query states using the [InfluxDB](https://www.influxdata.com/products/influxdb-overview/) and [InfluxDB 2.0](https://v2.docs.influxdata.com/v2.0/) time series database. The persisted values can be queried from within openHAB.
This service allows you to persist and query states using the [InfluxDB](https://www.influxdata.com/products/influxdb-overview/) and [InfluxDB 2.0](https://v2.docs.influxdata.com/v2.0/) time series database. The persisted values can be queried from within openHAB.
There also are nice tools on the web for visualizing InfluxDB time series, such as [Grafana](http://grafana.org/) and new Influx DB 2.0 version introduces [powerful data processing features.](https://docs.influxdata.com/influxdb/v2.0/process-data/get-started/)
## Database Structure
- This service allows you to persist and query states using the time series database.
- The states of an item are persisted in *measurements* points with names equal to the name of the item, or the alias, if one is provided. In both variants, a *tag* named "item" is added, containing the item name.
All values are stored in a *field* called "value" using the following types:
- **float** for DecimalType and QuantityType
- **integer** for `OnOffType` and `OpenClosedType` (values are stored using 0 or 1) and `DateTimeType` (milliseconds since 1970-01-01T00:00:00Z)
- **string** for the rest of types
- The states of an item are persisted in _measurements_ points with names equal to the name of the item, its alias, or from some metadata depending on the configuration. In all variants, a tag named "item" is added, containing the item name.
All values are stored in a _field_ called "value" using the following types:
- **float** for DecimalType and QuantityType
- **integer** for `OnOffType` and `OpenClosedType` (values are stored using 0 or 1) and `DateTimeType` (milliseconds since 1970-01-01T00:00:00Z)
- **string** for the rest of types
- If configured, extra tags for item category, label or type can be added fore each point.
Some example entries for an item with the name "speedtest" without any further configuration would look like this:
@ -37,34 +35,85 @@ Some example entries for an item with the name "speedtest" without any further c
|> range(start: -30d)
|> filter(fn: (r) => r._measurement == "speedtest")
name: speedtest
_time _item _value
----- ----- ------
1558302027124000000 speedtest 123289369.0
1558332852716000000 speedtest 80423789.0
## Prerequisites
First of all you have to setup and run an InfluxDB 1.X or 2.X server.
This is very easy and you will find good documentation on it on the
First of all, you have to setup and run an InfluxDB 1.X or 2.X server.
This is very easy and you will find good documentation on it on the
[InfluxDB web site for 2.X version](https://v2.docs.influxdata.com/v2.0/get-started/) and [InfluxDB web site for 1.X version](https://docs.influxdata.com/influxdb/v1.7/).
## Configuration
This service can be configured in the file `services/influxdb.cfg`.
| Property | Default | Required | Description |
|------------------------------------|-------------------------|----------|------------------------------------------|
| version | V1 | No | InfluxDB database version V1 for 1.X and V2 for 2.x|
| url | http://127.0.0.1:8086 | No | database URL |
| user | openhab | No | name of the database user, e.g. `openhab`|
| password | | No(*) | password of the database user you choose |
| token | | No(*) | token to authenticate the database (only for V2) [Intructions about how to create one](https://v2.docs.influxdata.com/v2.0/security/tokens/create-token/) |
| db | openhab | No | name of the database for V1 and name of the organization for V2 |
| retentionPolicy | autogen | No | name of the retention policy for V1 and name of the bucket for V2 |
| Property | Default | Required | Description |
| --------------- | --------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| version | V1 | No | InfluxDB database version V1 for 1.X and V2 for 2.x |
| url | http://127.0.0.1:8086 | No | database URL |
| user | openhab | No | name of the database user, e.g. `openhab` |
| password | | No(\*) | password of the database user you choose |
| token | | No(\*) | token to authenticate the database (only for V2) [Intructions about how to create one](https://v2.docs.influxdata.com/v2.0/security/tokens/create-token/) |
| db | openhab | No | name of the database for V1 and name of the organization for V2 |
| retentionPolicy | autogen | No | name of the retention policy for V1 and name of the bucket for V2 |
(*) For 1.X version you must provide user and password, for 2.X you can use user and password or a token. That means
that if you use all default values at minimum you must provide a password or a token.
(\*) For 1.X version you must provide user and password, for 2.X you can use user and password or a token. That means
that if you use all default values at minimum you must provide a password or a token.
All item- and event-related configuration is defined in the file `persistence/influxdb.persist`.
### Additional configuration for customized storage options in InfluxDB
By default, the plugin writes the data to a `measurement` name equals to the `item's name` and adds a tag with key item and value `item's name` as well.
You can customize that behavior and use a single measurement for several items using item metadata.
#### Measurement name by Item Metadata
By setting the `influxdb` metadata key you can change the name of the measurement by setting the desired name as metadata value.
You can also add additional tags for structuring your data. For example, you can add a floor tag to all sensors to filter all sensors from the first floor or combine all temperature sensors into one measurement.
The item configuration will look like this:
```
Group:Number:AVG gTempSensors
Number:Temperature tempLivingRoom (gTempSensors) { influxdb="temperature" [floor="groundfloor"] }
Number:Temperature tempKitchen (gTempSensors) { influxdb="temperature" [floor="groundfloor"] }
Number:Temperature tempBedRoom (gTempSensors) { influxdb="temperature" [floor="firstfloor"] }
Number:Temperature tempBath (gTempSensors) { influxdb="temperature" [floor="firstfloor"] }
```
You can also set the `influxdb` metadata using the UI. From each item configuration screen do:
`Metadata``Add Metadata``Enter Custom Namespace` → Enter `influxdb` as namespace name → And enter your desired item name in value field. i.e.:
value: temperature
config: {}
This will end up with one measurement named temperature and four different series inside:
```
temperature,item=tempLivingRoom,floor=groundfloor
temperature,item=tempKitchen,floor=groundfloor
temperature,item=tempBedRoom,floor=firstfloor
temperature,item=tempBath,floor=firstfloor
```
You can now easily select all temperatures of the firstfloor or the average temperature of the groundfloor.
#### Extended automatic tagging
Besides the metadata tags, there are additional configuration parameters to activate different automatic tags generation.
| Property | Default | Required | Description |
| -------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------- |
| addCategoryTag | false | no | Should the category of the item be included as tag "category"? If no category is set, "n/a" is used. |
| addTypeTag | false | no | Should the item type be included as tag "type"? |
| addLabelTag | false | no | Should the item label be included as tag "label"? If no label is set, "n/a" is used. |

View File

@ -16,10 +16,9 @@
<config-description>
<!--scene id -->
<parameter name="sceneID" type="text" readOnly="true">
<parameter name="sceneID" type="text" readOnly="true" required="true">
<label>@text/param_scene_id_label</label>
<description>@text/param_scene_id_desc</description>
<required>true</required>
<options>
<option value="ABSENT">@text/absent</option>
<option value="PRESENT">@text/present</option>

View File

@ -17,22 +17,19 @@
<config-description>
<!--zone id -->
<parameter name="zoneID" type="text">
<parameter name="zoneID" type="text" required="false">
<label>@text/param_scene_zone_id_label</label>
<description>@text/param_scene_zone_id_desc</description>
<required>false</required>
</parameter>
<!--groups id -->
<parameter name="groupID" type="text">
<parameter name="groupID" type="text" required="false">
<label>@text/param_scene_group_id_label</label>
<description>@text/param_scene_group_id_desc</description>
<required>false</required>
</parameter>
<!--scene id -->
<parameter name="sceneID" type="text">
<parameter name="sceneID" type="text" required="false">
<label>@text/param_scene_id_label</label>
<description>@text/param_scene_id_desc</description>
<required>false</required>
<options>
<option value="AREA_1_OFF">@text/AREA_1_OFF</option>
<option value="AREA_1_ON">@text/AREA_1_ON</option>

View File

@ -17,22 +17,19 @@
<config-description>
<!--zone id -->
<parameter name="zoneID" type="text">
<parameter name="zoneID" type="text" required="false">
<label>@text/param_scene_zone_id_label</label>
<description>@text/param_scene_zone_id_desc</description>
<required>false</required>
</parameter>
<!--groups id -->
<parameter name="groupID" type="text">
<parameter name="groupID" type="text" required="false">
<label>@text/param_scene_group_id_label</label>
<description>@text/param_scene_group_id_desc</description>
<required>false</required>
</parameter>
<!--scene id -->
<parameter name="sceneID" type="text">
<parameter name="sceneID" type="text" required="false">
<label>@text/param_scene_id_label</label>
<description>@text/param_scene_id_desc</description>
<required>false</required>
<options>
<option value="AREA_1_OFF">@text/AREA_1_OFF</option>
<option value="AREA_1_ON">@text/AREA_1_ON</option>

View File

@ -17,16 +17,14 @@
<config-description>
<!--zone id -->
<parameter name="zoneID" type="text">
<parameter name="zoneID" type="text" required="false">
<label>@text/param_scene_zone_id_label</label>
<description>@text/param_scene_zone_id_desc</description>
<required>false</required>
</parameter>
<!--scene id -->
<parameter name="sceneID" type="text">
<parameter name="sceneID" type="text" required="false">
<label>@text/param_scene_id_label</label>
<description>@text/param_scene_id_desc</description>
<required>false</required>
<options>
<option value="DEEP_OFF">@text/deep_off</option>
<option value="STANDBY">@text/standby</option>

View File

@ -13,10 +13,9 @@
<config-description>
<!--zone id -->
<parameter name="zoneID" type="text">
<parameter name="zoneID" type="text" required="true">
<label>@text/zoneTemperatureControl_parm_zoneID_label</label>
<description>@text/zoneTemperatureControl_parm_zoneID_desc</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -10,11 +10,10 @@
<channel id="mute" typeId="mute"/>
</channels>
<config-description>
<parameter name="address" type="text">
<parameter name="address" type="text" required="true">
<label>Receiver Address(es)</label>
<description>Network addresses of ArtNet receivers, format: address[:port][, address[:port], ...]. Default port is
6454.</description>
<required>true</required>
</parameter>
<parameter name="localaddress" type="text">
<label>Local Network Address</label>

View File

@ -16,21 +16,18 @@
<channel id="control" typeId="control"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width]</description>
<required>true</required>
</parameter>
<parameter name="resumeafter" type="boolean">
<label>Resume After Finish</label>
<description>resume old actions after this completes</description>
<default>false</default>
<required>false</required>
</parameter>
<parameter name="steps" type="text">
<parameter name="steps" type="text" required="true">
<label>Step Configuration</label>
<description>fadeTime:value[, ...]:holdTime </description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -18,10 +18,9 @@
<channel id="color" typeId="color"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width], has to be multiple of three</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0">
<label>Fade Time</label>
@ -37,7 +36,6 @@
<label>Turn-On Value(s)</label>
<description>Format is "value[, value, ...]", has to be a multiple of three. If less values than channels are
defined, they are reused from the beginning.</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="turnoffvalue" type="text">
@ -49,7 +47,6 @@
<parameter name="dynamicturnonvalue" type="boolean">
<label>Dynamic Turn-On Value</label>
<description>If enabled, values are stored on OFF command and restored on ON command</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>

View File

@ -16,10 +16,9 @@
<channel id="switch" typeId="switch"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width]</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0">
<label>Fade Time</label>
@ -36,7 +35,6 @@
<description>Format is "value[, value, ...]". If less values than channels are defined, they are reused from the
beginning.
</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="turnoffvalue" type="text">
@ -49,7 +47,6 @@
<parameter name="dynamicturnonvalue" type="boolean">
<label>Dynamic Turn-On Value</label>
<description>If enabled, values are stored on OFF command and restored on ON command</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>

View File

@ -10,10 +10,9 @@
<channel id="mute" typeId="mute"/>
</channels>
<config-description>
<parameter name="address" type="text">
<parameter name="address" type="text" required="true">
<label>Network Address</label>
<description>Network address of bridge, format: address[:port]. Default port is 9020.</description>
<required>true</required>
<default>localhost</default>
</parameter>
<parameter name="applycurve" type="text">

View File

@ -10,11 +10,10 @@
<channel id="mute" typeId="mute"/>
</channels>
<config-description>
<parameter name="mode" type="text">
<parameter name="mode" type="text" required="true">
<context></context>
<label>Transmission Mode</label>
<description>Set UDP mode to multicast (default)/unicast</description>
<required>true</required>
<options>
<option value="unicast">Unicast</option>
<option value="multicast">Multicast</option>
@ -25,24 +24,20 @@
<label>Receiver Address(es)</label>
<description>Network addresses of sACN/E1.31 receivers, format: address[:port][, address[:port], ...]. Default port
is 5568.</description>
<required>false</required>
</parameter>
<parameter name="localaddress" type="text">
<label>Local Network Address</label>
<description>Network address of the sending host, format: address[:port]. Default port is 0 (random)</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="universe" type="integer" min="1" max="63999">
<label>DMX Universe</label>
<description>ID of DMX universe (1-63999)</description>
<default>1</default>
<required>false</required>
</parameter>
<parameter name="refreshmode" type="text">
<label>Refresh Mode</label>
<description>Suppress re-transmission and refresh every 800ms or send every packet.</description>
<required>false</required>
<options>
<option value="always">Always</option>
<option value="standard">Standard</option>
@ -53,12 +48,10 @@
<parameter name="applycurve" type="text">
<label>Apply Curve</label>
<description>List of channels that should use LED dim curve. Format is channel[,channel, ...] or channel[/width].</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="refreshrate" type="decimal" min="0" max="100">
<description>DMX refresh rate in Hz</description>
<required>false</required>
<default>30</default>
<advanced>true</advanced>
</parameter>

View File

@ -18,10 +18,9 @@
<channel id="color_temperature" typeId="color_temperature"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width], has to be an even number</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0">
<label>Fade Time</label>
@ -38,7 +37,6 @@
<description>Format is "value[, value, ...]", has to be a multiple of two. If less values than channels are defined,
they are reused from the beginning.
</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="turnoffvalue" type="text">
@ -51,7 +49,6 @@
<parameter name="dynamicturnonvalue" type="boolean">
<label>Dynamic Turn-On Value</label>
<description>If enabled, values are stored on OFF command and restored on ON command</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>

View File

@ -17,7 +17,7 @@
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<parameter name="senderIdOffset" type="integer" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>

View File

@ -20,7 +20,7 @@
</channels>
<config-description>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<parameter name="senderIdOffset" type="integer" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>

View File

@ -17,7 +17,7 @@
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<parameter name="senderIdOffset" type="integer" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>

View File

@ -17,7 +17,7 @@
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<parameter name="senderIdOffset" type="integer" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>

View File

@ -17,7 +17,7 @@
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<parameter name="senderIdOffset" type="integer" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>

View File

@ -17,7 +17,7 @@
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<parameter name="senderIdOffset" type="integer" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>

View File

@ -17,7 +17,7 @@
<label>EnOceanId</label>
<description>EnOceanId of device this thing belongs to</description>
</parameter>
<parameter name="senderIdOffset" type="integer" required="false" min="1" max="127">
<parameter name="senderIdOffset" type="integer" min="1" max="127">
<label>Sender Id</label>
<description>Id is used to generate the EnOcean Id (Int between [1-127]). If not specified the next free Id will be
determined by bridge</description>

View File

@ -9,10 +9,9 @@
<description>This is a KNX IP interface or router</description>
<config-description>
<parameter name="type" type="text">
<parameter name="type" type="text" required="true">
<label>IP Connection Type</label>
<description>The ip connection type for connecting to the KNX bus. Could be either TUNNEL or ROUTER</description>
<required>true</required>
<options>
<option value="TUNNEL">Tunnel</option>
<option value="ROUTER">Router</option>
@ -23,9 +22,8 @@
<description>Network address of the KNX/IP gateway</description>
<context>network-address</context>
</parameter>
<parameter name="portNumber" type="integer">
<parameter name="portNumber" type="integer" required="false"> <!-- Only required in TUNNEL mode -->
<description>Port number of the KNX/IP gateway</description>
<required>false</required> <!-- Only required in TUNNEL mode -->
<label>Port</label>
<default>3671</default>
</parameter>

View File

@ -8,35 +8,30 @@
<label>KNX FT1.2 Interface</label>
<description>This is a serial interface for accessing the KNX bus</description>
<config-description>
<parameter name="serialPort" type="text">
<parameter name="serialPort" type="text" required="true">
<context>serial-port </context>
<label>Serial Port</label>
<description>The serial port to use for connecting to the KNX bus</description>
<required>true</required>
</parameter>
<parameter name="readingPause" type="integer">
<parameter name="readingPause" type="integer" required="true">
<label>Reading Pause</label>
<description>Time in milliseconds of how long should be paused between two read requests to the bus during
initialization</description>
<required>true</required>
<default>50</default>
</parameter>
<parameter name="responseTimeout" type="integer">
<parameter name="responseTimeout" type="integer" required="true">
<label>Response Timeout</label>
<description>Seconds to wait for a response from the KNX bus</description>
<required>true</required>
<default>10</default>
</parameter>
<parameter name="readRetriesLimit" type="integer">
<parameter name="readRetriesLimit" type="integer" required="true">
<label>Read Retries Limit</label>
<description>Limits the read retries while initialization from the KNX bus</description>
<required>true</required>
<default>3</default>
</parameter>
<parameter name="autoReconnectPeriod" type="integer">
<parameter name="autoReconnectPeriod" type="integer" required="true">
<label>Auto Reconnect Period</label>
<description>Seconds between connect retries when KNX link has been lost, 0 means never retry</description>
<required>true</required>
<default>0</default>
</parameter>
</config-description>

View File

@ -23,10 +23,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -26,10 +26,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>

View File

@ -23,10 +23,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>

View File

@ -28,10 +28,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>

View File

@ -36,10 +36,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>

View File

@ -21,10 +21,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies the appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -32,10 +32,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>

View File

@ -28,10 +28,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>

View File

@ -29,10 +29,9 @@
</channels>
<config-description>
<parameter name="uid" type="text">
<parameter name="uid" type="text" required="true">
<label>ID</label>
<description>The identifier identifies one certain appliance on the ZigBee network.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -14,31 +14,27 @@
</properties>
<config-description>
<parameter name="ipAddress" type="text">
<parameter name="ipAddress" type="text" required="true">
<context>network-address</context>
<label>Network Address</label>
<description>Network address of the Miele@home gateway.</description>
<required>true</required>
</parameter>
<parameter name="interface" type="text">
<parameter name="interface" type="text" required="true">
<context>network-address</context>
<label>Network Address of the Multicast Interface</label>
<description>Network address of openHAB host interface where the binding will listen for multicast events coming
from the Miele@home gateway</description>
<required>true</required>
</parameter>
<parameter name="userName" type="text">
<parameter name="userName" type="text" required="false">
<label>Username</label>
<description>
Name of a registered Miele@home user.
</description>
<required>false</required>
</parameter>
<parameter name="password" type="text">
<parameter name="password" type="text" required="false">
<context>password</context>
<label>Password</label>
<description>Password for the registered Miele@home</description>
<required>false</required>
</parameter>
</config-description>
</bridge-type>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="openwebnet"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<!-- Thing for BUS Energy Management Central Unit (BTicino F52x) -->
<thing-type id="bus_energy_meter">
<supported-bridge-type-refs>
<bridge-type-ref id="bus_gateway"/>
</supported-bridge-type-refs>
<label>Energy Meter</label>
<description>A OpenWebNet BUS/SCS Energy Meter. BTicino models: F52x</description>
<channels>
<channel id="power" typeId="power"/>
</channels>
<properties>
<property name="vendor">BTicino/Legrand</property>
<property name="model">BTI-F52x</property>
<property name="ownDeviceType">1830</property>
</properties>
<representation-property>ownId</representation-property>
<config-description>
<parameter name="where" type="text" required="true">
<label>OpenWebNet Address</label>
<description>Example: 5N with N=[1-255]</description>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>

View File

@ -37,4 +37,12 @@
</tags>
</channel-type>
<!-- Energy channels -->
<channel-type id="power">
<item-type>Number:Power</item-type>
<label>Power</label>
<description>Current active power</description>
<category>Energy</category>
<state readOnly="true" pattern="%.0f %unit%"></state>
</channel-type>
</thing:thing-descriptions>

View File

@ -9,23 +9,20 @@
<description>This bridge represents a pulseaudio server.</description>
<config-description>
<parameter name="host" type="text">
<parameter name="host" type="text" required="true">
<label>Hostname</label>
<description>Hostname or IP address of the pulseaudio server</description>
<default>localhost</default>
<required>true</required>
</parameter>
<parameter name="port" type="integer">
<parameter name="port" type="integer" required="false">
<label>Port</label>
<description>Port of the pulseaudio server</description>
<default>4712</default>
<required>false</required>
</parameter>
<parameter name="refreshInterval" type="integer">
<parameter name="refreshInterval" type="integer" required="false">
<label>Refresh Interval</label>
<description>The refresh interval in ms which is used to poll given pulseaudio server.</description>
<default>30000</default>
<required>false</required>
</parameter>
</config-description>
</bridge-type>

View File

@ -18,10 +18,9 @@
<channel id="slaves" typeId="slaves"/>
</channels>
<config-description>
<parameter name="name" type="text">
<parameter name="name" type="text" required="true">
<label>Name</label>
<description>The name of the combined sink.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -18,10 +18,9 @@
<channel id="routeToSink" typeId="routeToSink"/>
</channels>
<config-description>
<parameter name="name" type="text">
<parameter name="name" type="text" required="true">
<label>Name</label>
<description>The name of one specific device.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -17,10 +17,9 @@
<channel id="state" typeId="state"/>
</channels>
<config-description>
<parameter name="name" type="text">
<parameter name="name" type="text" required="true">
<label>Name</label>
<description>The name of one specific device.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -17,10 +17,9 @@
<channel id="state" typeId="state"/>
</channels>
<config-description>
<parameter name="name" type="text">
<parameter name="name" type="text" required="true">
<label>Name</label>
<description>The name of one specific device.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -17,10 +17,9 @@
<channel id="state" typeId="state"/>
</channels>
<config-description>
<parameter name="name" type="text">
<parameter name="name" type="text" required="true">
<label>Name</label>
<description>The name of one specific device.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -25,27 +25,22 @@
<parameter name="protocol" type="text" required="false">
<label>Protocol</label>
<description>The protocol used by a specific device.</description>
<required>false</required>
</parameter>
<parameter name="name" type="text">
<parameter name="name" type="text" required="false">
<label>Name</label>
<description>The name of the device</description>
<required>false</required>
</parameter>
<parameter name="deviceId" type="text">
<parameter name="deviceId" type="text" required="true">
<label>DeviceID</label>
<description>This is the unique id of a device.</description>
<required>true</required>
</parameter>
<parameter name="model" type="text">
<parameter name="model" type="text" required="false">
<label>Model</label>
<description>The model used by a specific device.</description>
<required>false</required>
</parameter>
<parameter name="repeat" type="integer">
<parameter name="repeat" type="integer" required="false">
<label>Repeat</label>
<description>The number of times to resend.</description>
<required>false</required>
<default>2</default>
</parameter>
</config-description>
@ -65,33 +60,27 @@
</channels>
<config-description>
<parameter name="protocol" type="text">
<parameter name="protocol" type="text" required="false">
<label>Protocol</label>
<description>The protocol used by a specific device.</description>
<required>false</required>
</parameter>
<parameter name="name" type="text">
<parameter name="name" type="text" required="false">
<label>Name</label>
<description>The name of the device</description>
<required>false</required>
</parameter>
<parameter name="deviceId" type="text">
<parameter name="deviceId" type="text" required="true">
<label>DeviceID</label>
<description>This is the unique id of a device.</description>
<required>true</required>
</parameter>
<parameter name="repeat" type="integer">
<parameter name="repeat" type="integer" required="false">
<label>Repeat</label>
<description>The number of times to resend.</description>
<required>false</required>
<default>2</default>
</parameter>
<parameter name="dimmer" type="boolean">
<parameter name="dimmer" type="boolean" required="false">
<label>Dimmer</label>
<description>Is this a dimmer without absolute setting (e.g. you press on to start dim and then on again to stop
it).</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>

View File

@ -14,10 +14,9 @@
</properties>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Link Device</description>
<required>true</required>
</parameter>
</config-description>
</bridge-type>

View File

@ -13,10 +13,9 @@
</channels>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
<required>true</required>
</parameter>
</config-description>
@ -43,10 +42,9 @@
</channels>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
@ -60,10 +58,9 @@
</channels>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
@ -78,10 +75,9 @@
</channels>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
@ -106,10 +102,9 @@
</properties>
<config-description>
<parameter name="deviceID" type="text">
<parameter name="deviceID" type="text" required="true">
<label>Device ID</label>
<description>The device ID identifies one certain WeMo light.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
@ -124,10 +119,9 @@
</channels>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
@ -149,10 +143,9 @@
</channels>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
<required>true</required>
</parameter>
<parameter name="pollingInterval" type="integer" required="false" min="15" max="180">
<label>Polling Interval</label>
@ -179,10 +172,9 @@
</channels>
<config-description>
<parameter name="udn" type="text">
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
<required>true</required>
</parameter>
</config-description>