Skip to content

Commit dcb3b86

Browse files
author
Eric Thieme-Garmann
committed
remove - from sensor type
1 parent c2bf958 commit dcb3b86

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/api/lib/controllers/boxesController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ const getBox = async function getBox (req, res) {
498498
* @apiParam (RequestBody) {Location} location the coordinates of this senseBox.
499499
* @apiParam (RequestBody) {String="homeV2Lora","homeV2Ethernet","homeV2Wifi","homeEthernet","homeWifi","homeEthernetFeinstaub","homeWifiFeinstaub","luftdaten_sds011","luftdaten_sds011_dht11","luftdaten_sds011_dht22","luftdaten_sds011_bmp180","luftdaten_sds011_bme280","hackair_home_v2"} [model] specify the model if you want to use a predefined senseBox model, autocreating sensor definitions.
500500
* @apiParam (RequestBody) {Sensor[]} [sensors] an array containing the sensors of this senseBox. Only use if `model` is unspecified.
501-
* @apiParam (RequestBody) {String[]="hdc1080","bmp280","tsl45315","veml6070","sds011","bme680","smt50","soundlevelmeter","windspeed","scd30","dps310","sps30","rg-15"} [sensorTemplates] Specify which sensors should be included.
501+
* @apiParam (RequestBody) {String[]="hdc1080","bmp280","tsl45315","veml6070","sds011","bme680","smt50","soundlevelmeter","windspeed","scd30","dps310","sps30","rg15"} [sensorTemplates] Specify which sensors should be included.
502502
* @apiParam (RequestBody) {Object} [mqtt] specify parameters of the MQTT integration for external measurement upload. Please see below for the accepted parameters
503503
* @apiParam (RequestBody) {Object} [ttn] specify parameters for the TTN integration for measurement from TheThingsNetwork.org upload. Please see below for the accepted parameters
504504
* @apiParam (RequestBody) {Boolean="true","false"} [useAuth] whether to use access_token or not for authentication
@@ -881,7 +881,7 @@ module.exports = {
881881
'scd30',
882882
'dps310',
883883
'sps30',
884-
'rg-15',
884+
'rg15',
885885
],
886886
},
887887
{

packages/models/src/box/sensorLayouts/sensorDefinitions/rg15_intensity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
module.exports = {
44
title: 'Regenintensität',
55
unit: 'mm/h',
6-
sensorType: 'RG-15',
6+
sensorType: 'RG15',
77
icon: 'osem-umbrella'
88
};

packages/models/src/box/sensorLayouts/sensorDefinitions/rg15_totalacc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module.exports = {
44
title: 'Niederschlag (Insgesamt)',
55
unit: 'mm/m²',
6-
sensorType: 'RG-15',
6+
sensorType: 'RG15',
77
icon: 'osem-umbrella',
88
};
99

0 commit comments

Comments
 (0)