Skip to content

Commit

Permalink
Merge pull request #198 from phifogg/master
Browse files Browse the repository at this point in the history
rebase dev
  • Loading branch information
phifogg committed Jun 27, 2024
2 parents b92f7b1 + 5706c41 commit f83a5fb
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
51 changes: 51 additions & 0 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [{
Expand Down Expand Up @@ -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
}
];

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit f83a5fb

Please sign in to comment.