[Documentation] Markdown improvements f to m (#13866)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
This commit is contained in:
committed by
GitHub
parent
3c236b3103
commit
0e68936663
@@ -3,7 +3,6 @@
|
||||
The meteoblue binding uses the [meteoblue weather service](https://content.meteoblue.com/en/content/view/full/4511)
|
||||
to provide weather information.
|
||||
|
||||
|
||||
## Supported Things
|
||||
|
||||
The binding has two thing types.
|
||||
@@ -12,7 +11,6 @@ The first thing type is the weather thing. Each weather thing has the ID `weathe
|
||||
The second thing type is the bridge thing. The bridge thing, which has the ID `bridge`, holds the API key to be used for all of
|
||||
its child things.
|
||||
|
||||
|
||||
## Thing Configuration
|
||||
|
||||
### Bridge Thing Configuration
|
||||
@@ -21,7 +19,6 @@ its child things.
|
||||
| ------------- |:-------------:| :-------: | -------------------- |
|
||||
| apiKey | | Yes | The api key to be used with the meteoblue service |
|
||||
|
||||
|
||||
### Weather Thing Configuration
|
||||
|
||||
| Property | Default Value | Required? | Description |
|
||||
@@ -31,7 +28,6 @@ its child things.
|
||||
| serviceType | NonCommercial | No | The service type to be used. Either 'Commercial' or 'NonCommercial' |
|
||||
| timeZone | | No | The time zone to use for the location. Optional, but the service recommends it be specified. The service gets the time zone from a database if not specified. |
|
||||
|
||||
|
||||
## Channels
|
||||
|
||||
### Channel Groups
|
||||
@@ -87,7 +83,6 @@ Each of the following channels is supported in all of the channel groups.
|
||||
| precipitationHours | Number | Total hours of the day with precipitation |
|
||||
| humidityGreater90Hours | Number | Total hours of the day with relative humidity greater than 90% |
|
||||
|
||||
|
||||
## Image Icons
|
||||
|
||||
To show the weather image icons in the UI, the [image files](https://content.meteoblue.com/hu/service-specifications/standards/symbols-and-pictograms) need to be downloaded and installed in the `conf/icons/classic` folder.
|
||||
@@ -96,21 +91,20 @@ In the "Downloads" section at the bottom of the page, download the file named `m
|
||||
|
||||
The files to extract from the zip file and install in the folder will be named "iday*.png" or "iday*.svg".
|
||||
|
||||
|
||||
## Full Example
|
||||
|
||||
demo.things:
|
||||
|
||||
```
|
||||
```java
|
||||
Bridge meteoblue:bridge:metBridge "metBridge" [ apiKey="XXXXXXXXXXXX" ] {
|
||||
Thing weather A51 "Area 51" [ serviceType="NonCommercial", location="37.23,-115.5,1360", timeZone="America/Los_Angeles", refresh=240 ] {
|
||||
}
|
||||
Thing weather A51 "Area 51" [ serviceType="NonCommercial", location="37.23,-115.5,1360", timeZone="America/Los_Angeles", refresh=240 ] {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
demo.items:
|
||||
|
||||
```
|
||||
```java
|
||||
// ----------------- meteoblue GROUPS ------------------------------------------
|
||||
Group weatherDay0 "Today's Weather"
|
||||
Group weatherDay1 "Tomorrow's Weather"
|
||||
@@ -127,8 +121,8 @@ String todayPCode "Pictocode [%d]" <iday> (weatherDay0) {channel="meteoblu
|
||||
String todayCond "Condition [%s]" <iday> (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#condition"}
|
||||
Image todayIcon "Icon [%s]" (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#icon"}
|
||||
Number todayUV "UV Index [%d]" (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#UVIndex"}
|
||||
Number:Temperature todayTempL "Low Temp [%.2f °F]" <temperature> (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#minTemperature"}
|
||||
Number:Temperature todayTempH "High Temp [%.2f °F]" <temperature> (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#maxTemperature"}
|
||||
Number:Temperature todayTempL "Low Temp [%.2f °F]" <temperature> (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#minTemperature"}
|
||||
Number:Temperature todayTempH "High Temp [%.2f °F]" <temperature> (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#maxTemperature"}
|
||||
Number todayHumM "Mean Humidity [%d %%]" <humidity> (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#relativeHumidityMean"}
|
||||
Number todayPrecPr "Prec. Prob. [%d %%]" (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#precipitationProbability"}
|
||||
Number:Length todayPrec "Total Prec. [%.2f in]" <rain> (weatherDay0) {channel="meteoblue:weather:metBridge:A51:forecastToday#precipitation"}
|
||||
@@ -146,7 +140,7 @@ Number:Speed todayWindSpH "High Wind Speed [%.2f mph]" <wind> (weatherDay0)
|
||||
|
||||
demo.sitemap:
|
||||
|
||||
````
|
||||
````perl
|
||||
sitemap weather label="Weather"
|
||||
{
|
||||
Frame label="Weather" {
|
||||
|
||||
Reference in New Issue
Block a user