]> ToastFreeware Gitweb - toast/airingbutler.git/log
toast/airingbutler.git
2 years agoMakefile: remove negative temperature values when creating log.csv
gregor herrmann [Fri, 10 Mar 2023 01:35:27 +0000 (02:35 +0100)]
Makefile: remove negative temperature values when creating log.csv

2 years agoMakefile: add 'plot' target, passing startdate from last rotated log to plot_mhz19.py
gregor herrmann [Thu, 9 Mar 2023 23:54:11 +0000 (00:54 +0100)]
Makefile: add 'plot' target, passing startdate from last rotated log to plot_mhz19.py

2 years agoplot_mhz19.py: (optionally) pass filename and startdate
gregor herrmann [Thu, 9 Mar 2023 23:53:21 +0000 (00:53 +0100)]
plot_mhz19.py: (optionally) pass filename and startdate

3 years agolog_mhz19.py: fix deprecation warning with python 3.10
gregor herrmann [Fri, 1 Apr 2022 23:33:30 +0000 (01:33 +0200)]
log_mhz19.py: fix deprecation warning with python 3.10

for further reading and alternative solutions:

DeprecationWarning: There is no current event loop

4 years agoMakefile: new MONITOR_PORT for jadzia
gregor herrmann [Tue, 2 Feb 2021 20:53:10 +0000 (21:53 +0100)]
Makefile: new MONITOR_PORT for jadzia

4 years agoadd another co2ampel project
gregor herrmann [Mon, 14 Dec 2020 19:53:36 +0000 (20:53 +0100)]
add another co2ampel project

4 years agoafter startup output a warning messages
gregor herrmann [Thu, 12 Nov 2020 17:03:50 +0000 (18:03 +0100)]
after startup output a warning messages

instead of just a hint after the incorrect values

4 years agoMakefile: set MONITOR_PORT depending on hostname
gregor herrmann [Thu, 5 Nov 2020 20:49:39 +0000 (21:49 +0100)]
Makefile: set MONITOR_PORT depending on hostname

4 years agoREADME: add URLs for fancy adafruit LCD shield
gregor herrmann [Sun, 1 Nov 2020 20:42:06 +0000 (21:42 +0100)]
README: add URLs for fancy adafruit LCD shield

4 years agomove LCD output before buzzer
gregor herrmann [Sun, 1 Nov 2020 03:32:05 +0000 (04:32 +0100)]
move LCD output before buzzer

the buzzer has a delay, so let's update the LCD before making noise.

4 years agoadd a "cooldown time"
gregor herrmann [Sun, 1 Nov 2020 01:51:58 +0000 (02:51 +0100)]
add a "cooldown time"

don't warn more often than once per time period (currently one minute),
to avoid constant beeping when the co₂ value flaps around the threshold.

4 years agomake warmuptime a constant
gregor herrmann [Sat, 31 Oct 2020 23:41:59 +0000 (00:41 +0100)]
make warmuptime a constant

4 years agowarn during warmup
gregor herrmann [Wed, 28 Oct 2020 15:35:14 +0000 (16:35 +0100)]
warn during warmup

output a warning '(W)' after the co2 value during the first minute,
if the value is -1 or 410 which seems to happen each time after powering the
board on for a couple of measurements.

4 years agoMakefile: log target: filter out "Finished" lines as well
gregor herrmann [Tue, 27 Oct 2020 15:27:44 +0000 (16:27 +0100)]
Makefile: log target: filter out "Finished" lines as well

4 years agoadd log* to .gitignore
gregor herrmann [Mon, 26 Oct 2020 04:31:10 +0000 (05:31 +0100)]
add log* to .gitignore

4 years agofactor out buzzer calls into a function
gregor herrmann [Mon, 26 Oct 2020 04:20:42 +0000 (05:20 +0100)]
factor out buzzer calls into a function

4 years agomore whitespace changes
gregor herrmann [Mon, 26 Oct 2020 04:06:45 +0000 (05:06 +0100)]
more whitespace changes

4 years agooutput temperature on LCD
gregor herrmann [Mon, 26 Oct 2020 04:05:03 +0000 (05:05 +0100)]
output temperature on LCD

