- add hourly cron job for importing piezeometer data for sensor bohrloch1-6

This commit is contained in:
Arno Kaimbacher 2022-03-16 16:37:32 +01:00
parent 14d3168d0e
commit b4d7ce40b3
6 changed files with 90 additions and 70 deletions

View file

@ -71,10 +71,13 @@ class SensorType:
("Battery level", "m"), ("Temperature", "m"), ("Relative humidity", "m")]}
elif type_ == "inclinometer": # INCLINOMETER
self.pattern = {"name": "inclinometer", "type": 'fixed', "attributes": [
("Slope", "m"), ("Roll", "m")]}
("Slope", "deg"), ("Roll", "deg")]}
elif type_ == "camera": # INCLINOMETER
self.pattern = {"name": "camera", "type": 'fixed', "attributes": [
("Image", "xo")]}
elif type_ == "piezometer": # PIEZOMETER
self.pattern = {"name": "piezometer", "type": 'fixed', "attributes": [
("Elevation", "m")]}
elif type_ == "noise": # NOISE
self.pattern = {"name": "noise", "type": 'fixed', "attributes": [
("Battery level", "m"), ("Noise", "m")]}