Sun, 07 Apr 2024 20:26:37 +0200 |
Michiel Broek |
Added commandline switch --foreground, the --debug now only activates extra debug logging. No more console output. The thermferm process uses a state table, this makes the code more readable and have less large functions.
|
changeset |
files
|
Sun, 07 Apr 2024 16:05:06 +0200 |
Michiel Broek |
Fermentation processing in it's own function.
|
changeset |
files
|
Sun, 07 Apr 2024 11:25:00 +0200 |
Michiel Broek |
Version 0.9.17a3. Prepare for thermferm state tables.
|
changeset |
files
|
Sat, 06 Apr 2024 17:21:29 +0200 |
Michiel Broek |
Updated MIGRATION document.
|
changeset |
files
|
Fri, 05 Apr 2024 20:10:26 +0200 |
Michiel Broek |
One-wire tread more relaxed logging.
|
changeset |
files
|
Fri, 05 Apr 2024 19:30:41 +0200 |
Michiel Broek |
Version 0.9.17a2. Disabled a lot of mutex locks, some are blocking and need to be fixed. This version seems to be working, more or less.
|
changeset |
files
|
Fri, 05 Apr 2024 16:19:39 +0200 |
Michiel Broek |
Version 0.9.17a1. Revised starting and stopping the threads. Fixed stopping the command server thread. Moved one-wire tempeature sensors resolution correction to the one-wire thread. The devices thread fetches temperatures from the one-wire thread. The one-wire thread does everything for the temperature sensors. The command server uses private sockets. Still, only one session at the same time is handled.
|
changeset |
files
|
Wed, 03 Apr 2024 19:33:38 +0200 |
Michiel Broek |
Added state to scan vanished one-wire devices. Update devices if a one-wire device returns on the bus.
|
changeset |
files
|
Wed, 03 Apr 2024 16:53:22 +0200 |
Michiel Broek |
Fix for compile with wiringPi
|
changeset |
files
|
Wed, 03 Apr 2024 16:21:46 +0200 |
Michiel Broek |
Read ds2413 moved to one-wire thread. Only reprogram if it is an input and programmed as output.
|
changeset |
files
|
Wed, 03 Apr 2024 12:14:45 +0200 |
Michiel Broek |
One-wire thread is now the first to start. The devices_detect() function now uses the detected one-wire linked list instead of scan the sysfs. Base code for ds2413 added in the state table, needs rework.
|
changeset |
files
|
Tue, 02 Apr 2024 15:29:16 +0200 |
Michiel Broek |
State machine logging only when debug is active.
|
changeset |
files
|
Tue, 02 Apr 2024 15:03:12 +0200 |
Michiel Broek |
Added one-wire thread and some old state table macro's. The state machine first state scans new one-wire devices and stores them in a linked list.
|
changeset |
files
|
Wed, 27 Mar 2024 18:59:39 +0100 |
Michiel Broek |
Version 0.9.17
|
changeset |
files
|
Wed, 27 Mar 2024 17:19:46 +0100 |
Michiel Broek |
Moved all delay functions into a new general file.
|
changeset |
files
|
Wed, 27 Mar 2024 15:49:31 +0100 |
Michiel Broek |
Log compile options on startup.
|
changeset |
files
|
Mon, 25 Mar 2024 17:14:56 +0100 |
Michiel Broek |
Brought the retry attempts to read the DHT11 sensors to the main devices loop. The actual read function is now very simple. Called every 30 seconds when all is well, or 2 seconds if something is wrong.
|
changeset |
files
|
Mon, 25 Mar 2024 11:44:45 +0100 |
Michiel Broek |
Version 0.9.16. Final changes DHT11 reading via sysfs.
|
changeset |
files
|
Sun, 24 Mar 2024 17:12:23 +0100 |
Michiel Broek |
Better detection of the DHT11 sensors. Read DHT11 with errors detection and reapeated tries.
|
changeset |
files
|
Sat, 23 Mar 2024 20:28:17 +0100 |
Michiel Broek |
Work to move dht userspace code to kernel module.
|
changeset |
files
|
Sat, 23 Mar 2024 16:01:24 +0100 |
Michiel Broek |
Running threads and locking doesn't depend on wiringPi anymore.
|
changeset |
files
|
Sat, 23 Mar 2024 12:18:14 +0100 |
Michiel Broek |
All thread locks from wiringPi to standard pthreads.
|
changeset |
files
|
Sat, 23 Mar 2024 09:31:01 +0100 |
Michiel Broek |
Added MIGRATION document. Trying to drop usleep() call to replace by nanosleep(). Some code cleanup.
|
changeset |
files
|
Fri, 22 Mar 2024 11:48:35 +0100 |
Michiel Broek |
Updates for DHT11 reading
|
changeset |
files
|
Sat, 16 Mar 2024 11:54:46 +0100 |
Michiel Broek |
Impoved SDL configure checks
|
changeset |
files
|
Sat, 16 Mar 2024 11:09:43 +0100 |
Michiel Broek |
Version 0.9.15
|
changeset |
files
|
Sat, 16 Mar 2024 11:08:27 +0100 |
Michiel Broek |
Renamed initscript
|
changeset |
files
|
Sat, 16 Mar 2024 11:06:16 +0100 |
Michiel Broek |
Init system for Slackware only
|
changeset |
files
|
Sat, 16 Mar 2024 10:51:41 +0100 |
Michiel Broek |
Final rebuild brewpanel to SDL2
|
changeset |
files
|
Fri, 15 Mar 2024 20:57:49 +0100 |
Michiel Broek |
Add --enable-wiringpi to configure script to allow to disable wiringpi even when it is installed. Use SDL2 instead of partly old SDL.
|
changeset |
files
|