You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-6Lines changed: 42 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -13,22 +13,27 @@ It consists out of three parts:
13
13
14
14
### Logger (python3)
15
15
16
-
This script does the actual recording of the temperature and humidity values.
16
+
This script does the actual reading of the temperature and humidity values from the supported sensors.
17
17
It will scan all 1wire slaves and extract the temperature from DS18B20 sensors (maybe other sensors will work as well).
18
18
It will look for DHT22 sensors as well and retrieve temperature and humitidy values from them.
19
-
It is able to log these values into a sqlite database or send them to the RESTful API.
19
+
Depending on the configuration it is able to log these values into a sqlite database or send them to the RESTful API.
20
+
21
+
When sending to the RESTful API is not possible (e.g. in case of no network connection or API down) the records will be cached locally in a sqlite database and sent when API is reachable again.
22
+
23
+
24
+
For accessing DHT22 sensors we are using [Adafruit_Python_DHT](https://github.com/adafruit/Adafruit_Python_DHT).
20
25
21
26
### RESTful API (nodejs)
22
27
23
28
@todo
24
29
25
-
Built with https://github.com/expressjs/express
30
+
Built with [expressjs](https://github.com/expressjs/express)
26
31
27
32
### Frontend (HTML + javascript)
28
33
29
34
@todo
30
35
31
-
Built with https://github.com/jquery/jquery/ and https://github.com/plotly/plotly.js/
36
+
Built with [jquery](https://github.com/jquery/jquery/) and [plotly.js](https://github.com/plotly/plotly.js/)
32
37
33
38
34
39
@@ -46,9 +51,40 @@ Built with https://github.com/jquery/jquery/ and https://github.com/plotly/plotl
46
51
9.@todo
47
52
48
53
49
-
## API as service
54
+
## API as systemd service
55
+
56
+
If you want the RESTful API run as a systemd service you can do the following:
0 commit comments