increase collection frequenzy and accuracy

This commit is contained in:
Andreas Zweili 2020-03-10 22:05:14 +01:00
parent 29cdeef316
commit 4bdda5491a
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@ while :
do do
./manage.py collect ./manage.py collect
./manage.py clean ./manage.py clean
sleep 300 sleep 60
done done

View File

@ -15,7 +15,7 @@ def _round_to_half(value):
def get_temperature(): def get_temperature():
return _round_to_half(0.899338368784139 * sense.get_temperature()) return round(0.899338368784139 * sense.get_temperature(), 1)
def get_pressure(): def get_pressure():