because we can. and with "+/-" as the values look a bit, hm, …

4 years agouse variables for measurement values
gregor herrmann [Mon, 26 Oct 2020 03:59:29 +0000 (04:59 +0100)]
use variables for measurement values

4 years agoadd Makefile target to massage log data
gregor herrmann [Mon, 26 Oct 2020 02:25:27 +0000 (03:25 +0100)]
add Makefile target to massage log data

4 years agoplot_mhz19.py: make temperature plot optional
gregor herrmann [Mon, 26 Oct 2020 01:43:47 +0000 (02:43 +0100)]
plot_mhz19.py: make temperature plot optional

4 years agosome cleanup (comments and whitespace)
gregor herrmann [Mon, 26 Oct 2020 00:30:57 +0000 (01:30 +0100)]
some cleanup (comments and whitespace)

4 years agoadd buzzer + LCD
gregor herrmann [Sun, 25 Oct 2020 22:26:55 +0000 (23:26 +0100)]
add buzzer + LCD

4 years agoadd the 3 LEDs and wire them up with CO2 values
gregor herrmann [Sun, 25 Oct 2020 20:22:28 +0000 (21:22 +0100)]
add the 3 LEDs and wire them up with CO2 values

4 years agoadd temperature plot
gregor herrmann [Sun, 25 Oct 2020 18:46:33 +0000 (19:46 +0100)]
add temperature plot

4 years agofix datetime in plot
gregor herrmann [Sun, 25 Oct 2020 18:38:46 +0000 (19:38 +0100)]
fix datetime in plot

4 years agoadd plot_mhz19.py
gregor herrmann [Sun, 25 Oct 2020 01:22:41 +0000 (02:22 +0100)]
add plot_mhz19.py

trivial sketch to plot collected test data.
copied from somewhere, so yeah, the x axis has room for improvement.

4 years agoset delay to 5 seconds
gregor herrmann [Thu, 22 Oct 2020 21:40:41 +0000 (23:40 +0200)]
set delay to 5 seconds

the ppm value doesn't change more often

4 years agolog_mhz19.py: flush print
gregor herrmann [Thu, 22 Oct 2020 18:54:41 +0000 (20:54 +0200)]
log_mhz19.py: flush print

Otherwise redirecting stdout doesn't work.

4 years agoOutput time before measurements.
gregor herrmann [Thu, 22 Oct 2020 18:49:09 +0000 (20:49 +0200)]
Output time before measurements.

millis() aka time since program start.
And raise delay to a second.

4 years agolog_mhz19.py: add hashbang and make executable
gregor herrmann [Thu, 22 Oct 2020 18:32:13 +0000 (20:32 +0200)]
log_mhz19.py: add hashbang and make executable

4 years agoAdd .gitignore.
gregor herrmann [Thu, 22 Oct 2020 10:43:37 +0000 (12:43 +0200)]
Add .gitignore.

So far with only the build-uno/ directory.

4 years agoAdd Python script for logging.
Philipp Spitzer [Wed, 21 Oct 2020 21:54:00 +0000 (23:54 +0200)]
Add Python script for logging.

4 years agoUse make file.
Philipp Spitzer [Wed, 21 Oct 2020 19:51:15 +0000 (21:51 +0200)]
Use make file.

4 years agoFlag used library.
Philipp Spitzer [Wed, 21 Oct 2020 19:50:53 +0000 (21:50 +0200)]
Flag used library.

4 years agoExample reading C02 concentration.
Philipp Spitzer [Wed, 21 Oct 2020 19:50:18 +0000 (21:50 +0200)]
Example reading C02 concentration.

4 years agoAdd link to German blog.
Philipp Spitzer [Wed, 21 Oct 2020 17:46:17 +0000 (19:46 +0200)]
Add link to German blog.

4 years agoAdd README.md with first links to MH-Z19b sensor.
gregor herrmann [Wed, 21 Oct 2020 17:41:19 +0000 (19:41 +0200)]
Add README.md with first links to MH-Z19b sensor.