jonny and Cursor
f061673880
Avoid Adafruit PulseIn hangs when claiming the DHT GPIO pin.
...
libgpiod_pulsein fails with "Unable to set line N to input" on Raspberry Pi OS, so read via bitbang and release the pin after a single-shot run.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 22:25:17 +08:00
jonny and Cursor
2d1e319160
Make the MySQL table name configurable instead of hardcoding TempHumid.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 11:44:18 +08:00
jonny and Cursor
adb8573833
Migrate monitoring scripts from Python 2 to Python 3.
...
Replace the dhtreader.so extension with adafruit-circuitpython-dht and run the daemon with python3.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 19:53:00 +08:00
jonny and Cursor
6f12d2c459
Fix sensor validation, MySQL retries, and chart query bugs.
...
Reject implausible readings, close DB connections on retry, and return chart data in chronological order.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 19:40:49 +08:00
Jonny Ervine
df055d4521
modified: temp-humid-read-single.py
2015-07-10 19:35:04 +08:00
Jonny Ervine
5fd2fc3b9b
modified: temp-humid-read-loop.py
...
modified: temp-humid-read-single.py
2015-06-24 10:12:48 +08:00
Jonny Ervine
edf7161665
modified: python_code/temp-humid-read-loop.py
...
modified: python_code/temp-humid-read-single.py
2015-06-23 07:08:25 +08:00
Jonny Ervine
3c4b73a171
modified: temp-humid-read-loop.py
...
modified: temp-humid-read-single.py
modified: temphumid.conf
modified: updateMysql.py
2015-06-19 14:30:10 +08:00
Jonny Ervine
05431d1b63
modified: python_code/temp-humid-read-loop.py
...
new file: python_code/temp-humid-read-single.py
modified: python_code/updateMysql.py
2015-06-18 10:20:47 +08:00