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
|
57c9adfa4d
|
round all the collected results
The messurements are way to noisy when they are not rounded
|
2019-10-21 17:26:34 +02:00 |
Andreas Zweili
|
f541511fbe
|
remove the Time model
|
2019-10-21 06:57:44 +02:00 |
Andreas Zweili
|
52103ad3b7
|
the time should be time zone aware
|
2019-10-20 23:09:45 +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
|
879ac4e666
|
listen on all ips when running the server
|
2019-10-20 22:59:32 +02:00 |
Andreas Zweili
|
5c44591010
|
Revert "fix the data sclicing"
This reverts commit 470801783d .
|
2019-10-20 22:53:00 +02:00 |
Andreas Zweili
|
03b7cb5325
|
add the collector as a management command
This allows the command to be called by cron or a similar external tool
|
2019-10-20 22:51:35 +02:00 |
Andreas Zweili
|
9d01af07b9
|
remove the collector from the view
the collector shouldn't run every time the view gets called
|
2019-10-20 22:50:52 +02:00 |
Andreas Zweili
|
110c8da696
|
add a simple command to run the background task
|
2019-10-20 22:43:09 +02:00 |
Andreas Zweili
|
b6ad61ccce
|
create a view to display the charts
|
2019-10-20 21:39:03 +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
|
2d7fe4dddd
|
sort base requirements alphabetically
|
2019-10-20 21:36:59 +02:00 |
Andreas Zweili
|
c44868c3ee
|
add django-background-tasks as a dependency
|
2019-10-20 21:36:38 +02:00 |
Andreas Zweili
|
911594d84f
|
sort development requirements alphabetically
|
2019-10-20 21:36:19 +02:00 |
Andreas Zweili
|
bc55d5e5e9
|
add test where all the values get written to the db
|
2019-10-20 21:33:44 +02:00 |
Andreas Zweili
|
30a9c3a77d
|
add a function to collect and write all values to the DB
|
2019-10-20 21:23:05 +02:00 |
Andreas Zweili
|
41e4b1426b
|
add the url pattern for the index page
|
2019-10-20 21:22:41 +02:00 |
Andreas Zweili
|
a699d3071a
|
add a test_index test
|
2019-10-20 21:22:27 +02:00 |
Andreas Zweili
|
40ece7cc4f
|
add test helpers to check for text in the HTML output
|
2019-10-20 21:22:09 +02:00 |
Andreas Zweili
|
4b2951a1b4
|
add a template for the index page
|
2019-10-20 21:21:51 +02:00 |
Andreas Zweili
|
66bb495287
|
add the collector urls to the project urls
|
2019-10-20 21:21:13 +02:00 |
Andreas Zweili
|
57d835a2e8
|
add plotly as a depency
|
2019-10-20 21:20:49 +02:00 |
Andreas Zweili
|
f8e53d217e
|
set the settings environment and export coverage to html
|
2019-10-20 21:20:20 +02:00 |
Andreas Zweili
|
0f009fe1c7
|
extend the run command to include migrations
|
2019-10-20 21:19:59 +02:00 |
Andreas Zweili
|
8e4ac03e14
|
include the system site packages in the virtualenv
This is especially necessary for the development environment because there are
certain dependencies which one can't get from pypi.
|
2019-10-20 13:41:21 +02:00 |
Andreas Zweili
|
96f2876975
|
add the sense emulator library to the development environment
|
2019-10-20 13:38:04 +02:00 |
Andreas Zweili
|
5fe755152c
|
remove unused imports
|
2019-10-20 13:37:57 +02:00 |
Andreas Zweili
|
bdbe2bd5aa
|
add a function to collect humidity
|
2019-10-20 13:37:39 +02:00 |
Andreas Zweili
|
ae2b7c1624
|
add a function to collect the pressure
|
2019-10-20 13:37:31 +02:00 |
Andreas Zweili
|
16050cc176
|
rewrite the temperature collector
after a quick test I don't think I need the complicated way to calculate the
temperature
|
2019-10-20 13:36:32 +02:00 |
Andreas Zweili
|
7411bdd70e
|
make sure that the imports are correct depending on the system
|
2019-10-20 13:34:55 +02:00 |
Andreas Zweili
|
34aa2f4ba6
|
sense_hat needs to be a depency
|
2019-10-16 21:40:26 +02:00 |
Andreas Zweili
|
85fd057e62
|
add a first version of the collector module
|
2019-10-15 17:25:23 +01:00 |
Andreas Zweili
|
b1a0b05b5f
|
activate the virtualenv before running the test
|
2019-10-14 21:00:53 +01:00 |
Andreas Zweili
|
01f02ca4d3
|
fix the db test
|
2019-10-14 21:55:00 +02:00 |
Andreas Zweili
|
6e6e846686
|
fix a typo
|
2019-10-14 21:53:42 +02:00 |
Andreas Zweili
|
61ec522fd4
|
remove the admin module from the collector app
|
2019-10-14 21:53:28 +02:00 |
Andreas Zweili
|
f0d3491511
|
don't use migrations to run tests
|
2019-10-14 21:53:19 +02:00 |
Andreas Zweili
|
c48f43af32
|
add the mixer package for development
|
2019-10-14 21:38:26 +02:00 |
Andreas Zweili
|
22a3d53135
|
readd the admin and auth app
a lot of things are breaking when they are not included.
|
2019-10-14 21:36:04 +02:00 |
Andreas Zweili
|
b328ac4727
|
restructure tests
|
2019-10-14 21:35:54 +02:00 |
Andreas Zweili
|
a12ca638f1
|
ignore migration files
|
2019-10-14 21:35:38 +02:00 |
Andreas Zweili
|
ffb088e084
|
add a pytest.ini file
|
2019-10-14 17:41:22 +01:00 |
Andreas Zweili
|
a9bced323b
|
adapt a lot of things for django
|
2019-10-14 17:41:07 +01:00 |