From 2708aa82e2c6a6c074e767792993931308493a87 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sun, 5 Oct 2025 22:42:10 +0200 Subject: [PATCH 01/13] Implemented collection of values for the virus and mold index (#19444) Signed-off-by: Philipp Schneider --- .../java/org/openhab/binding/airq/internal/AirqHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java b/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java index 4be279bee85e7..0a5390d6eb288 100644 --- a/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java +++ b/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java @@ -496,6 +496,8 @@ public void pollData() { processType(decObj, "timestamp", "timestamp", "datetime"); processType(decObj, "uptime", "uptime", "numberTimePeriod"); processType(decObj, "tvoc", "tvoc", "pairPPB"); + processType(decObj, "virus", "virus", "pair"); + processType(decObj, "mold", "mold", "pair"); updateStatus(ThingStatus.ONLINE); } catch (JsonSyntaxException e) { From dd6b5c9a2eb1a18476cdfc532b0ae130470cee91 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sun, 5 Oct 2025 22:45:47 +0200 Subject: [PATCH 02/13] Added new channel descriptions for mold and virus index (#19444) Signed-off-by: Philipp Schneider --- .../resources/OH-INF/thing/thing-types.xml | 30 ++++++++++++++++++- .../main/resources/OH-INF/update/update.xml | 18 +++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml index 55d24456bac8e..59f2edab15e04 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml @@ -46,6 +46,8 @@ + + @@ -71,6 +73,8 @@ + + @@ -120,7 +124,7 @@ Unknown sensor list No info about sensors No industry info - 2 + 3 @@ -347,6 +351,18 @@ + + + Number:Dimensionless + + + + + + Number:Dimensionless + + + @@ -486,6 +502,18 @@ + + + Number:Dimensionless + + + + + + Number:Dimensionless + + + diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml index ce06ce5b7e127..a32d23b5198cb 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml @@ -75,6 +75,24 @@ + + + airq:virus + + + + airq:virus_maxerr + + + + airq:mold + + + + airq:mold_maxerr + + + From f1a9a4b2ccf95d5901afeeada209f59206c16f30 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sun, 5 Oct 2025 22:48:30 +0200 Subject: [PATCH 03/13] Update documentation (#19444) Signed-off-by: Philipp Schneider --- bundles/org.openhab.binding.airq/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/org.openhab.binding.airq/README.md b/bundles/org.openhab.binding.airq/README.md index 6466a485b4c59..de726dd4ff0ca 100644 --- a/bundles/org.openhab.binding.airq/README.md +++ b/bundles/org.openhab.binding.airq/README.md @@ -79,6 +79,8 @@ The rw column is empty if the channel is only readable, w if the channel can be | temperature | Number:Temperature | | Temperature | | timestamp | DateTime | | Timestamp of measurement | | tvoc | Number:Dimensionless | | VOC concentration | +| virus | Number:Dimensionless | | Virus index in percent; the lower the index, the higher the potential virus risk. | +| mold | Number:Dimensionless | | Mold-free index in percent; the lower the index, the higher the potential mold risk. | | uptime | Number:Time | | uptime in seconds | | wifi | Switch | | WLAN on or off | | ssid | String | | WLAN SSID | @@ -168,6 +170,8 @@ Number:Temperature airQ_temperature "Temperature" DateTime airQ_timestamp "TimeStamp [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" {channel="airq:airq:1:timestamp"} Number:Dimensionless airQ_voc "VOC concentration" {channel="airq:airq:1:tvoc"} Number:Time airQ_uptime "Uptime" {channel="airq:airq:1:uptime"} +Number:Dimensionless airQ_Virus "Virus Index" {unit="%",channel="airq:airq:1:virus"} +Number:Dimensionless airQ_Mold "Mold Index" {unit="%",channel="airq:airq:1:mold"} Number:Dimensionless airQ_cnt03_maxerr "Maximum error of Fine Dust >0,3 µm" {channel="airq:airq:1:cnt0_3_maxerr"} Number:Dimensionless airQ_cnt05_maxerr "Maximum error of Fine Dust >0,5 µm" {channel="airq:airq:1:cnt0_5_maxerr"} @@ -190,6 +194,8 @@ Number:Dimensionless airQ_so2_maxerr "Maximum error of SO2 concentrati Number:Dimensionless airQ_sound_maxerr "Maximum error of Noise" {channel="airq:airq:1:sound_maxerr"} Number:Dimensionless airQ_temperature_maxerr "Maximum error of Temperature" {channel="airq:airq:1:temperature_maxerr"} Number:Dimensionless airQ_voc_maxerr "Maximum error of VOC concentration" {channel="airq:airq:1:tvoc_maxerr"} +Number:Dimensionless airQ_virus_maxerr "Maximum error of Virus" {unit="%",channel="airq:airq:1:virus_maxerr"} +Number:Dimensionless airQ_mold_maxerr "Maximum error of Mold" {unit="%",channel="airq:airq:1:mold_maxerr"} Switch airQ_wifi "WLAN on or off" {channel="airq:airq:1:wifi"} String airQ_SSID "WLAN SSID" {channel="airq:airq:1:ssid"} From 8361d997ff29345c92be60c3f486da691c0acdad Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sun, 5 Oct 2025 22:51:39 +0200 Subject: [PATCH 04/13] Spotless check (#19444) Signed-off-by: Philipp Schneider --- .../resources/OH-INF/thing/thing-types.xml | 46 +++++++++---------- .../main/resources/OH-INF/update/update.xml | 34 +++++++------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml index 59f2edab15e04..9c2d136025ba6 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml @@ -74,7 +74,7 @@ - + @@ -351,18 +351,18 @@ - + - Number:Dimensionless - - - - - - Number:Dimensionless - - - + Number:Dimensionless + + + + + + Number:Dimensionless + + + @@ -502,18 +502,18 @@ - + - Number:Dimensionless - - - - - - Number:Dimensionless - - - + Number:Dimensionless + + + + + + Number:Dimensionless + + + diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml index a32d23b5198cb..fa9286668d1c5 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml @@ -76,23 +76,23 @@ - - airq:virus - - - - airq:virus_maxerr - - - - airq:mold - - - - airq:mold_maxerr - - - + + airq:virus + + + + airq:virus_maxerr + + + + airq:mold + + + + airq:mold_maxerr + + + From 12a3087ba809ed2d39173e392cf8aee28646f0f7 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sun, 5 Oct 2025 23:08:09 +0200 Subject: [PATCH 05/13] Add translation for new properties (#19444) Signed-off-by: Philipp Schneider --- .../src/main/resources/OH-INF/i18n/airq.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties index a316c648dddcf..db76abde50742 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties @@ -75,6 +75,8 @@ channel-type.airq.humidity.label = Humidity channel-type.airq.humidity_abs.label = Absolute Humidity channel-type.airq.humidity_abs_maxerr.label = Max. Error Abs. Humidity channel-type.airq.humidity_maxerr.label = Max. Error Humidity +channel-type.airq.mold.label = Mold Index +channel-type.airq.mold_maxerr.label = Max. Error Mold channel-type.airq.mtime.label = Time Needed for Measurement channel-type.airq.nightmodeBrightnessDay.label = Day Brightness of LED channel-type.airq.nightmodeBrightnessNight.label = Night Brightness of LED @@ -113,3 +115,5 @@ channel-type.airq.tvoc_maxerr.label = Max. Error VOC Conc. channel-type.airq.typps.label = Average Size of Fine Dust channel-type.airq.uptime.label = Uptime channel-type.airq.usercalib.label = Last Sensor Calibration +channel-type.airq.virus.label = Virus Index +channel-type.airq.virus_maxerr.label = Max. Error Virus From 80be499322e18f42e9c96218c324f5a34480e278 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Tue, 7 Oct 2025 20:45:07 +0200 Subject: [PATCH 06/13] [review] Changing channel names for better understanding. (#19444) Signed-off-by: Philipp Schneider --- bundles/org.openhab.binding.airq/README.md | 12 +++++----- .../binding/airq/internal/AirqHandler.java | 4 ++-- .../resources/OH-INF/thing/thing-types.xml | 24 +++++++++---------- .../main/resources/OH-INF/update/update.xml | 24 +++++++++---------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/bundles/org.openhab.binding.airq/README.md b/bundles/org.openhab.binding.airq/README.md index de726dd4ff0ca..dabe9856be528 100644 --- a/bundles/org.openhab.binding.airq/README.md +++ b/bundles/org.openhab.binding.airq/README.md @@ -79,8 +79,8 @@ The rw column is empty if the channel is only readable, w if the channel can be | temperature | Number:Temperature | | Temperature | | timestamp | DateTime | | Timestamp of measurement | | tvoc | Number:Dimensionless | | VOC concentration | -| virus | Number:Dimensionless | | Virus index in percent; the lower the index, the higher the potential virus risk. | -| mold | Number:Dimensionless | | Mold-free index in percent; the lower the index, the higher the potential mold risk. | +| virus-free | Number:Dimensionless | r | Virus-free index in percent; the lower the index, the higher the potential virus risk. | +| mold-free | Number:Dimensionless | r | Mold-free index in percent; the lower the index, the higher the potential mold risk. | | uptime | Number:Time | | uptime in seconds | | wifi | Switch | | WLAN on or off | | ssid | String | | WLAN SSID | @@ -170,8 +170,8 @@ Number:Temperature airQ_temperature "Temperature" DateTime airQ_timestamp "TimeStamp [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" {channel="airq:airq:1:timestamp"} Number:Dimensionless airQ_voc "VOC concentration" {channel="airq:airq:1:tvoc"} Number:Time airQ_uptime "Uptime" {channel="airq:airq:1:uptime"} -Number:Dimensionless airQ_Virus "Virus Index" {unit="%",channel="airq:airq:1:virus"} -Number:Dimensionless airQ_Mold "Mold Index" {unit="%",channel="airq:airq:1:mold"} +Number:Dimensionless airQ_Virus_free "Virus-free index" {unit="%",channel="airq:airq:1:virus_free"} +Number:Dimensionless airQ_Mold_free "Mold-free index" {unit="%",channel="airq:airq:1:mold_free"} Number:Dimensionless airQ_cnt03_maxerr "Maximum error of Fine Dust >0,3 µm" {channel="airq:airq:1:cnt0_3_maxerr"} Number:Dimensionless airQ_cnt05_maxerr "Maximum error of Fine Dust >0,5 µm" {channel="airq:airq:1:cnt0_5_maxerr"} @@ -194,8 +194,8 @@ Number:Dimensionless airQ_so2_maxerr "Maximum error of SO2 concentrati Number:Dimensionless airQ_sound_maxerr "Maximum error of Noise" {channel="airq:airq:1:sound_maxerr"} Number:Dimensionless airQ_temperature_maxerr "Maximum error of Temperature" {channel="airq:airq:1:temperature_maxerr"} Number:Dimensionless airQ_voc_maxerr "Maximum error of VOC concentration" {channel="airq:airq:1:tvoc_maxerr"} -Number:Dimensionless airQ_virus_maxerr "Maximum error of Virus" {unit="%",channel="airq:airq:1:virus_maxerr"} -Number:Dimensionless airQ_mold_maxerr "Maximum error of Mold" {unit="%",channel="airq:airq:1:mold_maxerr"} +Number:Dimensionless airQ_virus_free_maxerr "Maximum error of Virus-free" {unit="%",channel="airq:airq:1:virus_free_maxerr"} +Number:Dimensionless airQ_mold_free_maxerr "Maximum error of Mold-free" {unit="%",channel="airq:airq:1:mold_free_maxerr"} Switch airQ_wifi "WLAN on or off" {channel="airq:airq:1:wifi"} String airQ_SSID "WLAN SSID" {channel="airq:airq:1:ssid"} diff --git a/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java b/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java index 0a5390d6eb288..0a608d7d69de3 100644 --- a/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java +++ b/bundles/org.openhab.binding.airq/src/main/java/org/openhab/binding/airq/internal/AirqHandler.java @@ -496,8 +496,8 @@ public void pollData() { processType(decObj, "timestamp", "timestamp", "datetime"); processType(decObj, "uptime", "uptime", "numberTimePeriod"); processType(decObj, "tvoc", "tvoc", "pairPPB"); - processType(decObj, "virus", "virus", "pair"); - processType(decObj, "mold", "mold", "pair"); + processType(decObj, "virus", "virus_free", "pair"); + processType(decObj, "mold", "mold_free", "pair"); updateStatus(ThingStatus.ONLINE); } catch (JsonSyntaxException e) { diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml index 9c2d136025ba6..203e1092241fd 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml @@ -46,8 +46,8 @@ - - + + @@ -73,8 +73,8 @@ - - + + @@ -352,15 +352,15 @@ - + Number:Dimensionless - + - + Number:Dimensionless - + @@ -503,15 +503,15 @@ - + Number:Dimensionless - + - + Number:Dimensionless - + diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml index fa9286668d1c5..8a946ad4eee5e 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml @@ -76,21 +76,21 @@ - - airq:virus - + + airq:virus_free + - - airq:virus_maxerr - + + airq:virus-free_maxerr + - - airq:mold - + + airq:mold_free + - - airq:mold_maxerr - + + airq:mold_free_maxerr + From 6c1fad80154882157549e6be24654cdd75e4686d Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Fri, 10 Oct 2025 16:05:16 +0200 Subject: [PATCH 07/13] [review] fix translation (#19444) Signed-off-by: Philipp Schneider --- .../src/main/resources/OH-INF/i18n/airq.properties | 8 ++++---- .../src/main/resources/OH-INF/i18n/airq_de.properties | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties index db76abde50742..f69b45cf1abbb 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties @@ -75,8 +75,8 @@ channel-type.airq.humidity.label = Humidity channel-type.airq.humidity_abs.label = Absolute Humidity channel-type.airq.humidity_abs_maxerr.label = Max. Error Abs. Humidity channel-type.airq.humidity_maxerr.label = Max. Error Humidity -channel-type.airq.mold.label = Mold Index -channel-type.airq.mold_maxerr.label = Max. Error Mold +channel-type.airq.mold_free.label = Mold-free Index +channel-type.airq.mold_free_maxerr.label = Max. Error Mold-free channel-type.airq.mtime.label = Time Needed for Measurement channel-type.airq.nightmodeBrightnessDay.label = Day Brightness of LED channel-type.airq.nightmodeBrightnessNight.label = Night Brightness of LED @@ -115,5 +115,5 @@ channel-type.airq.tvoc_maxerr.label = Max. Error VOC Conc. channel-type.airq.typps.label = Average Size of Fine Dust channel-type.airq.uptime.label = Uptime channel-type.airq.usercalib.label = Last Sensor Calibration -channel-type.airq.virus.label = Virus Index -channel-type.airq.virus_maxerr.label = Max. Error Virus +channel-type.airq.virus_free.label = Virus-free Index +channel-type.airq.virus_free_maxerr.label = Max. Error Virus-free diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties index c8e49bfee7d26..fb3be82449721 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties @@ -72,6 +72,8 @@ channel-type.airq.humidity.label = Feuchtigkeit channel-type.airq.humidity_abs.label = Absolute Feuchtigkeit channel-type.airq.humidity_abs_maxerr.label = Intervall Absolute Feuchtigkeit channel-type.airq.humidity_maxerr.label = Intervall Feuchtigkeit +channel-type.airq.mold_free.label = Schimmelfrei-Index +channel-type.airq.mold_free_maxerr.label = Max. Error Schimmelfrei-Index channel-type.airq.mtime.label = Messdauer channel-type.airq.nightmodeBrightnessDay.label = Tageshelligkeit der LED channel-type.airq.nightmodeBrightnessNight.label = Nachthelligkeit der LED @@ -109,3 +111,5 @@ channel-type.airq.tvoc_maxerr.label = Intervall VOC-Konzentration channel-type.airq.typps.label = Durchschn. Staubgrösse (Experimentell) channel-type.airq.uptime.label = Laufzeit air-Q channel-type.airq.usercalib.label = Letzte Sensorkalibrierung +channel-type.airq.virus_free.label = Virenfrei-Index +channel-type.airq.virus_free_maxerr.label = Max. Error Virenfrei-Index \ No newline at end of file From 9ed881e848b747196e799661c850425eacac3543 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Fri, 10 Oct 2025 16:10:44 +0200 Subject: [PATCH 08/13] [fix] File does not end with a newline. (#19444) Signed-off-by: Philipp Schneider --- .../src/main/resources/OH-INF/i18n/airq_de.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties index fb3be82449721..7c004a5a1c802 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties @@ -112,4 +112,4 @@ channel-type.airq.typps.label = Durchschn. Staubgrösse (Experimentell) channel-type.airq.uptime.label = Laufzeit air-Q channel-type.airq.usercalib.label = Letzte Sensorkalibrierung channel-type.airq.virus_free.label = Virenfrei-Index -channel-type.airq.virus_free_maxerr.label = Max. Error Virenfrei-Index \ No newline at end of file +channel-type.airq.virus_free_maxerr.label = Max. Error Virenfrei-Index From 7c4f3533b9eba45a973b28febede6d129318ef60 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sat, 11 Oct 2025 20:16:27 +0200 Subject: [PATCH 09/13] [review] revert DE translation (#19444) - translation are created and maintained in crowdin Signed-off-by: Philipp Schneider --- .../src/main/resources/OH-INF/i18n/airq_de.properties | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties index 7c004a5a1c802..c8e49bfee7d26 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq_de.properties @@ -72,8 +72,6 @@ channel-type.airq.humidity.label = Feuchtigkeit channel-type.airq.humidity_abs.label = Absolute Feuchtigkeit channel-type.airq.humidity_abs_maxerr.label = Intervall Absolute Feuchtigkeit channel-type.airq.humidity_maxerr.label = Intervall Feuchtigkeit -channel-type.airq.mold_free.label = Schimmelfrei-Index -channel-type.airq.mold_free_maxerr.label = Max. Error Schimmelfrei-Index channel-type.airq.mtime.label = Messdauer channel-type.airq.nightmodeBrightnessDay.label = Tageshelligkeit der LED channel-type.airq.nightmodeBrightnessNight.label = Nachthelligkeit der LED @@ -111,5 +109,3 @@ channel-type.airq.tvoc_maxerr.label = Intervall VOC-Konzentration channel-type.airq.typps.label = Durchschn. Staubgrösse (Experimentell) channel-type.airq.uptime.label = Laufzeit air-Q channel-type.airq.usercalib.label = Letzte Sensorkalibrierung -channel-type.airq.virus_free.label = Virenfrei-Index -channel-type.airq.virus_free_maxerr.label = Max. Error Virenfrei-Index From e1f4724c393d581c96201b3910bf91053374eb75 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sat, 11 Oct 2025 20:30:06 +0200 Subject: [PATCH 10/13] [review] Compound adjective should be capitalized (#19444) Signed-off-by: Philipp Schneider --- .../src/main/resources/OH-INF/thing/thing-types.xml | 8 ++++---- .../src/main/resources/OH-INF/update/update.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml index 203e1092241fd..4f77be95a1569 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml @@ -354,13 +354,13 @@ Number:Dimensionless - + Number:Dimensionless - + @@ -505,13 +505,13 @@ Number:Dimensionless - + Number:Dimensionless - + diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml index 8a946ad4eee5e..605c94430adf1 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml @@ -78,19 +78,19 @@ airq:virus_free - + airq:virus-free_maxerr - + airq:mold_free - + airq:mold_free_maxerr - + From e8758a0183a47fe8f175b74a2e11aafcd82f5e1a Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sat, 11 Oct 2025 20:37:44 +0200 Subject: [PATCH 11/13] [review] Description added for Virus-&Mold-Free MaxErr channel (#19444) Signed-off-by: Philipp Schneider --- .../src/main/resources/OH-INF/thing/thing-types.xml | 2 ++ .../src/main/resources/OH-INF/update/update.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml index 4f77be95a1569..53be7e59ca7cd 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/thing/thing-types.xml @@ -506,12 +506,14 @@ Number:Dimensionless + Maximum tolerated error in the Virus-Free Index measurement. Number:Dimensionless + Maximum tolerated error in the Mold-Free Index measurement. diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml index 605c94430adf1..e8c0acd8d84cd 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/update/update.xml @@ -83,6 +83,7 @@ airq:virus-free_maxerr + Maximum tolerated error in the Virus-Free Index measurement. airq:mold_free @@ -91,6 +92,7 @@ airq:mold_free_maxerr + Maximum tolerated error in the Mold-Free Index measurement. From dfebdb7ecb92b55688a62e98fb1bf7305c0340d1 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sat, 11 Oct 2025 20:44:21 +0200 Subject: [PATCH 12/13] [review] Spelling corrected in the README (#19444) Signed-off-by: Philipp Schneider --- bundles/org.openhab.binding.airq/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bundles/org.openhab.binding.airq/README.md b/bundles/org.openhab.binding.airq/README.md index dabe9856be528..48d130cf02528 100644 --- a/bundles/org.openhab.binding.airq/README.md +++ b/bundles/org.openhab.binding.airq/README.md @@ -79,8 +79,8 @@ The rw column is empty if the channel is only readable, w if the channel can be | temperature | Number:Temperature | | Temperature | | timestamp | DateTime | | Timestamp of measurement | | tvoc | Number:Dimensionless | | VOC concentration | -| virus-free | Number:Dimensionless | r | Virus-free index in percent; the lower the index, the higher the potential virus risk. | -| mold-free | Number:Dimensionless | r | Mold-free index in percent; the lower the index, the higher the potential mold risk. | +| virus-free | Number:Dimensionless | r | Virus-Free index in percent; the lower the index, the higher the potential virus risk. | +| mold-free | Number:Dimensionless | r | Mold-Free index in percent; the lower the index, the higher the potential mold risk. | | uptime | Number:Time | | uptime in seconds | | wifi | Switch | | WLAN on or off | | ssid | String | | WLAN SSID | @@ -170,8 +170,8 @@ Number:Temperature airQ_temperature "Temperature" DateTime airQ_timestamp "TimeStamp [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" {channel="airq:airq:1:timestamp"} Number:Dimensionless airQ_voc "VOC concentration" {channel="airq:airq:1:tvoc"} Number:Time airQ_uptime "Uptime" {channel="airq:airq:1:uptime"} -Number:Dimensionless airQ_Virus_free "Virus-free index" {unit="%",channel="airq:airq:1:virus_free"} -Number:Dimensionless airQ_Mold_free "Mold-free index" {unit="%",channel="airq:airq:1:mold_free"} +Number:Dimensionless airQ_Virus_free "Virus-Free index" {unit="%",channel="airq:airq:1:virus_free"} +Number:Dimensionless airQ_Mold_free "Mold-Free index" {unit="%",channel="airq:airq:1:mold_free"} Number:Dimensionless airQ_cnt03_maxerr "Maximum error of Fine Dust >0,3 µm" {channel="airq:airq:1:cnt0_3_maxerr"} Number:Dimensionless airQ_cnt05_maxerr "Maximum error of Fine Dust >0,5 µm" {channel="airq:airq:1:cnt0_5_maxerr"} @@ -194,8 +194,8 @@ Number:Dimensionless airQ_so2_maxerr "Maximum error of SO2 concentrati Number:Dimensionless airQ_sound_maxerr "Maximum error of Noise" {channel="airq:airq:1:sound_maxerr"} Number:Dimensionless airQ_temperature_maxerr "Maximum error of Temperature" {channel="airq:airq:1:temperature_maxerr"} Number:Dimensionless airQ_voc_maxerr "Maximum error of VOC concentration" {channel="airq:airq:1:tvoc_maxerr"} -Number:Dimensionless airQ_virus_free_maxerr "Maximum error of Virus-free" {unit="%",channel="airq:airq:1:virus_free_maxerr"} -Number:Dimensionless airQ_mold_free_maxerr "Maximum error of Mold-free" {unit="%",channel="airq:airq:1:mold_free_maxerr"} +Number:Dimensionless airQ_virus_free_maxerr "Maximum error of Virus-Free" {unit="%",channel="airq:airq:1:virus_free_maxerr"} +Number:Dimensionless airQ_mold_free_maxerr "Maximum error of Mold-Free" {unit="%",channel="airq:airq:1:mold_free_maxerr"} Switch airQ_wifi "WLAN on or off" {channel="airq:airq:1:wifi"} String airQ_SSID "WLAN SSID" {channel="airq:airq:1:ssid"} From df7bdfd69e4cd7dda0b8ee20f7d30042ca112876 Mon Sep 17 00:00:00 2001 From: Philipp Schneider Date: Sat, 11 Oct 2025 23:28:47 +0200 Subject: [PATCH 13/13] [review] add translation for labels (#19444) Signed-off-by: Philipp Schneider --- .../src/main/resources/OH-INF/i18n/airq.properties | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties index f69b45cf1abbb..f2e8c0eadcf11 100644 --- a/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties +++ b/bundles/org.openhab.binding.airq/src/main/resources/OH-INF/i18n/airq.properties @@ -75,8 +75,9 @@ channel-type.airq.humidity.label = Humidity channel-type.airq.humidity_abs.label = Absolute Humidity channel-type.airq.humidity_abs_maxerr.label = Max. Error Abs. Humidity channel-type.airq.humidity_maxerr.label = Max. Error Humidity -channel-type.airq.mold_free.label = Mold-free Index -channel-type.airq.mold_free_maxerr.label = Max. Error Mold-free +channel-type.airq.mold_free.label = Mold-Free Index +channel-type.airq.mold_free_maxerr.label = Max. Error Mold-Free +channel-type.airq.mold_free_maxerr.description = Maximum tolerated error in the Mold-Free Index measurement. channel-type.airq.mtime.label = Time Needed for Measurement channel-type.airq.nightmodeBrightnessDay.label = Day Brightness of LED channel-type.airq.nightmodeBrightnessNight.label = Night Brightness of LED @@ -115,5 +116,6 @@ channel-type.airq.tvoc_maxerr.label = Max. Error VOC Conc. channel-type.airq.typps.label = Average Size of Fine Dust channel-type.airq.uptime.label = Uptime channel-type.airq.usercalib.label = Last Sensor Calibration -channel-type.airq.virus_free.label = Virus-free Index -channel-type.airq.virus_free_maxerr.label = Max. Error Virus-free +channel-type.airq.virus_free.label = Virus-Free Index +channel-type.airq.virus_free_maxerr.label = Max. Error Virus-Free +channel-type.airq.virus_free_maxerr.description = Maximum tolerated error in the Virus-Free Index measurement.