js: add new sensor
authorgregor herrmann <gregor@toastfreeware.priv.at>
Tue, 21 Aug 2018 14:34:24 +0000 (16:34 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Tue, 21 Aug 2018 14:34:24 +0000 (16:34 +0200)
web/static/seepark_web.js

index 4ee570f..48685e0 100644 (file)
@@ -10,18 +10,21 @@ function dayschart(element, title, days, xtickformat) {
                                xs: {
                                        '0416a1ac66ff': '0416a1ac66ff_x',
                                        '0516a207a4ff': '0516a207a4ff_x',
-                                       '0416a1bab9ff': '0416a1bab9ff_x'
+                                       '0416a1bab9ff': '0416a1bab9ff_x',
+                                       '0316a2193bff': '0316a2193bff_x'
                                },
                                names: {
                                        '0416a1ac66ff': 'Wassertemperatur 30cm Tiefe',
                                        '0516a207a4ff': 'Wassertemperatur 50cm Tiefe',
-                                       '0416a1bab9ff': 'Wassertemperatur 1m Tiefe'
+                                       '0416a1bab9ff': 'Wassertemperatur 1m Tiefe',
+                                       '0316a2193bff': 'Wassertemperatur in 4 m Tiefe'
                                },
                                xFormat: '%Y-%m-%d %H:%M:%S',
                                colors: {
                                        '0416a1ac66ff': 'lightskyblue',
                                        '0516a207a4ff': 'royalblue',
-                                       '0416a1bab9ff': 'midnightblue'
+                                       '0416a1bab9ff': 'mediumblue',
+                                       '0316a2193bff': 'midnightblue'
                                },
                                /*
                                xSort: false,