From 7bad2cd75955b529facaa5a0af14d26479a59362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Dr=C3=A4s?= Date: Wed, 3 Jul 2024 20:36:49 +0200 Subject: [PATCH 1/3] #201 --- lib/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/constants.js b/lib/constants.js index b437ea9..71b213d 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -1168,7 +1168,7 @@ const DATAFIELDS = [ unit: 'mm', role: 'value', min: 0, - max: 2000, + max: 20000, wunderground: '^yearlyrainin', ecowitt: '^yearlyrainin', scheduler: 'yearlyrain', From cb5fe3b1fb05b29e5cd44ccc2659eb677c3d5f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Dr=C3=A4s?= Date: Wed, 3 Jul 2024 20:41:16 +0200 Subject: [PATCH 2/3] #192 --- lib/constants.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/constants.js b/lib/constants.js index 71b213d..fb06f75 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -1546,8 +1546,8 @@ const DATAFIELDS = [ role: 'value', min: 0, max: 1000, - wunderground: '^pm10_co2', - ecowitt: '^pm10_co2', + wunderground: '^pm10_24h_co2', + ecowitt: '^pm10_24h_co2', scheduler: null, listener_conversion: null, scheduler_conversion: null @@ -1563,8 +1563,8 @@ const DATAFIELDS = [ role: 'value', min: 0, max: 40000, - wunderground: 'co2', - ecowitt: 'co2', + wunderground: '^co2$', + ecowitt: '^co2$', scheduler: null, listener_conversion: null, scheduler_conversion: null From fe966f1e98e0a6fab886a446ae48173102cca8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Dr=C3=A4s?= Date: Wed, 3 Jul 2024 20:43:03 +0200 Subject: [PATCH 3/3] Version 0.11.4 --- io-package.json | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/io-package.json b/io-package.json index 0181c77..b14693a 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,12 @@ { "common": { "name": "sainlogic", - "version": "0.11.3", + "version": "0.11.4", "news": { + "0.11.4": { + "en": "Fix yearlyrain max value and mapping for CO2 sensors", + "de": "Max. Wert für Yearlyrain korrigiert, CO2 Sensorenmapping korrigiert" + }, "0.11.3": { "en": "Bump libraries, add new sensors, remove node.js 16", "de": "Update von Abhängigkeiten, neue Sensoren und node.js 16 entfernt" diff --git a/package.json b/package.json index 81c11b5..ea109e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.sainlogic", - "version": "0.11.3", + "version": "0.11.4", "description": "Read data from a sainlogic based weather station", "author": { "name": "Daniel Draes",