Andreas Zweili
2c5bac292a
replace timezone with datetime
...
Since the plots are not really part of django they aren't returning timezone
objects which django can convert to the correct timezone. Therefore they are
always UTC. However we can disable the timezone support in django. The're might
be a more elegant solution to this but since this is just a small project I'll
leave it at that.
2019-10-21 19:42:03 +02:00
Andreas Zweili
9841c3232d
limit the queries to the last 12 hours
2019-10-21 19:27:33 +02:00
Andreas Zweili
e7e72f1e31
add markers to the plots
2019-10-21 18:30:04 +02:00
Andreas Zweili
f652725984
remove line smoothing
...
It doesn't really help with readability
2019-10-21 18:23:41 +02:00
Andreas Zweili
8756f1819e
Merge branch 'master' of git.2li.ch:Nebucatnetzer/environment_sensors
2019-10-21 17:29:15 +02:00
Andreas Zweili
c8906fdbdc
improve the plots
2019-10-21 17:28:46 +02:00
Andreas Zweili
f541511fbe
remove the Time model
2019-10-21 06:57:44 +02:00
Andreas Zweili
88dc88fa9f
Revert "Revert "fix the data sclicing""
...
This reverts commit 5c44591010
.
2019-10-20 23:00:22 +02:00
Andreas Zweili
5c44591010
Revert "fix the data sclicing"
...
This reverts commit 470801783d
.
2019-10-20 22:53:00 +02:00
Andreas Zweili
93dfcf95d5
switch the x and y axis
2019-10-20 21:38:42 +02:00
Andreas Zweili
3cec11e045
remove debugging print statement
2019-10-20 21:38:30 +02:00
Andreas Zweili
470801783d
fix the data sclicing
...
first we were selecting the last 30 values but we want the first 30 values
2019-10-20 21:37:59 +02:00
Andreas Zweili
7dbc7772b5
remove a unrequired import
2019-10-20 21:37:40 +02:00
Andreas Zweili
bc55d5e5e9
add test where all the values get written to the db
2019-10-20 21:33:44 +02:00