Skip to content

Commit

Permalink
Merge pull request #230 from oelison/master
Browse files Browse the repository at this point in the history
added some ecowitt values
  • Loading branch information
phifogg authored Feb 17, 2025
2 parents a2859d1 + f6d2ac1 commit cd5cfd2
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ Thumbs.db

# i18n intermediate files
admin/i18n/flat.txt
admin/i18n/*/flat.txt
admin/i18n/*/flat.txt

# ioBroker dev-server
.dev-server/
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ package-lock.json
admin/i18n

# maintenance scripts
maintenance/**
maintenance/**

# ioBroker dev-server
.dev-server/
80 changes: 79 additions & 1 deletion lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,19 @@ const DATAFIELDS = [
}
]
},
{
id: 'startrain_piezo',
channels: [{
channel: 'weather.current',
name: 'Rain detected Piezo'
}],
type: 'number',
wunderground: null,
ecowitt: '^srain_piezo',
scheduler: null,
listener_conversion: null,
scheduler_conversion: null
},
{
id: 'outdoorhumidity',
channels: [{
Expand Down Expand Up @@ -1804,7 +1817,72 @@ const DATAFIELDS = [
scheduler: null,
listener_conversion: null,
scheduler_conversion: null
}
},
{
id: 'runtime',
channels: [{
channel: 'info',
name: 'seconds since weather station reset'
}],
type: 'number',
wunderground: null,
ecowitt: '^runtime',
scheduler: null,
listener_conversion: null,
scheduler_conversion: null
},
{
id: 'dateutc',
channels: [{
channel: 'info',
name: 'date and time'
}],
type: 'string',
wunderground: null,
ecowitt: '^dateutc',
scheduler: null,
listener_conversion: null,
scheduler_conversion: null
},
{
id: 'ws90cap_volt',
channels: [{
channel: 'info',
name: 'voltage of the super cap'
}],
type: 'string',
wunderground: null,
ecowitt: '^ws90cap_volt',
scheduler: null,
listener_conversion: null,
scheduler_conversion: null
},
{
id: 'ws90_ver',
channels: [{
channel: 'info',
name: 'ws90 version'
}],
type: 'string',
wunderground: null,
ecowitt: '^ws90_ver',
scheduler: null,
listener_conversion: null,
scheduler_conversion: null
},
{
id: 'wh90batt',
channels: [{
channel: 'info',
name: 'voltage of the two AA cells'
}],
type: 'string',
wunderground: null,
ecowitt: '^wh90batt',
scheduler: null,
listener_conversion: null,
scheduler_conversion: null
}
];

exports.DATAFIELDS = DATAFIELDS;
Expand Down

0 comments on commit cd5cfd2

Please # to comment.