Sun, 05 May 2024 15:49:03 +0200 |
Michiel Broek |
Version 0.9.20a1. Analyse threads cpu usage. One-wire added a resolution flag to prevent continuous resolution checks, now only for new sensors and replugged known sensors. Added two 40 sSec delays in the state machine. In the panel thread moved a few locks so these expensive calls are called only when needed.
|
file |
diff |
annotate
|
Sat, 04 May 2024 15:18:02 +0200 |
Michiel Broek |
Log pid of each started thread so we can see which uses the most cpu time.
|
file |
diff |
annotate
|
Wed, 01 May 2024 14:38:37 +0200 |
Michiel Broek |
Added device_present() function to easy update device present from one-wire and simulator devices. When a simulator temperature sensor present is changed, the device table is changed too. Controlling simulator relays is now for each simulator. The simulator runs under the state machine. If something changed in the running simulator, all data is broadcasted over websocket. Completed the web editor.
|
file |
diff |
annotate
|
Sun, 28 Apr 2024 14:25:26 +0200 |
Michiel Broek |
Log marking device missing if a onewire devices goes away. Fixes in fermenters display. Added Present and Inuse columns in devices list.
|
file |
diff |
annotate
|
Thu, 25 Apr 2024 16:44:54 +0200 |
Michiel Broek |
Version 0.9.19b1. Less noisy logging.
|
file |
diff |
annotate
|
Mon, 22 Apr 2024 13:40:21 +0200 |
Michiel Broek |
Version 0.9.19a3. Fixed segfault in onewire temperature measurement. Fixed json error in onewire device.
|
file |
diff |
annotate
|
Mon, 22 Apr 2024 11:33:04 +0200 |
Michiel Broek |
Version 0.9.19a2. Dropped TEMPSTATE[] and only use DEVPRESENT[] to mark devices state. Adjusted webpages for this switch in responses. Adjusted MySQL mon_fermenters enum values too. Rename some global Config records to better reflect their real use.Added one-wire json records and websocket. Announce when some onewire device changes. Add UNITS JSON command without parameter. Dropped global tempFormat setting that was never used.
|
file |
diff |
annotate
|
Sat, 20 Apr 2024 11:48:20 +0200 |
Michiel Broek |
Fixed two compiler warnings on arm platform
|
file |
diff |
annotate
|
Sat, 20 Apr 2024 10:53:18 +0200 |
Michiel Broek |
Better handling of a removed DS18B20 temperature sensor.
|
file |
diff |
annotate
|
Thu, 11 Apr 2024 15:58:49 +0200 |
Michiel Broek |
Code cleanup
|
file |
diff |
annotate
|
Thu, 11 Apr 2024 14:57:32 +0200 |
Michiel Broek |
Only log temperature error once. Only log temperature Ok again once. Do not log changed temperature.
|
file |
diff |
annotate
|
Thu, 11 Apr 2024 13:18:20 +0200 |
Michiel Broek |
Finished one-wire ds2413 output
|
file |
diff |
annotate
|
Thu, 11 Apr 2024 11:19:04 +0200 |
Michiel Broek |
Stop logging ghost one-wire devices.
|
file |
diff |
annotate
|
Fri, 05 Apr 2024 20:10:26 +0200 |
Michiel Broek |
One-wire tread more relaxed logging.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Tue, 02 Apr 2024 15:29:16 +0200 |
Michiel Broek |
State machine logging only when debug is active.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|