update sensorids and names
authorgregor herrmann <gregor@toastfreeware.priv.at>
Sun, 5 Aug 2018 16:41:26 +0000 (18:41 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Sun, 5 Aug 2018 16:41:26 +0000 (18:41 +0200)
web/static/seepark_web.js

index 9b24b60d96570aec342e6ea6f675b421ba3cfea1..e0d569cd2be50e6344018a9dd88939db0e7566ff 100644 (file)
@@ -8,17 +8,20 @@ function dayschart(element, title, days, xtickformat) {
                                url: api_base_url_sensors + beginend(days),
                                mimeType: 'json',
                                xs: {
-                                       '0316a2193bff': '0316a2193bff_x',
-                                       '0316a21383ff': '0316a21383ff_x'
+                                       '0416a1ac66ff': '0416a1ac66ff_x',
+                                       '0516a207a4ff': '0516a207a4ff_x',
+                                       '0416a1bab9ff': '0416a1bab9ff_x'
                                },
                                names: {
-                                       '0316a2193bff': 'Wassertemperatur in 4 m Tiefe',
-                                       '0316a21383ff': 'Wassertemperatur in 5 m Tiefe'
+                                       '0416a1ac66ff': 'Wassertemperatur in 50 cm Tiefe',
+                                       '0516a207a4ff': 'Wassertemperatur in 1 m Tiefe',
+                                       '0416a1bab9ff': 'Wassertemperatur in 2 m Tiefe'
                                },
                                xFormat: '%Y-%m-%d %H:%M:%S',
                                colors: {
-                                       '0316a2193bff': 'lightblue',
-                                       '0316a21383ff': 'darkblue'
+                                       '0416a1ac66ff': 'lightblue',
+                                       '0516a207a4ff': 'middleblue',
+                                       '0416a1bab9ff': 'darkblue'
                                }
                };
        } else {