[Documentation] Markdown improvements n to s (#13948)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
This commit is contained in:
committed by
GitHub
parent
d73218d882
commit
1ca9baf157
@@ -99,7 +99,7 @@ Please see the example below.
|
||||
## Channels
|
||||
|
||||
| Thing | Channel | Note |
|
||||
|------------------------------------------------------------------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| ---------------------------------------------------------------------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| bridge | N.A | bridge does not expose any channel |
|
||||
| gateway | status | status of your gateway |
|
||||
| gateway | scenarios | used to run the scenarios defined in the cloud portal |
|
||||
@@ -226,13 +226,13 @@ When a roller shutter-like thing receives STOP command, there are two possible b
|
||||
|
||||
If you want to set the MY position of a roller shutter and you don't care the possible movement, try sending the MOVE command (OH2 does not know MY, so it stands for "move to MY position")
|
||||
|
||||
```
|
||||
```java
|
||||
CONTROL_CHANNEL.sendCommand(MOVE)
|
||||
```
|
||||
|
||||
Blinds and adjustable slats roller shutters can control their closure and orientation by sending a comma separated string consisting of closure (0-100) and orientation (0-100) to the "closure_orientaion" channel.
|
||||
|
||||
```
|
||||
```java
|
||||
CLOSURE_ORIENTATION_CHANNEL.sendCommand("50,50")
|
||||
```
|
||||
|
||||
@@ -240,7 +240,7 @@ CLOSURE_ORIENTATION_CHANNEL.sendCommand("50,50")
|
||||
|
||||
.things file
|
||||
|
||||
```
|
||||
```java
|
||||
Bridge somfytahoma:bridge:237dbae7 "Somfy Tahoma Bridge" [ email="my@email.com", password="MyPassword", refresh=10 , statusTimeout=30] {
|
||||
Thing gateway 1214-4519-8041 "Tahoma gateway" [ id="1214-4519-8041" ]
|
||||
Thing rollershutter 31da8dac-8e09-455a-bc7a-6ed70f740001 "Bedroom" [ url="io://0204-1234-8041/6825356" ]
|
||||
@@ -266,7 +266,7 @@ Awnings, garage doors, screens, blinds, and windows things have the same notatio
|
||||
|
||||
.items file
|
||||
|
||||
```
|
||||
```java
|
||||
String TahomaVersion "Tahoma version [%s]" { channel="somfytahoma:gateway:237dbae7:1214-4519-8041:version" }
|
||||
Rollershutter RollerShutterBedroom "Roller shutter [%d %%]" {channel="somfytahoma:rollershutter:237dbae7:31da8dac-8e09-455a-bc7a-6ed70f740001:control"}
|
||||
Dimmer RollerShutterBedroomD "Roller shutter dimmer [%.1f]" {channel="somfytahoma:rollershutter:237dbae7:31da8dac-8e09-455a-bc7a-6ed70f740001:control"}
|
||||
@@ -318,7 +318,7 @@ Switch HeatingSwitch "Ext heating switch" { channel="somfytahoma:exteriorheatin
|
||||
|
||||
.sitemap file
|
||||
|
||||
```
|
||||
```perl
|
||||
Text item=TahomaVersion
|
||||
Switch item=Rollers1UP label="Roller shutters 1st floor" mappings=[ON="UP"]
|
||||
Switch item=Rollers1DOWN label="Roller shutters 1st floor" mappings=[ON="DOWN"]
|
||||
@@ -359,7 +359,7 @@ This binding is compatible with the official Alexa Smart Home Skill.
|
||||
Since Rolleshutter items are unsupported, only Dimmer with control channel can be used.
|
||||
Syntax in .item file is as follows:
|
||||
|
||||
```
|
||||
```java
|
||||
Dimmer RollerShutterLivingD "Roller shutter living [%.1f]" [ "Lighting" ] {channel="somfytahoma:rollershutter:237dbae7:87bf0403-a45d-4037-b874-28f4ece30004:control"}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user