From 9581059f3a11f5499d63177bf6942d6513ea35ab Mon Sep 17 00:00:00 2001 From: Jacob Laursen Date: Sun, 19 Mar 2023 20:49:27 +0100 Subject: [PATCH] Add more example things/items Signed-off-by: Jacob Laursen --- bundles/org.openhab.binding.deconz/README.md | 44 +++++++++++++------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/bundles/org.openhab.binding.deconz/README.md b/bundles/org.openhab.binding.deconz/README.md index d580134e468f2..688a201fef2d6 100644 --- a/bundles/org.openhab.binding.deconz/README.md +++ b/bundles/org.openhab.binding.deconz/README.md @@ -156,9 +156,9 @@ The sensor devices support some of the following channels: | carbonmonoxide | Switch | R | `ON` = carbon monoxide detected | carbonmonoxide | | color | Color | R | Color set by remote | colorcontrol | | windowopen | Contact | R | `windowopen` status is reported by some thermostats | thermostat | -| externalwindowopen | Contact | R/W | forward a status to a thermostat (some devices) | thermostat | -| on | Switch | R | some thermostats report their output state as switch | thermostat | -| locked | Switch | R/W | reports/sets the child lock on some thermostats | thermostat | +| externalwindowopen | Contact | R/W | Forward a status to a thermostat (some devices) | thermostat | +| on | Switch | R | Some thermostats report their output state as switch | thermostat | +| locked | Switch | R/W | Reports/sets the child lock on some thermostats | thermostat | | airquality | String | R | Airquality as string | airqualitysensor | | airqualityppb | Number:Dimensionless | R | Airquality (in parts-per-billion) | airqualitysensor | | moisture | Number:Dimensionless | R | Moisture | moisturesensor | @@ -254,27 +254,41 @@ Bridge deconz:deconz:homeserver [ host="192.168.0.10", apikey="ABCDEFGHIJ" ] { switch livingroom-hue-tap "Livingroom Hue Tap" [ id="6" ] waterleakagesensor basement-water-leakage "Basement Water Leakage" [ id="7" ] alarmsensor basement-alarm "Basement Alarm Sensor" [ id="8", lastSeenPolling=5 ] + moisturesensor livingroom-chili "Livingroom Chili Plant" [ id="9" ] + firesensor livingroom-fire "Livingroom Fire" [ id="10" ] + thermostat livingroom-thermostat "Livingroom Thermostat" [ id="11" ] dimmablelight livingroom-ceiling "Livingroom Ceiling" [ id="1" ] lightgroup livingroom "Livingroom" [ id="1" ] doorlock entrance-door "Door Lock" [ id="20" ] + warningdevice entrance-siren "Entrance Siren" [ id="21" ] } ``` ### Items file ```java -Switch Livingroom_Presence "Presence Livingroom [%s]" { channel="deconz:presencesensor:homeserver:livingroom-presence:presence" } -Number:Temperature Livingroom_Temperature "Temperature Livingroom [%.1f °C]" { channel="deconz:temperaturesensor:homeserver:livingroom-temperature:temperature" } -Number:Dimensionless Livingroom_Humidity "Humidity Livingroom [%.1f %%]" { channel="deconz:humiditysensor:homeserver:livingroom-humidity:humidity" } -String Livingroom_voc_label "Air quality Livingroom [%s]" { channel="deconz:airqualitysensor:homeserver:livingroom-voc:airquality" } -Number:Dimensionless Livingroom_voc "Air quality [%d ppb]" { channel="deconz:airqualitysensor:homeserver:livingroom-voc:airqualityppb" } -Number:Pressure Livingroom_Pressure "Pressure Livingroom [%.1f hPa]" { channel="deconz:pressuresensor:homeserver:livingroom-pressure:pressure" } -Contact Livingroom_Window "Window Livingroom [%s]" { channel="deconz:openclosesensor:homeserver:livingroom-window:open" } -Switch Basement_Water_Leakage "Basement Water Leakage [%s]" { channel="deconz:waterleakagesensor:homeserver:basement-water-leakage:waterleakage" } -Switch Basement_Alarm "Basement Alarm Triggered [%s]" { channel="deconz:alarmsensor:homeserver:basement-alarm:alarm" } -Dimmer Livingroom_Ceiling "Livingroom Ceiling [%d]" { channel="deconz:dimmablelight:homeserver:livingroom-ceiling:brightness" } -Color Livingroom "Livingroom Light Control" { channel="deconz:lightgroup:homeserver:livingroom:color" } -Switch Entrance_Door "Doorlock" { channel="deconz:doorlock:homeserver:entrance-door:lock" } +Switch Livingroom_Presence "Presence Livingroom [%s]" { channel="deconz:presencesensor:homeserver:livingroom-presence:presence" } +Number:Temperature Livingroom_Temperature "Temperature Livingroom [%.1f °C]" { channel="deconz:temperaturesensor:homeserver:livingroom-temperature:temperature" } +Number:Dimensionless Livingroom_Humidity "Humidity Livingroom [%.1f %%]" { channel="deconz:humiditysensor:homeserver:livingroom-humidity:humidity" } +String Livingroom_voc_label "Air quality Livingroom [%s]" { channel="deconz:airqualitysensor:homeserver:livingroom-voc:airquality" } +Number:Dimensionless Livingroom_voc "Air quality [%d ppb]" { channel="deconz:airqualitysensor:homeserver:livingroom-voc:airqualityppb" } +Number:Pressure Livingroom_Pressure "Pressure Livingroom [%.1f hPa]" { channel="deconz:pressuresensor:homeserver:livingroom-pressure:pressure" } +Contact Livingroom_Window "Window Livingroom [%s]" { channel="deconz:openclosesensor:homeserver:livingroom-window:open" } +Switch Basement_Water_Leakage "Basement Water Leakage [%s]" { channel="deconz:waterleakagesensor:homeserver:basement-water-leakage:waterleakage" } +Switch Basement_Alarm "Basement Alarm Triggered [%s]" { channel="deconz:alarmsensor:homeserver:basement-alarm:alarm" } +Number:Dimensionless Livingroom_Chili_Moisture "Chili Plant Moisture [%.1f %%]" { channel="deconz:moisturesensor:homeserver:livingroom-chili:moisture" } +Switch Livingroom_Fire "Fire [%s]" { channel="deconz:firesensor:homeserver:livingroom-fire:fire" } +Number:Temperature Livingroom_Thermostat_CurrentTemperature "Thermostat Temperature [%.1f °C]" { channel="deconz:thermostat:homeserver:livingroom-thermostat:temperature" } +Number:Temperature Livingroom_Thermostat_TargetTemperature "Thermostat Setpoint [%.1f °C]" { channel="deconz:thermostat:homeserver:livingroom-thermostat:heatsetpoint" } +Number:Temperature Livingroom_Thermostat_Offset "Thermostat Offset [%.1f °C]" { channel="deconz:thermostat:homeserver:livingroom-thermostat:offset" } +Number:Dimensionless Livingroom_Thermostat_ValvePosition "Thermostat Valve Position [%.1f %%]" { channel="deconz:thermostat:homeserver:livingroom-thermostat:valve" } +Contact Livingroom_Thermostat_WindowOpen "Thermostat Window Open [%s]" { channel="deconz:thermostat:homeserver:livingroom-thermostat:windowopen" } +Switch Livingroom_Thermostat_Locked "Thermostat Locked [%s]" { channel="deconz:thermostat:homeserver:livingroom-thermostat:locked" } +String Livingroom_Thermostat_Mode "Thermostat Mode [%s]" { channel="deconz:thermostat:homeserver:livingroom-thermostat:mode" } +Dimmer Livingroom_Ceiling "Livingroom Ceiling [%d]" { channel="deconz:dimmablelight:homeserver:livingroom-ceiling:brightness" } +Color Livingroom "Livingroom Light Control" { channel="deconz:lightgroup:homeserver:livingroom:color" } +Switch Entrance_Door "Doorlock" { channel="deconz:doorlock:homeserver:entrance-door:lock" } +String Entrance_Siren "Siren [%s]" { channel="deconz:warningdevice:homeserver:entrance-siren:alert" } ``` ### Events