new file: c_code/th.c new file: c_code/th.c-NOTES new file: c_code/thd new file: python_code/dhtreader.so new file: python_code/temp-humid-read-loop.py new file: python_code/temphumid.conf new file: python_code/updateMysql.py deleted: dhtreader.so deleted: temp-humid-read-loop.py deleted: temphumid.conf deleted: th.c deleted: th.c-NOTES deleted: thd deleted: updateMysql.py
11 lines
559 B
Plaintext
11 lines
559 B
Plaintext
The stucture of th.c is horrible at the moment. Everything is called from main()
|
|
|
|
At some point I'd like to break out the reading of the configuration into a separate sub-routine. The printing of the configureation
|
|
file details into the log file should also be disabled for a live situation.
|
|
|
|
TODO:
|
|
1. Stop printing out config to the log file.
|
|
2. Add an option to specify the config file on the command line.
|
|
3. Add the option to log to the syslog facility.
|
|
4. Maybe add code here to only start up when MySQL is available, and to wait/retry until this works.
|