pulled formatting fixes

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/4/head
Kai Kreuzer 2016-05-24 23:08:05 +02:00
parent d7283b790f
commit 61809303bb
8 changed files with 42 additions and 21 deletions

@ -1 +1 @@
Subproject commit c138f6648265dcc75f0bc16e40c810eab49aa9fd
Subproject commit 3e61b7c9010cf17d79c190b6db8ab209bed8184d

View File

@ -185,6 +185,7 @@ All devices support some of the following channels:
## Full Example
demo.things:
```
Bridge digitalstrom:dssBridge:1 [ ipAddress="dss.local.", userName="dssadmin", password="dssadmin", sensorDataUpdateIntervall=180] {
GE GE-KM200 [ dSID="3504175fe0000000000043d4", ActivePowerRefreshPriority="low", ElectricMeterRefreshPriority="medium", OutputCurrentRefreshPriority="high"]
@ -194,6 +195,7 @@ Bridge digitalstrom:dssBridge:1 [ ipAddress="dss.local.", userName="dssadmin",
```
demo.items:
```
Dimmer Brightness { channel="digitalstrom:GE:GE-KM200-1:brightness" }
Number ActivePower { channel="digitalstrom:GE:GE-KM200-1:activePower" }
@ -210,6 +212,7 @@ Switch Scene { channel="digitalstrom:namedScene:scene1:scene" }
```
demo.sitemap:
```
sitemap demo label="Main Menu"
{

View File

@ -63,11 +63,13 @@ The radio mode depends on the internet radio model (and probably its firmware ve
## Full Example
demo.things:
```
fsinternetradio:radio:radioInKitchen [ ip="192.168.0.42" ]
```
demo.items:
```
Switch RadioPower "Radio Power" { channel="fsinternetradio:radio:radioInKitchen:power" }
Switch RadioMute "Radio Mute" { channel="fsinternetradio:radio:radioInKitchen:mute" }
@ -79,6 +81,7 @@ String RadioInfo2 "Radio Info2" { channel="fsinternetradio:radio:radioInKitchen:
```
demo.sitemap:
```
sitemap demo label="Main Menu"
{

View File

@ -31,6 +31,7 @@ Bridge hue:bridge:1 [ ipAddress="192.168.0.64" ]
```
A user to authenticate against the Hue bridge is automatically generated. Please note that the generated user name cannot be written automatically to the .thing file, and has to be set manually. The generated user name can be found in the log files after pressing the authentication button on the bridge.
The user name can be set using the `userName` configuration value, e.g.:
```
Bridge hue:bridge:1 [ ipAddress="192.168.0.64", userName="qwertzuiopasdfghjklyxcvbnm1234" ]
```
@ -55,6 +56,7 @@ All devices support some of the following channels:
## Full Example
demo.things:
```
Bridge hue:bridge:1 [ ipAddress="192.168.0.64" ] {
LCT001 bulb1 [ lightId="1" ]
@ -63,12 +65,14 @@ Bridge hue:bridge:1 [ ipAddress="192.168.0.64" ] {
```
demo.items:
```
Color Light { channel="hue:LCT001:1:bulb1:color" }
Dimmer Light_ColorTemp { channel="hue:LCT001:1:bulb1:color_temperature" }
```
demo.sitemap:
```
sitemap demo label="Main Menu"
{

View File

@ -42,16 +42,19 @@ The bulb only supports the color channel:
## Full Example
demo.things:
```
Thing lifx:light:light1 [ deviceId="D073D5010E20" ]
```
demo.items:
```
Color Light { channel="lifx:light:light1:color" }
```
demo.sitemap:
```
sitemap demo label="Main Menu"
{

View File

@ -41,10 +41,12 @@ The ntp binding has only one channel `dateTime`
## Full Example
Things:
```
ntp:ntp:demo [ hostname="nl.pool.ntp.org", refreshInterval=60, refreshNtp=30 ]
```
Items:
```
DateTime Date "Date [%1$tA, %1$td.%1$tm.%1$tY %1$tH:%1$tM]" { channel="ntp:ntp:demo:dateTime" }
```

View File

@ -52,11 +52,13 @@ Devices support some of the following channels:
## Full Example
demo.things:
```
wemo:socket:Switch1 [udn="Socket-1_0-221242K11xxxxx"]
```
demo.items:
```
Switch DemoSwitch { channel="wemo:socket:Switch1:state" }
Switch LightSwitch { channel="wemo:lightswitch:Lightswitch1:state" }
@ -68,6 +70,7 @@ Number InsightTotal { channel="wemo:insight:Insight1:onTotal" }
```
demo.sitemap:
```
sitemap demo label="Main Menu"
{

View File

@ -33,16 +33,19 @@ The weather information that is retrieved is available as these channels:
## Full Example
demo.things:
```
yahooweather:weather:berlin [ location="638242" ]
```
demo.items:
```
Number Temperature "Outside Temperature" { channel="yahooweather:weather:berlin:temperature" }
```
demo.sitemap:
```
sitemap demo label="Main Menu"
{