Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat): add Hydreon RG-15 rainsensor #802

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
10 changes: 8 additions & 2 deletions packages/models/src/box/sensorLayouts/sensebox.home.mcu.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const {
sps30_pm1,
sps30_pm25,
sps30_pm4,
sps30_pm10
sps30_pm10,
rain_intensity,
rain_eventAcc,
rain_totalAcc
} = sensorDefinitions;

module.exports = [
Expand All @@ -47,5 +50,8 @@ module.exports = [
sps30_pm1,
sps30_pm25,
sps30_pm4,
sps30_pm10
sps30_pm10,
rain_intensity,
rain_eventAcc,
rain_totalAcc,
];
10 changes: 8 additions & 2 deletions packages/models/src/box/sensorLayouts/sensorDefinitions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ const veml6070_uvintensity = require('./veml6070_uvintensity'),
sps30_pm1 = require('./sps30_pm1'),
sps30_pm25 = require('./sps30_pm25'),
sps30_pm4 = require('./sps30_pm4'),
sps30_pm10 = require('./sps30_pm10');
sps30_pm10 = require('./sps30_pm10'),
rain_intensity = require('./rain_intensity'),
rain_eventAcc = require('./rain_eventacc'),
rain_totalAcc = require('./rain_totalacc');
module.exports = {
hdc1008_temperature,
hdc1080_temperature,
Expand Down Expand Up @@ -95,5 +98,8 @@ module.exports = {
sps30_pm1,
sps30_pm25,
sps30_pm4,
sps30_pm10
sps30_pm10,
rain_intensity,
rain_eventAcc,
rain_totalAcc
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

module.exports = {
title: 'Niederschlag (letztes Ereignis)',
unit: 'mm/m²',
sensorType: 'RG-15',
icon: 'osem-umbrella',
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

module.exports = {
title: 'Regenintensität',
unit: 'mm/h',
sensorType: 'RG-15',
icon: 'osem-umbrella'
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use strict';

module.exports = {
title: 'Niederschlag (Insgesamt)',
unit: 'mm/m²',
sensorType: 'RG-15',
icon: 'osem-umbrella',
};

Loading