[Documentation] Markdown improvements n to s (#13948)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
This commit is contained in:
Jerome Luckenbach
2022-12-14 16:52:43 +01:00
committed by GitHub
parent d73218d882
commit 1ca9baf157
106 changed files with 4506 additions and 4729 deletions

View File

@@ -4,19 +4,19 @@ This binding reads temperature values from OneWire bus sensors connected to the
## Supported Things
Temperature sensors.
Temperature sensors.
Tested successfully with DS18B20 sensor on Raspberry Pi 3.
## Binding Configuration
The binding requires OneWire sensor to be properly connected to Raspberry Pi GPIO bus,
"w1_gpio" and "wire" kernel modules should be loaded.
Configuration is proper when /sys/bus/w1/devices folder is present, and contains sensor's data.
Configuration is proper when /sys/bus/w1/devices folder is present, and contains sensor's data.
## Thing Configuration
The sensors are visible in the system as folders containing files with sensor data.
By default all OneWire GPIO devices are stored in /sys/bus/w1/devices/DEVICE_ID_FOLDER,
By default all OneWire GPIO devices are stored in /sys/bus/w1/devices/DEVICE_ID_FOLDER,
and the temperature value is available in the file "w1_slave". The Thing needs full path to the w1_slave file.
Note the values in sysfs are in Celsius.
@@ -24,7 +24,7 @@ Optional parameter precision makes it easier to lower precision of the sensor va
In the thing file, this looks e.g. like
```
```java
Thing onewiregpio:sensor:livingRoom "Living room" [gpio_bus_file="/sys/bus/w1/devices/28-0000061b587b/w1_slave",refresh_time=30,precision=1]
```
@@ -36,19 +36,19 @@ The devices supports currently one channel - "temperature" which allows to read
sample onewiregpio.things file content:
```
```java
Thing onewiregpio:sensor:livingroom "Living room" [gpio_bus_file="/sys/bus/w1/devices/28-0000061b587b/w1_slave",refresh_time=30]
```
sample onewiregpio.items file content (implements QuantityType for unit conversion):
```
``` java
Number:Temperature LivingRoomTemperature "Temperature: [%.2f %unit%]" <temperature> { channel="onewiregpio:sensor:livingroom:temperature" }
```
sample demo.sitemap file content:
```
```perl
sitemap demo label="Main Menu"
{
Text item=LivingRoomTemperature