diff --git a/.github/workflows/test_and_release.yml b/.github/workflows/test_and_release.yml index 37b5e81..c95f948 100644 --- a/.github/workflows/test_and_release.yml +++ b/.github/workflows/test_and_release.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/io-package.json b/io-package.json index daea3f2..050250d 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,12 @@ { "common": { "name": "sainlogic", - "version": "0.11.1", + "version": "0.11.2", "news": { + "0.11.2": { + "en": "Bump libraries, add new sensors, remove node.js 16", + "de": "Update von Abhängigkeiten, neue Sensoren und node.js 16 entfernt" + }, "0.11.1": { "en": "Removed unneccessary state creation at startup, will create states dynamically as data comes in", "de": "Unnötiges Anlegen von Sates beim Start entfernt, States werden nur noch generiert wenn Daten ankommen" diff --git a/lib/constants.js b/lib/constants.js index f57e08c..2348869 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -1227,6 +1227,23 @@ const DATAFIELDS = [ listener_conversion: null, scheduler_conversion: null }, + { + id: 'wh57batt', + channels: [{ + channel: 'weather.info', + name: 'WH57 Battery Voltage' + }], + type: 'number', + unit: 'V', + role: 'value.voltage', + min: 0, + max: 24, + wunderground: '^wh57batt([0-9])*', + ecowitt: '^wh57batt([0-9])*', + scheduler: null, + listener_conversion: null, + scheduler_conversion: null + }, { id: 'wh40batt', channels: [{ @@ -1601,6 +1618,40 @@ const DATAFIELDS = [ main_unit_conversion: null } ] + }, + { + id: 'leak_ch', + channels: [{ + channel: 'weather.current', + name: 'Leak' + }], + type: 'number', + unit: '', + role: 'value', + min: 0, + max: 10, + wunderground: '^leak_ch([0-9])*', + ecowitt: '^leak_ch([0-9])*', + scheduler: null, + listener_conversion: null, + scheduler_conversion: null + }, + { + id: 'leakbatt', + channels: [{ + channel: 'weather.info', + name: 'Leak Battery Voltage' + }], + type: 'number', + unit: '', + role: 'value.voltage', + min: 0, + max: 5, + wunderground: '^leakbatt([0-9])*', + ecowitt: '^leakbatt([0-9])*', + scheduler: null, + listener_conversion: null, + scheduler_conversion: null } ]; diff --git a/package.json b/package.json index 26bfa81..37ae1c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.sainlogic", - "version": "0.11.1", + "version": "0.11.2", "description": "Read data from a sainlogic based weather station", "author": { "name": "Daniel Draes",