From 02bf3c13340d0ba9d864fe7a3a255425dec497a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20L=27hopital?= Date: Wed, 20 Nov 2024 17:33:20 +0100 Subject: [PATCH] Written documentation and reviewed channels descriptions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaƫl L'hopital --- .../org.openhab.binding.airparif/README.md | 204 ++++++++++++------ .../doc/images/alder.svg | 7 + .../doc/images/aq.svg | 7 + .../doc/images/ash.svg | 19 ++ .../doc/images/birch.svg | 5 + .../doc/images/chestnut.svg | 5 + .../doc/images/cypress.svg | 14 ++ .../doc/images/grasses.svg | 5 + .../doc/images/hazel.svg | 17 ++ .../doc/images/hornbeam.svg | 11 + .../doc/images/linden.svg | 8 + .../doc/images/oak.svg | 5 + .../doc/images/olive.svg | 5 + .../doc/images/plane.svg | 5 + .../doc/images/plantain.svg | 11 + .../doc/images/poplar.svg | 5 + .../doc/images/ragweed.svg | 14 ++ .../doc/images/rumex.svg | 5 + .../doc/images/urticaceae.svg | 14 ++ .../doc/images/willow.svg | 5 + .../doc/images/wormwood.svg | 13 ++ .../resources/OH-INF/i18n/airparif.properties | 14 +- .../resources/OH-INF/thing/channel-groups.xml | 12 +- .../main/resources/OH-INF/thing/location.xml | 2 +- .../src/main/resources/icon/pollen.svg | 4 - 25 files changed, 333 insertions(+), 83 deletions(-) create mode 100755 bundles/org.openhab.binding.airparif/doc/images/alder.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/aq.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/ash.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/birch.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/chestnut.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/cypress.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/grasses.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/hazel.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/hornbeam.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/linden.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/oak.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/olive.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/plane.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/plantain.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/poplar.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/ragweed.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/rumex.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/urticaceae.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/willow.svg create mode 100755 bundles/org.openhab.binding.airparif/doc/images/wormwood.svg delete mode 100755 bundles/org.openhab.binding.airparif/src/main/resources/icon/pollen.svg diff --git a/bundles/org.openhab.binding.airparif/README.md b/bundles/org.openhab.binding.airparif/README.md index d7a6687bb29..3e515749d42 100755 --- a/bundles/org.openhab.binding.airparif/README.md +++ b/bundles/org.openhab.binding.airparif/README.md @@ -1,94 +1,168 @@ # AirParif Binding -_Give some details about what this binding is meant for - a protocol, system, specific device._ - -_If possible, provide some resources like pictures (only PNG is supported currently), a video, etc. to give an impression of what can be done with this binding._ -_You can place such resources into a `doc` folder next to this README.md._ - -_Put each sentence in a separate line to improve readability of diffs._ +This binding uses the [AirParif service](https://www.airparif.fr/) for providing air quality information for Paris and departments of the Ile-de-France. +To use it, you first need to [register and get your API key](https://www.airparif.fr/interface-de-programmation-applicative). +You'll receive your API Key by mail. ## Supported Things -_Please describe the different supported things / devices including their ThingTypeUID within this section._ -_Which different types are supported, which models were tested etc.?_ -_Note that it is planned to generate some part of this based on the XML files within ```src/main/resources/OH-INF/thing``` of your binding._ +- `api`: bridge used to connect to the AirParif service. Provides some general informations for the whole area. +- `location`: Presents the pollen and air quality information for a given location. -- `bridge`: Short description of the Bridge, if any -- `sample`: Short description of the Thing with the ThingTypeUID `sample` +Of course, you can add multiple `location`s, e.g. for gathering pollen or air quality data for different locations. ## Discovery -_Describe the available auto-discovery features here._ -_Mention for what it works and what needs to be kept in mind when using it._ - -## Binding Configuration - -_If your binding requires or supports general configuration settings, please create a folder ```cfg``` and place the configuration file ```.cfg``` inside it._ -_In this section, you should link to this file and provide some information about the options._ -_The file could e.g. look like:_ - -``` -# Configuration for the AirParif Binding -# -# Default secret key for the pairing of the AirParif Thing. -# It has to be between 10-40 (alphanumeric) characters. -# This may be changed by the user for security reasons. -secret=openHABSecret -``` - -_Note that it is planned to generate some part of this based on the information that is available within ```src/main/resources/OH-INF/binding``` of your binding._ - -_If your binding does not offer any generic configurations, you can remove this section completely._ +Once your `api` bridge is created and configured with the API Key, a default `location` can be auto-discovered based on system location. +It will be configured with the system location and detected department. ## Thing Configuration -_Describe what is needed to manually configure a thing, either through the UI or via a thing-file._ -_This should be mainly about its mandatory and optional configuration parameters._ +### `api` Thing Configuration -_Note that it is planned to generate some part of this based on the XML files within ```src/main/resources/OH-INF/thing``` of your binding._ +| Name | Type | Description | Default | Required | Advanced | +|-----------------|---------|-----------------------------------|---------|----------|----------| +| apikey | text | Token used to access the service | N/A | yes | no | -### `sample` Thing Configuration +### `location` Thing Configuration -| Name | Type | Description | Default | Required | Advanced | -|-----------------|---------|---------------------------------------|---------|----------|----------| -| hostname | text | Hostname or IP address of the device | N/A | yes | no | -| password | text | Password to access the device | N/A | yes | no | -| refreshInterval | integer | Interval the device is polled in sec. | 600 | no | yes | +| Name | Type | Description | Default | Required | Advanced | +|-----------------|---------|--------------------------------------------------------------------------------|---------|----------|----------| +| location | text | Geo coordinates to be considered (as ,[,]) | N/A | yes | no | +| department | text | Code of the department (two digits) (*) | N/A | yes | no | + +(*) When auto-discovered, the department will be pre-filled based on the location and bounding limits defined in the internal department database. +Please check that proposed value is correct according to the place. ## Channels -_Here you should provide information about available channel types, what their meaning is and how they can be used._ +### `api` Thing Channels -_Note that it is planned to generate some part of this based on the XML files within ```src/main/resources/OH-INF/thing``` of your binding._ +| Group | Channel | Type | Read/Write | Description | +|----------------------|----------------|----------------|------------|----------------------------------------------| +| pollens | comment | String | R | Current pollens situation | +| pollens | begin-validity | DateTime | R | Bulletin validity start | +| pollens | end-validity | DateTime | R | Bulletin validity end | +| aq-bulletin | comment | String | R | General message for the air quality bulletin | +| aq-bulletin | no2-min | Number:Density | R | Minimum level of NO2 concentration | +| aq-bulletin | no2-max | Number:Density | R | Maximum level of NO2 concentration | +| aq-bulletin | o3-min | Number:Density | R | Minimum level of O3 concentration | +| aq-bulletin | o3-max | Number:Density | R | Maximum level of O3 concentration | +| aq-bulletin | pm10-min | Number:Density | R | Minimum level of PM 10 concentration | +| aq-bulletin | pm10-max | Number:Density | R | Maximum level of PM 10 concentration | +| aq-bulletin | pm25-min | Number:Density | R | Minimum level of PM 2.5 concentration | +| aq-bulletin | pm25-max | Number:Density | R | Maximum level of PM 2.5 concentration | +| aq-bulletin-tomorrow | comment | String | R | General message for the air quality bulletin | +| aq-bulletin-tomorrow | no2-min | Number:Density | R | Minimum level of NO2 concentration | +| aq-bulletin-tomorrow | no2-max | Number:Density | R | Maximum level of NO2 concentration | +| aq-bulletin-tomorrow | o3-min | Number:Density | R | Minimum level of O3 concentration | +| aq-bulletin-tomorrow | o3-max | Number:Density | R | Maximum level of O3 concentration | +| aq-bulletin-tomorrow | pm10-min | Number:Density | R | Minimum level of PM 10 concentration | +| aq-bulletin-tomorrow | pm10-max | Number:Density | R | Maximum level of PM 10 concentration | +| aq-bulletin-tomorrow | pm25-min | Number:Density | R | Minimum level of PM 2.5 concentration | +| aq-bulletin-tomorrow | pm25-max | Number:Density | R | Maximum level of PM 2.5 concentration | +| daily | message | String | R | Today's daily general information ||| daily | tomorrow | String | R | Tomorrow's daily general information | -| Channel | Type | Read/Write | Description | -|---------|--------|------------|-----------------------------| -| control | Switch | RW | This is the control channel | +### `location` Thing Channels -## Full Example +| Group | Channel | Type | Read/Write | Description | +|---------|------------|----------------|------------|----------------------------------------------------------| +| pollens | cypress | Number | R | Alert level associated to this taxon (*) | +| pollens | hazel | Number | R | Alert level associated to this taxon (*) | +| pollens | alder | Number | R | Alert level associated to this taxon (*) | +| pollens | poplar | Number | R | Alert level associated to this taxon (*) | +| pollens | willow | Number | R | Alert level associated to this taxon (*) | +| pollens | ash | Number | R | Alert level associated to this taxon (*) | +| pollens | hornbeam | Number | R | Alert level associated to this taxon (*) | +| pollens | birch | Number | R | Alert level associated to this taxon (*) | +| pollens | plane | Number | R | Alert level associated to this taxon (*) | +| pollens | oak | Number | R | Alert level associated to this taxon (*) | +| pollens | olive | Number | R | Alert level associated to this taxon (*) | +| pollens | linden | Number | R | Alert level associated to this taxon (*) | +| pollens | chestnut | Number | R | Alert level associated to this taxon (*) | +| pollens | rumex | Number | R | Alert level associated to this taxon (*) | +| pollens | grasses | Number | R | Alert level associated to this taxon (*) | +| pollens | plantain | Number | R | Alert level associated to this taxon (*) | +| pollens | urticaceae | Number | R | Alert level associated to this taxon (*) | +| pollens | wormwood | Number | R | Alert level associated to this taxon (*) | +| pollens | ragweed | Number | R | Alert level associated to this taxon (*) | +| indice | message | String | R | Alert message associated to the value of the index | +| indice | timestamp | DateTime | R | Timestamp of the evaluation | +| indice | alert | Number | R | ATMO Index associated to highest pollutant concentration | +| o3 | message | String | R | Polllutant concentration alert message | +| o3 | value | Number:Density | R | Concentration of the given pollutant | +| o3 | alert | Number | R | Alert Level associated to pollutant concentration (**) | +| no2 | message | String | R | Polllutant concentration alert message | +| no2 | value | Number:Density | R | Concentration of the given pollutant | +| no2 | alert | Number | R | Alert Level associated to pollutant concentration (**) | +| pm25 | message | String | R | Polllutant concentration alert message | +| pm25 | value | Number:Density | R | Concentration of the given pollutant | +| pm25 | alert | Number | R | Alert Level associated to pollutant concentration (**) | +| pm10 | message | String | R | Polllutant concentration alert message | +| pm10 | value | Number:Density | R | Concentration of the given pollutant | +| pm10 | alert | Number | R | Alert Level associated to pollutant concentration (**) | -_Provide a full usage example based on textual configuration files._ -_*.things, *.items examples are mandatory as textual configuration is well used by many users._ -_*.sitemap examples are optional._ +(*) Each pollen alert level has an associated color and description: -### Thing Configuration +| Code | Color | Description | +|------|--------|-----------------------| +| 0 | Green | No allergic risk | +| 1 | Yellow | Low allergic risk | +| 2 | Orange | Average allergic risk | +| 3 | Red | High allergic risk | -```java -Example thing configuration goes here. +(*) Each pollutant concentration is associated to an alert level (and an icon) : + +| Code | Description | +|------|---------------| +| 0 | Good | +| 1 | Average | +| 2 | Degrated | +| 3 | Bad | +| 4 | Very Bad | +| 5 | Extremely Bad | + +## Provided icon set + +This binding has its own IconProvider and makes available the following list of icons + +| Icon Name | Dynamic | Illustration | +|------------------------|---------|--------------| +| oh:airparif:aq | Yes | ![](doc/images/aq.svg) | +| oh:airparif:alder | Yes | ![](doc/images/alder.svg) | +| oh:airparif:ash | Yes | ![](doc/images/ash.svg) | +| oh:airparif:birch | Yes | ![](doc/images/birch.svg) | +| oh:airparif:chestnut | Yes | ![](doc/images/chestnut.svg) | +| oh:airparif:cypress | Yes | ![](doc/images/cypress.svg) | +| oh:airparif:grasses | Yes | ![](doc/images/grasses.svg) | +| oh:airparif:hazel | Yes | ![](doc/images/hazel.svg) | +| oh:airparif:hornbeam | Yes | ![](doc/images/hornbeam.svg) | +| oh:airparif:linden | Yes | ![](doc/images/linden.svg) | +| oh:airparif:oak | Yes | ![](doc/images/oak.svg) | +| oh:airparif:olive | Yes | ![](doc/images/olive.svg) | +| oh:airparif:plane | Yes | ![](doc/images/plane.svg) | +| oh:airparif:plantain | Yes | ![](doc/images/plantain.svg) | +| oh:airparif:pollen | Yes | ![](doc/images/pollen.svg) | +| oh:airparif:poplar | Yes | ![](doc/images/poplar.svg) | +| oh:airparif:ragweed | Yes | ![](doc/images/ragweed.svg) | +| oh:airparif:rumex | Yes | ![](doc/images/rumex.svg) | +| oh:airparif:urticaceae | Yes | ![](doc/images/urticaceae.svg) | +| oh:airparif:willow | Yes | ![](doc/images/willow.svg) | +| oh:airparif:wormwood | Yes | ![](doc/images/wormwood.svg) | + + +## Full Examplee + +### Thing Configurationn + +```jav +Bridge airparif:api:local "AirParif" [ apikey="xxxxx-dddd-cccc-4321-zzzzzzzzzzzzz" ] { + location yvelines "Yvelines" [ department="78", location="52.639,1.8284" ] +}a ``` -### Item Configuration +### Item Configurationn ```java Example item configuration goes here. -``` +`` -### Sitemap Configuration - -```perl -Optional Sitemap configuration goes here. -Remove this section, if not needed. -``` - -## Any custom content here! - -_Feel free to add additional sections for whatever you think should also be mentioned about your binding!_ diff --git a/bundles/org.openhab.binding.airparif/doc/images/alder.svg b/bundles/org.openhab.binding.airparif/doc/images/alder.svg new file mode 100755 index 00000000000..ea5fc88483e --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/alder.svg @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/aq.svg b/bundles/org.openhab.binding.airparif/doc/images/aq.svg new file mode 100755 index 00000000000..056c569a4a6 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/aq.svg @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/ash.svg b/bundles/org.openhab.binding.airparif/doc/images/ash.svg new file mode 100755 index 00000000000..9c10179746d --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/ash.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/birch.svg b/bundles/org.openhab.binding.airparif/doc/images/birch.svg new file mode 100755 index 00000000000..f8ff505f3b6 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/birch.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/chestnut.svg b/bundles/org.openhab.binding.airparif/doc/images/chestnut.svg new file mode 100755 index 00000000000..8cb9360bf60 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/chestnut.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/cypress.svg b/bundles/org.openhab.binding.airparif/doc/images/cypress.svg new file mode 100755 index 00000000000..0cc76819acd --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/cypress.svg @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/grasses.svg b/bundles/org.openhab.binding.airparif/doc/images/grasses.svg new file mode 100755 index 00000000000..ae6279fd100 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/grasses.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/hazel.svg b/bundles/org.openhab.binding.airparif/doc/images/hazel.svg new file mode 100755 index 00000000000..e2dd22c17f3 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/hazel.svg @@ -0,0 +1,17 @@ + + + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/hornbeam.svg b/bundles/org.openhab.binding.airparif/doc/images/hornbeam.svg new file mode 100755 index 00000000000..3a7d995bfaf --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/hornbeam.svg @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/linden.svg b/bundles/org.openhab.binding.airparif/doc/images/linden.svg new file mode 100755 index 00000000000..c10749ecd98 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/linden.svg @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/oak.svg b/bundles/org.openhab.binding.airparif/doc/images/oak.svg new file mode 100755 index 00000000000..343163e1a04 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/oak.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/olive.svg b/bundles/org.openhab.binding.airparif/doc/images/olive.svg new file mode 100755 index 00000000000..719798a0fbf --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/olive.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/plane.svg b/bundles/org.openhab.binding.airparif/doc/images/plane.svg new file mode 100755 index 00000000000..ab64767b0f7 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/plane.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/plantain.svg b/bundles/org.openhab.binding.airparif/doc/images/plantain.svg new file mode 100755 index 00000000000..740cf781f00 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/plantain.svg @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/poplar.svg b/bundles/org.openhab.binding.airparif/doc/images/poplar.svg new file mode 100755 index 00000000000..5cd534d8b33 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/poplar.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/ragweed.svg b/bundles/org.openhab.binding.airparif/doc/images/ragweed.svg new file mode 100755 index 00000000000..0beffb9f6f5 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/ragweed.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/rumex.svg b/bundles/org.openhab.binding.airparif/doc/images/rumex.svg new file mode 100755 index 00000000000..d3607e52a37 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/rumex.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/urticaceae.svg b/bundles/org.openhab.binding.airparif/doc/images/urticaceae.svg new file mode 100755 index 00000000000..07c76f90127 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/urticaceae.svg @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/willow.svg b/bundles/org.openhab.binding.airparif/doc/images/willow.svg new file mode 100755 index 00000000000..bc52029973b --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/willow.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/doc/images/wormwood.svg b/bundles/org.openhab.binding.airparif/doc/images/wormwood.svg new file mode 100755 index 00000000000..9c02ae1e2e8 --- /dev/null +++ b/bundles/org.openhab.binding.airparif/doc/images/wormwood.svg @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/i18n/airparif.properties b/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/i18n/airparif.properties index d24b264b692..c6250fc92f7 100755 --- a/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/i18n/airparif.properties +++ b/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/i18n/airparif.properties @@ -21,7 +21,7 @@ thing-type.airparif.location.group.pm25.label = PM2.5 Concentration Information thing-type.config.airparif.api.apikey.label = API Key thing-type.config.airparif.api.apikey.description = Token used to access the service thing-type.config.airparif.location.department.label = Department -thing-type.config.airparif.location.department.description = Name of the department +thing-type.config.airparif.location.department.description = Code of the department thing-type.config.airparif.location.department.option.75 = Paris thing-type.config.airparif.location.department.option.77 = Seine et Marne thing-type.config.airparif.location.department.option.78 = Yvelines @@ -55,16 +55,16 @@ channel-group-type.airparif.air-quality-bulletin.channel.pm25-min.label = PM 2.5 channel-group-type.airparif.air-quality-bulletin.channel.pm25-min.description = Minimum level of PM 2.5 concentration channel-group-type.airparif.bridge-pollens.label = Pollen information for the region channel-group-type.airparif.bridge-pollens.channel.begin-validity.label = Begin Validity -channel-group-type.airparif.bridge-pollens.channel.begin-validity.description = Current bulletin validity start -channel-group-type.airparif.bridge-pollens.channel.comment.label = Begin Validity -channel-group-type.airparif.bridge-pollens.channel.comment.description = Current bulletin validity start +channel-group-type.airparif.bridge-pollens.channel.begin-validity.description = Bulletin validity start +channel-group-type.airparif.bridge-pollens.channel.comment.label = Situation +channel-group-type.airparif.bridge-pollens.channel.comment.description = Current pollens situation channel-group-type.airparif.bridge-pollens.channel.end-validity.label = End Validity -channel-group-type.airparif.bridge-pollens.channel.end-validity.description = Current bulletin validity ending +channel-group-type.airparif.bridge-pollens.channel.end-validity.description = Bulletin validity end channel-group-type.airparif.daily.label = Daily information for the region channel-group-type.airparif.daily.channel.message.label = Message -channel-group-type.airparif.daily.channel.message.description = Current bulletin validity start +channel-group-type.airparif.daily.channel.message.description = Today's daily general information channel-group-type.airparif.daily.channel.tomorrow.label = Tomorrow -channel-group-type.airparif.daily.channel.tomorrow.description = Current bulletin validity start +channel-group-type.airparif.daily.channel.tomorrow.description = Tomorrow's daily general information channel-group-type.airparif.dept-pollens.label = Pollen information for the department channel-group-type.airparif.pollutant-mpc.label = Pollutant Concentration Information channel-group-type.airparif.pollutant-mpc.channel.alert.label = Alert Level diff --git a/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/channel-groups.xml b/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/channel-groups.xml index 4a40daa0ae1..aff93e79e02 100644 --- a/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/channel-groups.xml +++ b/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/channel-groups.xml @@ -8,16 +8,16 @@ - - Current bulletin validity start + + Current pollens situation - Current bulletin validity start + Bulletin validity start - Current bulletin validity ending + Bulletin validity end @@ -105,11 +105,11 @@ - Current bulletin validity start + Today's daily general information - Current bulletin validity start + Tomorrow's daily general information diff --git a/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/location.xml b/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/location.xml index bf92bdc8ed2..c9a814c19d7 100755 --- a/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/location.xml +++ b/bundles/org.openhab.binding.airparif/src/main/resources/OH-INF/thing/location.xml @@ -39,7 +39,7 @@ - Name of the department + Code of the department diff --git a/bundles/org.openhab.binding.airparif/src/main/resources/icon/pollen.svg b/bundles/org.openhab.binding.airparif/src/main/resources/icon/pollen.svg deleted file mode 100755 index 1d75a230199..00000000000 --- a/bundles/org.openhab.binding.airparif/src/main/resources/icon/pollen.svg +++ /dev/null @@ -1,4 +0,0 @@ - - -