Skip to content

LIVISI SmartHome Binding ​

The binding integrates the LIVISI (RWE/innogy) SmartHome 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.

DeviceDescriptionSupported channels
SHCSmartHome Controller (Bridge)status, cpu, disk, memory (updated by events; SHC classic: Updated every minute)
BRC8Basic Remote Controllerbutton1 ... button8, button1Count ... button8Count, batteryLow
ISC2In Wall Smart Controllerbutton1, button2, button1Count, button2Count, batteryLow
ISD2In Wall Smart Dimmerbutton1, button2, button1Count, button2Count, dimmer
ISR2In Wall Smart Rollershutterbutton1, button2, button1Count, button2Count, rollershutter
ISS2In Wall Smart Switchbutton1, button2, button1Count, button2Count, switch
PSDPluggable Smart Dimmerdimmer
PSSPluggable Smart Switch, indoorswitch
PSSOPluggable Smart Switch, outdoorswitch
BT-PSSBluetooth Pluggable Smart Switch, indoorswitch
RSTRadiator Mounted Smart ThermostattargetTemperature, currentTemperature, frostWarning, humidity, moldWarning, operationMode, windowReductionActive, batteryLow
RST2Radiator Mounted Smart Thermostat (newer two battery version since 2018)targetTemperature, currentTemperature, frostWarning, humidity, moldWarning, operationMode, windowReductionActive, batteryLow
VariableActuatorswitch
WDSWindow Door Sensorcontact, batteryLow
WMDWall Mounted Motion Detector, indoormotionCount, luminance, batteryLow
WMDOWall Mounted Motion Detector, outdoormotionCount, luminance, batteryLow
WRTWall Mounted Room ThermostattargetTemperature, currentTemperature, frostWarning, humidity, moldWarning, operationMode, windowReductionActive, batteryLow
WSC2Wall Mounted Smart Controllerbutton1, button2, button1Count, button2Count, batteryLow
WSDWall Mounted Smoke Detector, old versionsmoke, alarm, batteryLow
WSD2Wall Mounted Smoke Detector, new versionsmoke, alarm, batteryLow
SIRWall Mounted Siren, indoorsiren, batteryLow

Powermeter devices

DeviceDescriptionSupported channels
AnalogMeterThe Analog Meter from the LIVISI EnergyControl productenergyConsumptionMonthKwh, absoluteEnergyConsumption, energyConsumptionMonthEuro, energyConsumptionDayEuro, energyConsumptionDayKwh
GenerationMeterThe Generation Meter from the LIVISI PowerControlSolar productenergyGenerationMonthKwh, totalEnergyGeneration, energyGenerationMonthEuro, energyGenerationDayEuro, energyGenerationDayKwh, powerGenerationWatt
SmartMeterThe Smart Meter from the LIVISI PowerControl product.energyConsumptionMonthKwh, absoluteEnergyConsumption, energyConsumptionMonthEuro, energyConsumptionDayEuro, energyConsumptionDayKwh, powerConsumptionWatt
Two-Way-MeterThe Two-Way-Meter from the LIVISI PowerControlSolar productenergyMonthKwh, 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 IDItem TypeDescriptionAvailable on Thing
alarmSwitchSwitches the alarm (ON/OFF)WSD, WSD2
batteryLowSwitchIndicates, if the battery is low (ON/OFF)BRC8, ISC2, RST, RST2, WDS, WMD, WMD0, WRT, WSC2, WSD, WSD2
contactContactIndicates the contact state (OPEN/CLOSED)WDS
cpuNumberCPU-Usage of the SHC in percentSHC (bridge)
dimmerDimmerAllows to dimm a light deviceISD2, PSD
diskNumberDisk-Usage of the SHC in percentSHC (bridge)
frostWarningSwitchactive, if the measured temperature is too low (ON/OFF)RST, RST2, WRT
humidityNumberRelative humidity in percentRST, RST2, WRT
button1-Trigger channel for rules, fires with each pushBRC8, ISC2, ISD2, ISR2, ISS2, WSC2
button2-Trigger channel for rules, fires with each pushBRC8, ISC2, ISD2, ISR2, ISS2, WSC2
button3-Trigger channel for rules, fires with each pushBRC8
button4-Trigger channel for rules, fires with each pushBRC8
button5-Trigger channel for rules, fires with each pushBRC8
button6-Trigger channel for rules, fires with each pushBRC8
button7-Trigger channel for rules, fires with each pushBRC8
button8-Trigger channel for rules, fires with each pushBRC8
button1CountNumberNumber of button pushes for button 1, increased with each pushBRC8, ISC2, ISD2, ISR2, ISS2, WSC2
button2CountNumberNumber of button pushes for button 2, increased with each pushBRC8, ISC2, ISD2, ISR2, ISS2, WSC2
button3CountNumberNumber of button pushes for button 3, increased with each pushBRC8
button4CountNumberNumber of button pushes for button 4, increased with each pushBRC8
button5CountNumberNumber of button pushes for button 5, increased with each pushBRC8
button6CountNumberNumber of button pushes for button 6, increased with each pushBRC8
button7CountNumberNumber of button pushes for button 7, increased with each pushBRC8
button8CountNumberNumber of button pushes for button 8, increased with each pushBRC8
luminanceNumberIndicates the measured luminance in percentWMD, WMD0
memoryNumberMemory-Usage of the SHC in percentSHC (bridge)
moldWarningSwitchActive, if the measured humidity is too low (ON/OFF)RST, RST2, WRT
motionCountNumberNumber of detected motions, increases with each detected motionWMD, WMDO
operationModeStringThe mode of a thermostat (auto/manual)RST, RST2, WRT
restartSwitchRestarts the device (stateless switch)SHC (bridge)
rollershutterRollershutterControls a roller shutterISR2
targetTemperatureNumberSets the target temperature in °C (min 6 °C, max 30 °C)RST, RST2, WRT
sirenSwitchSwitches the siren (ON/OFF)SIR
smokeSwitchIndicates, if smoke was detected (ON/OFF)WSD, WSD2
statusStringStatus of the SHC (ACTIVE/NORMAL, INITIALIZING/REBOOTING or SHUTTINGDOWN)SHC (bridge)
switchSwitchA switch to turn the device or variable on/off (ON/OFF)ISS2, PSS, PSSO, VariableActuator
currentTemperatureNumberHolds the actual temperature in °CRST, RST2, WRT
windowReductionActiveSwitchIndicates 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 TypeDescriptionAvailable on Thing
SHORT_PRESSEDFired when you press a button shortBRC8, ISC2, ISD2, ISR2, ISS2, WSC2
LONG_PRESSEDFired when you press a button longerBRC8, ISC2, ISD2, ISR2, ISS2, WSC2
PRESSEDFired 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:

dsl
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:

dsl
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:

dsl
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:

dsl
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:

dsl
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:

rules
rule "Button triggered rule"
when
    Channel 'livisismarthome:WSC2:mybridge:myPushButton:button1' triggered PRESSED
then
    // do something...
    logInfo("testlogger", "Button 1 pressed")
end