diff --git a/app/aggregate.html b/app/aggregate.html new file mode 100644 index 0000000..936d046 --- /dev/null +++ b/app/aggregate.html @@ -0,0 +1,145 @@ + + + + openSenseMap Dataview + + + + +

loading ...

+

+ +
+ + + + + +
+
+ + + + +
+
+ +
+ +
+ + + + + diff --git a/app/assets/scripts/views/app.js b/app/assets/scripts/views/app.js index 0edcdcd..f811180 100644 --- a/app/assets/scripts/views/app.js +++ b/app/assets/scripts/views/app.js @@ -13,11 +13,6 @@ var App = React.createClass({ }, render: function () { - - const monthStart = new Date('2019-01-01').toISOString(); - const monthEnd = new Date().toISOString(); - const monthRainUrl = `https://api.opensensemap.org/statistics/descriptive?boxid=${config.senseBox.id}&from-date=${monthStart}&to-date=${monthEnd}&phenomenon=Niederschlag&window=30d&operation=sum&columns=boxName,unit&format=json&download=false` - return (
@@ -27,7 +22,7 @@ var App = React.createClass({ 🗺️ Karte
- Niederschlag / Monat + Daten-Aggregation