Updated external content (Jenkins build 982)

pull/1839/head
openHAB Build Server 2022-06-15 04:54:43 +00:00
parent 55d0d40e37
commit d3ad137369
32 changed files with 1406 additions and 65 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,69 +16,83 @@ install: auto
# Bosch Indego Binding
This is the Binding for Bosch Indego Connect lawn mowers.
Thank´s to zazaz-de who found out how the API works. His [Java Library](https://github.com/zazaz-de/iot-device-bosch-indego-controller) made this Binding possible.
Thank´s to zazaz-de who found out how the API works.
His [Java Library](https://github.com/zazaz-de/iot-device-bosch-indego-controller) made this Binding possible.
## Configuration of the Thing
## Thing Configuration
Currently the binding supports ***indego*** mowers as a thing type with this parameters:
Currently the binding supports ***indego*** mowers as a thing type with these configuration parameters:
| parameter | datatype | required |
|-----------|----------|--------------------------------|
| username | String | yes |
| password | String | yes |
| refresh | integer | no (default: 180, minimum: 60) |
The refresh interval is specified in seconds.
A possible entry in your thing file could be:
```java
boschindego:indego:lawnmower [username="mail@example.com", password="idontneedtocutthelawnagain", refresh=120]
```
| Parameter | Description |
|-----------|----------------------------------------------------------------------|
| username | Username for the Bosch Indego account |
| password | Password for the Bosch Indego account |
| refresh | Specifies the refresh interval in seconds (default 180, minimum: 60) |
## Channels
| item-type | description | |
| Channel | Item Type | Description |
|--------------|-------------|-------------------------------------------------------------------------------------------------------------------------------------|
| state | Number | You can send commands to this channel to control the mower and read the simplified state from it (1=mow, 2=return to dock, 3=pause) |
| errorcode | Number | Errorcode of the mower (0=no error, readonly) |
| statecode | Number | Detailed state of the mower. I included English and German map-files to read the state easier (readonly) |
| errorcode | Number | Error code of the mower (0=no error, readonly) |
| statecode | Number | Detailed state of the mower (readonly) |
| textualstate | String | State as a text. (readonly) |
| ready | Number | Shows if the mower is ready to mow (1=ready, 0=not ready, readonly) |
| mowed | Dimmer | Cut grass in percent (readonly) |
For example you can use this sitemap entry to control the mower manually:
### State Codes
```perl
Switch item=indegostate mappings=[ 1="Mow", 2="Return",3="Pause" ]
| Code | Description |
|-------|---------------------------------------------|
| 0 | Reading status |
| 257 | Charging |
| 258 | Docked |
| 259 | Docked - Software update |
| 260 | Docked |
| 261 | Docked |
| 262 | Docked - Loading map |
| 263 | Docked - Saving map |
| 513 | Mowing |
| 514 | Relocalising |
| 515 | Loading map |
| 516 | Learning lawn |
| 517 | Paused |
| 518 | Border cut |
| 519 | Idle in lawn |
| 769 | Returning to dock |
| 770 | Returning to dock |
| 771 | Returning to dock - Battery low |
| 772 | Returning to dock - Calendar timeslot ended |
| 773 | Returning to dock - Battery temp range |
| 774 | Returning to dock |
| 775 | Returning to dock - Lawn complete |
| 776 | Returning to dock - Relocalising |
| 1025 | Diagnostic mode |
| 1026 | End of life |
| 1281 | Software update |
| 64513 | Docked |
## Full Example
### `indego.things` File
```
boschindego:indego:lawnmower [username="mail@example.com", password="idontneedtocutthelawnagain", refresh=120]
```
## Meaning of the numeric statecodes
### `indego.items` File
You can use this as .map file
```text
0=Reading status
257=Charging
258=Docked
259=Docked - Software update
260=Docked
261=Docked
262=Docked - Loading map
263=Docked - Saving map
513=Mowing
514=Relocalising
515=Loading map
516=Learning lawn
517=Paused
518=Border cut
519=Idle in lawn
769=Returning to Dock
770=Returning to Dock
771=Returning to Dock - Battery low
772=Returning to dock - Calendar timeslot ended
773=Returning to dock - Battery temp range
774=Returning to dock
775=Returning to dock - Lawn complete
776=Returning to dock - Relocalising
```
Number Indego_State { channel="boschindego:indego:lawnmower:state" }
Number Indego_ErrorCode { channel="boschindego:indego:lawnmower:errorcode" }
Number Indego_StateCode { channel="boschindego:indego:lawnmower:statecode" }
String Indego_TextualState { channel="boschindego:indego:lawnmower:textualstate" }
Number Indego_Ready { channel="boschindego:indego:lawnmower:ready" }
Dimmer Indego_Mowed { channel="boschindego:indego:lawnmower:mowed" }
```
### `indego.sitemap` File
```
Switch item=Indego_State mappings=[1="Mow", 2="Return",3="Pause"]
```

View File

@ -18,7 +18,13 @@ install: auto
The binding integrates the [innogy SmartHome](https://innogy.com/smarthome) system into openHAB.
It uses the official API 1.1 as provided by innogy as cloud service.
As all status updates and commands have to go through the API, a permanent internet connection is required.
Currently there is no API for a direct communication with the innogy SmartHome Controller (SHC).
*Notice!*
*This binding is deprecated!*
*LIVISI (formally innogy) has implemented a local API on their SHC from Software Version 1.2.XX.XXX.
Please migrate to the "LIVISI SmartHome Binding" which is using the new local API and requires neither the LIVISI-cloud-servers nor an internet connection.*
## Supported things

View File

@ -0,0 +1,228 @@
---
id: livisismarthome
label: LIVISI SmartHome
title: LIVISI SmartHome - Bindings
type: binding
description: "The binding integrates the [LIVISI (RWE/innogy) SmartHome](https://www.livisi.de) system into openHAB."
since: 3x
install: manual
---
<!-- Attention authors: Do not edit directly. Please add your changes to the appropriate source repository -->
{% include base.html %}
# LIVISI SmartHome Binding
The binding integrates the [LIVISI (RWE/innogy) SmartHome](https://www.livisi.de) system into openHAB.
The binding is the successor of the innogy SmartHome openHAB binding, which was communicating with the LIVISI cloud servers over the Internet.
This binding communicates directly with LIVISI SmartHome Controllers (SHC) and not through the LIVISI cloud services.
On your SHC you need a minimum software version of 1.2.XX.XXX (SHC 2) or 1.914-3.1.XXXX.XX (SHC 1 / classic) with activated "Local SmartHome".
## Supported things
### Bridge
The LIVISI SmartHome Controller (SHC) is the bridge, that provides the central communication with the devices.
Without the SHC, you cannot communicate with the devices.
### Devices
The following table shows all supported and tested devices and their channels.
The channels are described in detail in the next chapter.
| Device | Description | Supported channels |
|--------|--------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| SHC | SmartHome Controller (Bridge) | status, cpu, disk, memory (updated by events; SHC classic: Updated every minute) |
| BRC8 | Basic Remote Controller | button1 ... button8, button1Count ... button8Count, batteryLow |
| ISC2 | In Wall Smart Controller | button1, button2, button1Count, button2Count, batteryLow |
| ISD2 | In Wall Smart Dimmer | button1, button2, button1Count, button2Count, dimmer |
| ISR2 | In Wall Smart Rollershutter | button1, button2, button1Count, button2Count, rollershutter |
| ISS2 | In Wall Smart Switch | button1, button2, button1Count, button2Count, switch |
| PSD | Pluggable Smart Dimmer | dimmer |
| PSS | Pluggable Smart Switch, indoor | switch |
| PSSO | Pluggable Smart Switch, outdoor | switch |
| BT-PSS | Bluetooth Pluggable Smart Switch, indoor | switch |
| RST | Radiator Mounted Smart Thermostat | targetTemperature, currentTemperature, frostWarning, humidity, moldWarning, operationMode, windowReductionActive, batteryLow |
| RST2 | Radiator Mounted Smart Thermostat (newer two battery version since 2018) | targetTemperature, currentTemperature, frostWarning, humidity, moldWarning, operationMode, windowReductionActive, batteryLow |
| | VariableActuator | switch |
| WDS | Window Door Sensor | contact, batteryLow |
| WMD | Wall Mounted Motion Detector, indoor | motionCount, luminance, batteryLow |
| WMDO | Wall Mounted Motion Detector, outdoor | motionCount, luminance, batteryLow |
| WRT | Wall Mounted Room Thermostat | targetTemperature, currentTemperature, frostWarning, humidity, moldWarning, operationMode, windowReductionActive, batteryLow |
| WSC2 | Wall Mounted Smart Controller | button1, button2, button1Count, button2Count, batteryLow |
| WSD | Wall Mounted Smoke Detector, old version | smoke, alarm, batteryLow |
| WSD2 | Wall Mounted Smoke Detector, new version | smoke, alarm, batteryLow |
Powermeter devices
| Device | Description | Supported channels |
|-----------------|----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| AnalogMeter | The Analog Meter from the LIVISI EnergyControl product | energyConsumptionMonthKwh, absoluteEnergyConsumption, energyConsumptionMonthEuro, energyConsumptionDayEuro, energyConsumptionDayKwh |
| GenerationMeter | The Generation Meter from the LIVISI PowerControlSolar product | energyGenerationMonthKwh, totalEnergyGeneration, energyGenerationMonthEuro, energyGenerationDayEuro, energyGenerationDayKwh, powerGenerationWatt |
| SmartMeter | The Smart Meter from the LIVISI PowerControl product. | energyConsumptionMonthKwh, absoluteEnergyConsumption, energyConsumptionMonthEuro, energyConsumptionDayEuro, energyConsumptionDayKwh, powerConsumptionWatt |
| Two-Way-Meter | The Two-Way-Meter from the LIVISI PowerControlSolar product | energyMonthKwh, totalEnergy, energyMonthEuro, energyDayEuro, energyDayKwh, energyFeedMonthKwh, totalEnergyFed, energyFeedMonthEuro, energyFeedDayEuro, energyFeedDayKwh, powerWatt |
## Discovery
The bridge (SHC) can not be discovered automatically. It must be added manually (see below under "Configuration").
After the bridge is added, devices are discovered automatically.
As there is no background discovery implemented at the moment, you have to start the discovery manually.
However, only devices will appear that are added in the LIVISI SmartHome app before, because the LIVISI Binding does not support the coupling of devices to the bridge.
## Channels
| Channel Type ID | Item Type | Description | Available on thing |
|-----------------------|---------------|---------------------------------------------------------------------------|-------------------------------------------------------------|
| alarm | Switch | Switches the alarm (ON/OFF) | WSD, WSD2 |
| batteryLow | Switch | Indicates, if the battery is low (ON/OFF) | BRC8, ISC2, RST, RST2, WDS, WMD, WMD0, WRT, WSC2, WSD, WSD2 |
| contact | Contact | Indicates the contact state (OPEN/CLOSED) | WDS |
| cpu | Number | CPU-Usage of the SHC in percent | SHC (bridge) |
| dimmer | Dimmer | Allows to dimm a light device | ISD2, PSD |
| disk | Number | Disk-Usage of the SHC in percent | SHC (bridge) |
| frostWarning | Switch | active, if the measured temperature is too low (ON/OFF) | RST, RST2, WRT |
| humidity | Number | Relative humidity in percent | RST, RST2, WRT |
| button1 | - | Trigger channel for rules, fires with each push | BRC8, ISC2, ISD2, ISR2, ISS2, WSC2 |
| button2 | - | Trigger channel for rules, fires with each push | BRC8, ISC2, ISD2, ISR2, ISS2, WSC2 |
| button3 | - | Trigger channel for rules, fires with each push | BRC8 |
| button4 | - | Trigger channel for rules, fires with each push | BRC8 |
| button5 | - | Trigger channel for rules, fires with each push | BRC8 |
| button6 | - | Trigger channel for rules, fires with each push | BRC8 |
| button7 | - | Trigger channel for rules, fires with each push | BRC8 |
| button8 | - | Trigger channel for rules, fires with each push | BRC8 |
| button1Count | Number | Number of button pushes for button 1, increased with each push | BRC8, ISC2, ISD2, ISR2, ISS2, WSC2 |
| button2Count | Number | Number of button pushes for button 2, increased with each push | BRC8, ISC2, ISD2, ISR2, ISS2, WSC2 |
| button3Count | Number | Number of button pushes for button 3, increased with each push | BRC8 |
| button4Count | Number | Number of button pushes for button 4, increased with each push | BRC8 |
| button5Count | Number | Number of button pushes for button 5, increased with each push | BRC8 |
| button6Count | Number | Number of button pushes for button 6, increased with each push | BRC8 |
| button7Count | Number | Number of button pushes for button 7, increased with each push | BRC8 |
| button8Count | Number | Number of button pushes for button 8, increased with each push | BRC8 |
| luminance | Number | Indicates the measured luminance in percent | WMD, WMD0 |
| memory | Number | Memory-Usage of the SHC in percent | SHC (bridge) |
| moldWarning | Switch | Active, if the measured humidity is too low (ON/OFF) | RST, RST2, WRT |
| motionCount | Number | Number of detected motions, increases with each detected motion | WMD, WMDO |
| operationMode | String | The mode of a thermostat (auto/manual) | RST, RST2, WRT |
| rollershutter | Rollershutter | Controls a roller shutter | ISR2 |
| targetTemperature | Number | Sets the target temperature in °C (min 6 °C, max 30 °C) | RST, RST2, WRT |
| smoke | Switch | Indicates, if smoke was detected (ON/OFF) | WSD, WSD2 |
| status | String | Status of the SHC (ACTIVE/NORMAL, INITIALIZING/REBOOTING or SHUTTINGDOWN) | SHC (bridge) |
| switch | Switch | A switch to turn the device or variable on/off (ON/OFF) | ISS2, PSS, PSSO, VariableActuator |
| currentTemperature | Number | Holds the actual temperature in °C | RST, RST2, WRT |
| windowReductionActive | Switch | Indicates if a linked window is open and temperature reduced (ON/OFF) | RST, RST2, WRT |
The `rollershutter` channel has a `boolean` parameter `invert`.
It is `false` by default.
This means `100` on LIVISI is `UP` and `0` is `DOWN`.
When `invert` is `true` than `0` on LIVISI is `UP` and `100` is `DOWN`.
## Triggers
| Trigger Type | Description | Available on thing |
|---------------|-----------------------------------------------|-------------------------------------|
| SHORT_PRESSED | Fired when you press a button short | BRC8, ISC2, ISD2, ISR2, ISS2, WSC2 |
| LONG_PRESSED | Fired when you press a button longer | BRC8, ISC2, ISD2, ISR2, ISS2, WSC2 |
| PRESSED | Fired when you press a button (short or long) | BRC8, ISC2, ISD2, ISR2, ISS2, WSC2 |
## Thing configuration
### Configuring the SmartHome Controller (SHC)
The SmartHome Controller (SHC) can be configured in the UI as follows:
When adding the "LIVISI SmartHome Controller" via the Inbox, you have to define the hostname or local IP address and the password for the local user.
Save your changes. The SHC should now login and go online.
### Discovering devices
All devices bound to the bridge are found by the discovery service once the SHC is online.
As device discovery is not implemented as a background service, you should start it manually in the Inbox to find all devices.
Now you can add all devices from your Inbox as things.
### File based configuration
As an alternative to the automatic discovery process and graphical configuration using the UI, LIVISI things can be configured manually.
The LIVISI SmartHome Controller (SHC) can be configured using the following syntax:
```
Bridge livisismarthome:bridge:<bridge-id> "Livisi: SmartHome Controller (SHC)" [ host="192.168.0.99", password="SomethingSecret", webSocketIdleTimeout=900]
```
** *Security warning!**
The communication between the binding and the SHC is not encrypted and can be traced.
So be careful and secure your local network from unauthorized access.
All other LIVISI devices can be added using the following syntax:
```
Thing WDS <thing-id> "<thing-name>" @ "<room-name>" [ id="<the-device-id>" ]
```
The device ID (e.g. e9a74941a3807b57332214f346fb1129) can be found in the UI inbox, as you find it below all things there in the form `livisismarthome:<device-type>:<bridge-id>:<the-device-id>` (example: `livisismarthome:WSC2:SMARTHOME01:e9a74941a3807b57332214f346fb1129`).
However, a full example .things configuration look like this:
```
Bridge livisismarthome:bridge:mybride "LIVISI SmartHome Controller" {
Thing ISD2 myDimmer "Dimmer Kitchen" @ "Kitchen" [ id="<device-id>" ]
Thing ISS2 myLightSwitch "Light Livingroom" @ "Livingroom" [ id="<device-id>" ]
Thing PSS myTVSwitch "TV" @ "Livingroom" [ id="<device-id>" ]
Thing RST myHeating "Thermostat Livingroom" @ "Livingroom" [ id="<device-id>" ]
Thing ISR2 myRollerShutter1 "RollerShutter" @ "Livingroom" [ id="<device-id>" ]
Thing ISR2 myRollerShutter2 "RollerShutter (inverted)" @ "Livingroom" [ id="<device-id>" ] {Type rollershutterActuator : rollershutter [invert=true]}
Thing VariableActuator myLivisiVariable "My Variable" [ id="<device-id>" ]
Thing WDS myWindowContact "Window Kitchen" @ "Kitchen" [ id="<device-id>" ]
Thing WMD myMotionSensor "Motion entry" @ "Entry" [ id="<device-id>" ]
Thing WSC2 myPushButton "Pushbutton" @ "Living" [ id="<device-id>" ]
Thing WSD mySmokeDetector "Smoke detector Livingroom" @ "Living" [ id="<device-id>" ]
}
```
## Items configuration
You can then configure your items in your *.items config files as usual, for example:
```
Contact myWindowContact "Kitchen" <window> {channel="livisismarthome:WDS:mybridge:myWindowContact:contact"}
Switch myWindowContactBattery "Battery low" <battery> {channel="livisismarthome:WDS:mybridge:myWindowContact:batteryLow"}
Number myHeatingTemp "Bath [%.1f °C]" <temperature> {channel="livisismarthome:RST:mybridge:myHeating:currentTemperature"}
Number myHeatingModeTempTarget "Settemp bath [%.1f °C]" <temperature> {channel="livisismarthome:RST:mybridge:myHeating:targetTemperature"}
String myHeatingMode "Mode bath [%s]" <temperature> {channel="livisismarthome:RST:mybridge:myHeating:operationMode"}
Number myHeatingHumidity "Bath [%.1f %%]" <humidity> {channel="livisismarthome:RST:mybridge:myHeating:humidity"}
```
## Sitemap configuration
Example:
```
sitemap default label="Home" {
Frame {
Text item=myHeatingTemp label="Temperature"
Text item=myHeatingHumidity label="Humidity"
Switch item=myHeatingMode label="Mode" mappings=[Manu="Manual", Auto="Auto"]
Setpoint item=myHeatingModeTempTarget label="Target temperature" minValue=16 maxValue=25 step=1
}
}
```
## Rules example for push-buttons
Push-buttons provide trigger channels, that can only be used in rules.
Here is an example rule:
```
rule "Button triggered rule"
when
Channel 'livisismarthome:WSC2:mybridge:myPushButton:button1' triggered PRESSED
then
// do something...
logInfo("testlogger", "Button 1 pressed")
end
```

View File

@ -589,10 +589,10 @@ Person things are automatically created in discovery process for all known perso
All these channels except at-home are read only.
# Configuration Examples
## Configuration Examples
## things/netatmo.things
### things/netatmo.things
```
Bridge netatmo:account:home "Netatmo Account" [clientId="xxxxx", clientSecret="yyyy", refreshToken="zzzzz"] {
@ -611,7 +611,7 @@ Bridge netatmo:account:home "Netatmo Account" [clientId="xxxxx", clientSecret="y
```
## Sample configuration of live-stream-url channels:
### Sample configuration of live-stream-url channels:
```
....
@ -624,7 +624,7 @@ Bridge netatmo:account:home "Netatmo Account" [clientId="xxxxx", clientSecret="y
```
## items/netatmo.items
### items/netatmo.items
```
# Indoor Module
@ -663,7 +663,7 @@ Number:Length Rain_Hour "Rain Last Hour [%.1f %un
Number:Length Rain_Today "Rain Today [%.1f %unit%]" <rain> { channel = "netatmo:rain:home:inside:rainModule:rain#sum-24"}
```
## sitemaps/netatmo.sitemap
### sitemaps/netatmo.sitemap
```
sitemap netatmo label="Netatmo" {
@ -711,26 +711,74 @@ sitemap netatmo label="Netatmo" {
}
```
## Rule Actions
# Sample data
Multiple actions are supported by this binding. In classic rules these are accessible as shown in this example (adjust getActions with your ThingId):
Example
```
val actions = getActions("netatmo","netatmo:room:home:home:livingroom")
if(null === actions) {
logInfo("actions", "Actions not found, check thing ID")
return
}
```
### setThermRoomTempSetpoint(temp,endtime)
Sends a temperature setpoint (and switch to manual mode) to the thermostat for a room with an end time.
Parameters:
| Name | Description |
|---------|----------------------------------------------------------------------|
| temp | The temperature setpoint. |
| endtime | Time the setpoint should end (Local Unix time in seconds). |
Example:
```
actions.setThermRoomTempSetpoint(19.0, 1654387205)
```
### setThermRoomModeSetpoint(mode,endtime)
Sends a mode to the thermostat for a room with an optional end time.
Parameters:
| Name | Description |
|---------|----------------------------------------------------------------------|
| mode | The mode to set: MANUAL, MAX or HOME. |
| endtime | Time the setpoint should end (Local Unix time in seconds). |
Example:
```
actions.setThermRoomModeSetpoint("MANUAL", 1654387205)
actions.setThermRoomModeSetpoint("HOME", null)
```
## Sample data
If you want to evaluate this binding but have not got a Netatmo station yourself
yet, you can search on the web for a publicly shared weather station.
# Icons
## Icons
The following icons are used by original Netatmo web app:
## Modules
### Modules
- https://my.netatmo.com/images/my/app/module_int.png
- https://my.netatmo.com/images/my/app/module_ext.png
- https://my.netatmo.com/images/my/app/module_rain.png
## Battery status
### Battery status
- https://my.netatmo.com/images/my/app/battery_verylow.png
- https://my.netatmo.com/images/my/app/battery_low.png
@ -739,7 +787,7 @@ The following icons are used by original Netatmo web app:
- https://my.netatmo.com/images/my/app/battery_full.png
## Signal status
### Signal status
- https://my.netatmo.com/images/my/app/signal_verylow.png
- https://my.netatmo.com/images/my/app/signal_low.png
@ -748,7 +796,7 @@ The following icons are used by original Netatmo web app:
- https://my.netatmo.com/images/my/app/signal_full.png
## Wifi status
### Wifi status
- https://my.netatmo.com/images/my/app/wifi_low.png
- https://my.netatmo.com/images/my/app/wifi_medium.png

View File

@ -166,7 +166,7 @@ When used as a Switch, you will be limited to arming and disarming the system.
See `SecuritySystem as Group` for explanation on the configuration options.
Google Command: "*Hey Google, arm House Alarm*" OR "*Hey Google, disarm House Alarm*".
Google Command: "_Hey Google, arm House Alarm_" OR "_Hey Google, disarm House Alarm_".
```shell
Switch houseAlarm "House Alarm" { ga="SecuritySystem", pinNeeded="1234" }

View File

@ -48,7 +48,7 @@
<item-type>Number</item-type>
<label>Error Code</label>
<description>0 = no error</description>
<state readOnly="false"></state>
<state readOnly="true"></state>
</channel-type>
<channel-type id="statecode" advanced="true">
<item-type>Number</item-type>
@ -78,7 +78,11 @@
<option value="773">Returning to Dock - Battery temp range</option>
<option value="774">Returning to Dock</option>
<option value="775">Returning to Dock - Lawn complete</option>
<option value="775">Returning to Dock - Relocalising</option>
<option value="776">Returning to Dock - Relocalising</option>
<option value="1025">Diagnostic mode</option>
<option value="1026">End of life</option>
<option value="1281">Software update</option>
<option value="64513">Docked</option>
</options>
</state>
</channel-type>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="AnalogMeter">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Analog Meter</label>
<description>The Analog Meter from the LIVISI EnergyControl product.</description>
<channels>
<channel id="absoluteEnergyConsumption" typeId="absoluteEnergyConsumption"/>
<channel id="energyConsumptionDayKwh" typeId="energyConsumptionDayKwh"/>
<channel id="energyConsumptionDayEuro" typeId="energyConsumptionDayEuro"/>
<channel id="energyConsumptionMonthKwh" typeId="energyConsumptionMonthKwh"/>
<channel id="energyConsumptionMonthEuro" typeId="energyConsumptionMonthEuro"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="BRC8">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Basic Remote Controller (BRC8)</label>
<description>A battery powered remote controller with eight push buttons.</description>
<channels>
<channel id="button1" typeId="system.button"/>
<channel id="button2" typeId="system.button"/>
<channel id="button3" typeId="system.button"/>
<channel id="button4" typeId="system.button"/>
<channel id="button5" typeId="system.button"/>
<channel id="button6" typeId="system.button"/>
<channel id="button7" typeId="system.button"/>
<channel id="button8" typeId="system.button"/>
<channel id="button1Count" typeId="pushButtonCounter"/>
<channel id="button2Count" typeId="pushButtonCounter"/>
<channel id="button3Count" typeId="pushButtonCounter"/>
<channel id="button4Count" typeId="pushButtonCounter"/>
<channel id="button5Count" typeId="pushButtonCounter"/>
<channel id="button6Count" typeId="pushButtonCounter"/>
<channel id="button7Count" typeId="pushButtonCounter"/>
<channel id="button8Count" typeId="pushButtonCounter"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="BT-PSS">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Bluetooth Pluggable Smart Switch (BT-PSS)</label>
<description>A pluggable switch that can be switched on and off and which can measure the current energy consumption.</description>
<channels>
<channel id="switch" typeId="switchActuator"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="GenerationMeter">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Generation Meter</label>
<description>The Generation Meter from the LIVISI PowerControlSolar product, that measures the generated energy.</description>
<channels>
<channel id="powerGenerationWatt" typeId="powerGenerationWatt"/>
<channel id="totalEnergyGeneration" typeId="totalEnergyGeneration"/>
<channel id="energyGenerationDayKwh" typeId="energyGenerationDayKwh"/>
<channel id="energyGenerationDayEuro" typeId="energyGenerationDayEuro"/>
<channel id="energyGenerationMonthKwh" typeId="energyGenerationMonthKwh"/>
<channel id="energyGenerationMonthEuro" typeId="energyGenerationMonthEuro"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="ISC2">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>In Wall Smart Controller (ISC2)</label>
<description>A smart controller with two push buttons.</description>
<channels>
<channel id="button1" typeId="system.button"/>
<channel id="button2" typeId="system.button"/>
<channel id="button1Count" typeId="pushButtonCounter"/>
<channel id="button2Count" typeId="pushButtonCounter"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="ISD2">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>In Wall Smart Dimmer (ISD2)</label>
<description>An in wall dimmer with push buttons.</description>
<channels>
<channel id="dimmer" typeId="dimmerActuator"/>
<channel id="button1" typeId="system.button"/>
<channel id="button2" typeId="system.button"/>
<channel id="button1Count" typeId="pushButtonCounter"/>
<channel id="button2Count" typeId="pushButtonCounter"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="ISR2">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>In Wall Smart Roller Shutter (ISR2)</label>
<description>An in wall rollershutter with two push buttons.</description>
<channels>
<channel id="rollershutter" typeId="rollershutterActuator"/>
<channel id="button1" typeId="system.button"/>
<channel id="button2" typeId="system.button"/>
<channel id="button1Count" typeId="pushButtonCounter"/>
<channel id="button2Count" typeId="pushButtonCounter"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="ISS2">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>In Wall Smart Switch (ISS2)</label>
<description>An in wall switch with push buttons that can be switched on and off.</description>
<channels>
<channel id="switch" typeId="switchActuator"/>
<channel id="button1" typeId="system.button"/>
<channel id="button2" typeId="system.button"/>
<channel id="button1Count" typeId="pushButtonCounter"/>
<channel id="button2Count" typeId="pushButtonCounter"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="PSD">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Pluggable Smart Dimmer (PSD)</label>
<description>A pluggable dimmer.</description>
<channels>
<channel id="dimmer" typeId="dimmerActuator"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="PSS">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Pluggable Smart Switch (PSS)</label>
<description>A pluggable switch that can be switched on and off.</description>
<channels>
<channel id="switch" typeId="switchActuator"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="PSSO">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Pluggable Smart Switch Outdoor (PSSO)</label>
<description>A pluggable outdoor switch that can be switched on and off.</description>
<channels>
<channel id="switch" typeId="switchActuator"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="RST">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Radiator Mounted Smart Thermostat (RST)</label>
<description>A thermostat, that supports setting the temperature and measuring the current temperature and humidity.</description>
<channels>
<channel id="targetTemperature" typeId="thermostatActuatorPointTemperature"/>
<channel id="currentTemperature" typeId="temperatureSensorTemperature"/>
<channel id="frostWarning" typeId="temperatureSensorFrostWarning"/>
<channel id="humidity" typeId="humiditySensorHumidity"/>
<channel id="moldWarning" typeId="humiditySensorMoldWarning"/>
<channel id="operationMode" typeId="thermostatActuatorOperationMode"/>
<channel id="windowReductionActive" typeId="thermostatActuatorWindowReductionActive"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="RST2">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Radiator Mounted Smart Thermostat (RST2)</label>
<description>A thermostat, that supports setting the temperature and measuring the current temperature and humidity (2
battery version since 2018)</description>
<channels>
<channel id="targetTemperature" typeId="thermostatActuatorPointTemperature"/>
<channel id="currentTemperature" typeId="temperatureSensorTemperature"/>
<channel id="frostWarning" typeId="temperatureSensorFrostWarning"/>
<channel id="humidity" typeId="humiditySensorHumidity"/>
<channel id="moldWarning" typeId="humiditySensorMoldWarning"/>
<channel id="operationMode" typeId="thermostatActuatorOperationMode"/>
<channel id="windowReductionActive" typeId="thermostatActuatorWindowReductionActive"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="SmartMeter">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Smart Meter</label>
<description>The Smart Meter from the LIVISI PowerControl product.</description>
<channels>
<channel id="powerConsumptionWatt" typeId="powerConsumptionWatt"/>
<channel id="absoluteEnergyConsumption" typeId="absoluteEnergyConsumption"/>
<channel id="energyConsumptionDayKwh" typeId="energyConsumptionDayKwh"/>
<channel id="energyConsumptionDayEuro" typeId="energyConsumptionDayEuro"/>
<channel id="energyConsumptionMonthKwh" typeId="energyConsumptionMonthKwh"/>
<channel id="energyConsumptionMonthEuro" typeId="energyConsumptionMonthEuro"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="TwoWayMeter">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Two-Way-Meter</label>
<description>The Two-Way-Meter from the LIVISI PowerControlSolar product.</description>
<channels>
<channel id="powerWatt" typeId="powerConsumptionWatt"/>
<channel id="totalEnergy" typeId="totalEnergyConsumption"/>
<channel id="energyDayKwh" typeId="energyConsumptionDayKwh"/>
<channel id="energyDayEuro" typeId="energyConsumptionDayEuro"/>
<channel id="energyMonthKwh" typeId="energyConsumptionMonthKwh"/>
<channel id="energyMonthEuro" typeId="energyConsumptionMonthEuro"/>
<channel id="totalEnergyFed" typeId="totalEnergyFed"/>
<channel id="energyFeedDayKwh" typeId="energyFeedDayKwh"/>
<channel id="energyFeedDayEuro" typeId="energyFeedDayEuro"/>
<channel id="energyFeedMonthKwh" typeId="energyFeedMonthKwh"/>
<channel id="energyFeedMonthEuro" typeId="energyFeedMonthEuro"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="VariableActuator">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Variable Actuator</label>
<description>A variable from the LIVISI SmartHome system that can be switched on and off.</description>
<channels>
<channel id="switch" typeId="booleanStateActuator"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="WDS">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Wall Mounted Door/Window Sensor (WDS)</label>
<description>A window/door sensor, that provides the open/close state.</description>
<channels>
<channel id="contact" typeId="windowDoorSensor"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="WMD">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Wall Mounted Motion Detector Indoor (WMD)</label>
<description>A battery powered motion detector, that also measures luminance.</description>
<channels>
<channel id="motionCount" typeId="motionDetectionSensor"/>
<channel id="luminance" typeId="luminanceSensor"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="WMDO">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Wall Mounted Motion Detector Outdoor (WMDO)</label>
<description>A battery powered motion detector for outdoors, that also measures luminance.</description>
<channels>
<channel id="motionCount" typeId="motionDetectionSensor"/>
<channel id="luminance" typeId="luminanceSensor"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="WRT">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Wall Mounted Room Thermostat (WRT)</label>
<description>A wall thermostat, that supports setting the temperature and measuring the current temperature and
humidity.</description>
<channels>
<channel id="targetTemperature" typeId="thermostatActuatorPointTemperature"/>
<channel id="currentTemperature" typeId="temperatureSensorTemperature"/>
<channel id="frostWarning" typeId="temperatureSensorFrostWarning"/>
<channel id="humidity" typeId="humiditySensorHumidity"/>
<channel id="moldWarning" typeId="humiditySensorMoldWarning"/>
<channel id="operationMode" typeId="thermostatActuatorOperationMode"/>
<channel id="windowReductionActive" typeId="thermostatActuatorWindowReductionActive"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="WSC2">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Wall Mounted Smart Controller (WSC2)</label>
<description>A battery powered smart controller with two push buttons.</description>
<channels>
<channel id="button1" typeId="system.button"/>
<channel id="button2" typeId="system.button"/>
<channel id="button1Count" typeId="pushButtonCounter"/>
<channel id="button2Count" typeId="pushButtonCounter"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="WSD">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Wall Mounted Smoke Detector (WSD)</label>
<description>A battery powered smoke detector sensor with integrated alarm (first version).</description>
<channels>
<channel id="smoke" typeId="smokeDetectorSensor"/>
<channel id="alarm" typeId="alarmActuator"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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-type id="WSD2">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Wall Mounted Smoke Detector (WSD2)</label>
<description>A battery powered smoke detector sensor with integrated alarm (2nd version with long-life battery).</description>
<channels>
<channel id="smoke" typeId="smokeDetectorSensor"/>
<channel id="alarm" typeId="alarmActuator"/>
<channel id="batteryLow" typeId="system.low-battery"/>
</channels>
<representation-property>id</representation-property>
<config-description-ref uri="thing-type:livisismarthome:config"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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">
<bridge-type id="bridge">
<label>LIVISI SmartHome Controller</label>
<description>The LIVISI SmartHome Controller (SHC) is the bridge for the LIVISI SmartHome System.</description>
<channels>
<channel id="status" typeId="operationStatus"/>
<channel id="cpu" typeId="cpuUsage"/>
<channel id="disk" typeId="diskUsage"/>
<channel id="memory" typeId="memoryUsage"/>
</channels>
<representation-property>id</representation-property>
<config-description>
<parameter-group name="connection">
<label>Connection</label>
<description>Parameters for connecting to LIVISI SmartHome Controller (SHC)</description>
</parameter-group>
<parameter-group name="advanced">
<label>Advanced Configuration</label>
<description>Advanced parameters, for special tweaking only.</description>
<advanced>true</advanced>
</parameter-group>
<parameter name="host" type="text" required="true" groupName="connection">
<label>Host</label>
<description>The hostname or local IP address of the LIVISI SmartHome Controller (SHC)</description>
</parameter>
<parameter name="password" type="text" required="true" groupName="connection">
<label>Password</label>
<description>Password for the local API of LIVISI SmartHome</description>
<context>password</context>
</parameter>
<parameter name="webSocketIdleTimeout" type="integer" min="0" max="3600" unit="s" groupName="advanced">
<unitLabel>seconds</unitLabel>
<label>WebSocket Idle Timeout in Seconds</label>
<description>The WebSocket is the connection to the LIVISI service that listens to status updates. If no data is
received over the WebSocket connection for the given time, the WebSocket will reconnect. 0 will disable the idle
timeout. Default is 900 seconds (15 minutes).</description>
<default>900</default>
<advanced>true</advanced>
</parameter>
</config-description>
</bridge-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,368 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="livisismarthome"
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">
<!-- Switch Channel -->
<channel-type id="switchActuator">
<item-type>Switch</item-type>
<label>Switch</label>
<description>Switches the current on/off</description>
<category>Switch</category>
</channel-type>
<!-- Dimmer Channel -->
<channel-type id="dimmerActuator">
<item-type>Dimmer</item-type>
<label>Dimmer</label>
<description>Dims the connected light</description>
<category>Lightbulb</category>
</channel-type>
<!-- RollerShutter Channel -->
<channel-type id="rollershutterActuator">
<item-type>Rollershutter</item-type>
<label>Blinds Position</label>
<description>Controls the blinds</description>
<category>Blinds</category>
<config-description>
<parameter name="invert" type="boolean">
<label>Invert Position</label>
<description>When invert is true than 0 on LIVISI is UP and 100 is DOWN</description>
</parameter>
</config-description>
</channel-type>
<!-- BooleanSwitch Channel -->
<channel-type id="booleanStateActuator">
<item-type>Switch</item-type>
<label>State</label>
<description>Switches the state on/off</description>
<category>Switch</category>
</channel-type>
<!-- ThermostatActuator -->
<channel-type id="thermostatActuatorPointTemperature">
<item-type>Number:Temperature</item-type>
<label>Target Temperature</label>
<description>Thermostat target temperature</description>
<category>Temperature</category>
<tags>
<tag>Setpoint</tag>
<tag>Temperature</tag>
</tags>
<state min="6" max="30" step="0.5" pattern="%.1f %unit%" readOnly="false"/>
</channel-type>
<channel-type id="thermostatActuatorOperationMode" advanced="true">
<item-type>String</item-type>
<label>Operation Mode</label>
<description>Thermostat operation mode (manual/auto)</description>
<category>Settings</category>
<state>
<options>
<option value="Auto">Auto</option>
<option value="Manu">Manual</option>
</options>
</state>
</channel-type>
<channel-type id="thermostatActuatorWindowReductionActive" advanced="true">
<item-type>Switch</item-type>
<label>Window Reduction Active</label>
<description>Thermostat temperature reduced, if window is open.</description>
<category>Temperature</category>
<state readOnly="true"/>
</channel-type>
<!-- TemperatureSensor -->
<channel-type id="temperatureSensorTemperature">
<item-type>Number:Temperature</item-type>
<label>Actual Temperature</label>
<description>Actual measured room temperature</description>
<category>Temperature</category>
<tags>
<tag>Measurement</tag>
<tag>Temperature</tag>
</tags>
<state pattern="%.1f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="temperatureSensorFrostWarning" advanced="true">
<item-type>Switch</item-type>
<label>Frost Warning</label>
<description>Warns, if temperature drop below a threshold (configured in LIVISI app)</description>
<category>Temperature</category>
<state readOnly="true"/>
</channel-type>
<!-- HumiditySensor -->
<channel-type id="humiditySensorHumidity">
<item-type>Number:Dimensionless</item-type>
<label>Actual Humidity</label>
<description>Actual measured room humidity</description>
<category>Humidity</category>
<tags>
<tag>Measurement</tag>
<tag>Humidity</tag>
</tags>
<state readOnly="true" min="0" max="100" pattern="%.1f%%"/>
</channel-type>
<channel-type id="humiditySensorMoldWarning" advanced="true">
<item-type>Switch</item-type>
<label>Mold Warning</label>
<description>Active, if humidity is over a threshold (configured in LIVISI app)</description>
<category>Humidity</category>
<state readOnly="true"/>
</channel-type>
<!-- WindowDoorSensor Channel -->
<channel-type id="windowDoorSensor">
<item-type>Contact</item-type>
<label>Contact</label>
<description>Shows the open/close state</description>
<category>Contact</category>
<state readOnly="true"/>
</channel-type>
<!-- SmokeDetectorSensor Channel -->
<channel-type id="smokeDetectorSensor">
<item-type>Switch</item-type>
<label>Smoke</label>
<description>Shows if smoke was detected</description>
<category>Smoke</category>
<state readOnly="true"/>
</channel-type>
<!-- AlarmActuator Channel -->
<channel-type id="alarmActuator">
<item-type>Switch</item-type>
<label>Alarm</label>
<description>Switches the alarm on/off</description>
<category>Alarm</category>
</channel-type>
<!-- MotionDetectionSensor Channel -->
<channel-type id="motionDetectionSensor">
<item-type>Number</item-type>
<label>Motion Count</label>
<description>The count of detected motions</description>
<category>Motion</category>
<state readOnly="true"/>
</channel-type>
<!-- LuminanceSensor Channel -->
<channel-type id="luminanceSensor">
<item-type>Number:Dimensionless</item-type>
<label>Luminance</label>
<description>Shows the detected luminance in percent</description>
<category>Sun</category>
<state readOnly="true" min="0" max="100" pattern="%d%%"/>
</channel-type>
<!-- PushButtonCounter Channel -->
<channel-type id="pushButtonCounter" advanced="true">
<item-type>Number</item-type>
<label>Button Pushed Count</label>
<description>The count of button pushes.</description>
<category>Count</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyConsumptionMonthKWh -->
<channel-type id="energyConsumptionMonthKwh" advanced="true">
<item-type>Number:Energy</item-type>
<label>Consumption (month)</label>
<description>The energy consumption per month in kWh</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- AbsoluteEnergyConsumption -->
<channel-type id="absoluteEnergyConsumption">
<item-type>Number:Energy</item-type>
<label>Total Consumption</label>
<description>The absolute energy consumption</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyConsumptionMonthEuro -->
<channel-type id="energyConsumptionMonthEuro" advanced="true">
<item-type>Number</item-type>
<label>Consumption Costs (month)</label>
<description>The energy consumption per month in Euro</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyConsumptionDayEuro -->
<channel-type id="energyConsumptionDayEuro">
<item-type>Number</item-type>
<label>Consumption Costs (day)</label>
<description>The energy consumption per day in Euro</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyConsumptionDayKWh -->
<channel-type id="energyConsumptionDayKwh">
<item-type>Number:Energy</item-type>
<label>Consumption (day)</label>
<description>The energy consumption per day in kWh</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- PowerConsumptionWatt -->
<channel-type id="powerConsumptionWatt">
<item-type>Number:Power</item-type>
<label>Current Power Consumption</label>
<description>The current power consumption in Watt</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyGenerationMonthKWh -->
<channel-type id="energyGenerationMonthKwh" advanced="true">
<item-type>Number:Energy</item-type>
<label>Generation (month)</label>
<description>The energy generation per month in kWh</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- TotalEnergyGeneration -->
<channel-type id="totalEnergyGeneration">
<item-type>Number:Energy</item-type>
<label>Total Generation</label>
<description>The total energy generation</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyGenerationMonthEuro -->
<channel-type id="energyGenerationMonthEuro" advanced="true">
<item-type>Number</item-type>
<label>Generation Value (month)</label>
<description>The energy generation per month in Euro</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyGenerationDayEuro -->
<channel-type id="energyGenerationDayEuro">
<item-type>Number</item-type>
<label>Generation Value (day)</label>
<description>The energy generation per day in Euro</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyGenerationDayKWh -->
<channel-type id="energyGenerationDayKwh">
<item-type>Number:Energy</item-type>
<label>Generation (day)</label>
<description>The energy generation per day in kWh</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- PowerGenerationWatt -->
<channel-type id="powerGenerationWatt">
<item-type>Number:Power</item-type>
<label>Current Power Generation</label>
<description>The current power generation in Watt</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- TotalEnergyConsumption -->
<channel-type id="totalEnergyConsumption">
<item-type>Number:Energy</item-type>
<label>Total Consumption</label>
<description>The total energy consumption</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyFeedMonthKWh -->
<channel-type id="energyFeedMonthKwh" advanced="true">
<item-type>Number:Energy</item-type>
<label>Feed (month)</label>
<description>The energy feed per month in kWh</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- TotalEnergyFeed -->
<channel-type id="totalEnergyFed">
<item-type>Number:Energy</item-type>
<label>Total Fed</label>
<description>The total energy fed</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyFeedMonthEuro -->
<channel-type id="energyFeedMonthEuro" advanced="true">
<item-type>Number</item-type>
<label>Feed Income (month)</label>
<description>The energy feed per month in Euro</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyFeedDayEuro -->
<channel-type id="energyFeedDayEuro">
<item-type>Number</item-type>
<label>Feed Income (day)</label>
<description>The energy feed per day in Euro</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- EnergyFeedDayKWh -->
<channel-type id="energyFeedDayKwh">
<item-type>Number:Energy</item-type>
<label>Feed (day)</label>
<description>The energy feed per day in kWh</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- CPUUsage -->
<channel-type id="cpuUsage">
<item-type>Number:Dimensionless</item-type>
<label>CPU Usage</label>
<description>The CPU usage of the SHC in percent</description>
<category>Line</category>
<state readOnly="true" min="0" max="100" pattern="%d%%"/>
</channel-type>
<!-- DiskUsage -->
<channel-type id="diskUsage">
<item-type>Number:Dimensionless</item-type>
<label>Disk Usage</label>
<description>The disk usage of the SHC</description>
<category>Line</category>
<state readOnly="true" min="0" max="100" pattern="%d%%"/>
</channel-type>
<!-- MemoryUsage -->
<channel-type id="memoryUsage">
<item-type>Number:Dimensionless</item-type>
<label>Memory Usage</label>
<description>The memory usage of the SHC in percent</description>
<category>Line</category>
<state readOnly="true" min="0" max="100" pattern="%d%%"/>
</channel-type>
<!-- OperationStatus -->
<channel-type id="operationStatus">
<item-type>String</item-type>
<label>Status</label>
<description>The operation status of SHC-A</description>
<category>Settings</category>
<state readOnly="true"/>
</channel-type>
</thing:thing-descriptions>