Tue, 07 May 2024 14:11:31 +0200 Michiel Broek Save one devices loop when handling a 2413 device. default tip changeset | files
Mon, 06 May 2024 15:34:32 +0200 Michiel Broek Version 0.9.20a2. Renamed one-wire struct resolution to rd_cache and added wr_cache. The rd_cache and wr_cache values are used by the DS2413. Added these values to the grid so we can see them live. changeset | files
Sun, 05 May 2024 17:24:54 +0200 Michiel Broek Much faster shutdown of the websocket service. changeset | files
Sun, 05 May 2024 16:31:47 +0200 Michiel Broek Made devices loop a bit slower. changeset | files
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. changeset | files
Sat, 04 May 2024 19:10:03 +0200 Michiel Broek Different gettid() test changeset | files
Sat, 04 May 2024 17:37:47 +0200 Michiel Broek Added test for gettid() changeset | files
Sat, 04 May 2024 15:43:37 +0200 Michiel Broek Version 0.9.19 changeset | files
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. changeset | files
Sat, 04 May 2024 13:49:36 +0200 Michiel Broek Fixed initial show instead of hide of the toggle switches. Block edit fermenter when the fermenter is in use. changeset | files
Fri, 03 May 2024 20:41:26 +0200 Michiel Broek In fermenter screen fix errors during page load. changeset | files
Fri, 03 May 2024 20:15:17 +0200 Michiel Broek Fixed updating PID parameters. Jqwidgets javascripts cleanup. changeset | files
Fri, 03 May 2024 16:58:40 +0200 Michiel Broek Removed some unused files changeset | files
Fri, 03 May 2024 16:53:00 +0200 Michiel Broek Last changes to fermenter.js (maybe). Simulator custom labels for the door switch. Some extra columns in the simulators grid. changeset | files
Fri, 03 May 2024 15:12:25 +0200 Michiel Broek Some javascript fixes and cleanup changeset | files
Fri, 03 May 2024 14:14:01 +0200 Michiel Broek Add new fermenter adds dummy yeast temperatures. Periodic thermferm unit logging adds the unit alias name. Added Green LED hide color. Moved getglobal.php to dbglobal.php. Adjusted several record types in global and fermenter javascript records so there is less guesswork. Only display control leds and switches for defined equipment. changeset | files
Thu, 02 May 2024 15:49:16 +0200 Michiel Broek Version 0.9.19b3. The simulator thread can be paused to be able to add and delete simulators. Added simulated door and PSU status. Devices can now fully use multiple simulators. Better rounding of simulated temperature values. The server SIMULATOR DEL and ADD commands pause the simulator when the linked list is manipulated. Fixed SIGSEGV when a simulator is added. Added socket SO_REUSEADDR again to the server socket. changeset | files
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. changeset | files
Tue, 30 Apr 2024 17:26:41 +0200 Michiel Broek Version 0.9.19b2. Simulator redesign and it is now possible to run more then one simulator. All simulated devices have address names that include the simulator number. Added the setup screen for the most part. Not compatible with previous versions if a simulator was used, delete all simulators and simulated devices during stop and start. changeset | files
Sun, 28 Apr 2024 15:50:42 +0200 Michiel Broek It was impossible to remove devices from fermenters. Added beer_address2 device to the simulator. changeset | files
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. changeset | files
Thu, 25 Apr 2024 16:44:54 +0200 Michiel Broek Version 0.9.19b1. Less noisy logging. changeset | files
Thu, 25 Apr 2024 15:10:37 +0200 Michiel Broek Moved webcam scripts over to this www directory. Upgraded jquery to 2.1.1 (still old). changeset | files
Thu, 25 Apr 2024 14:52:50 +0200 Michiel Broek Removed old webpages from the repository changeset | files
Thu, 25 Apr 2024 14:26:47 +0200 Michiel Broek Version 0.9.19a6. Fixes after a short trial on the production controller. Fixed json for alternate beer termperature sensor. Fixed division by 1000 for the room temperature and humidity values. The dropdown list for devices shows the address instead of description in the list. changeset | files
Wed, 24 Apr 2024 21:58:27 +0200 Michiel Broek Version 0.9.19a5 changeset | files
Wed, 24 Apr 2024 21:36:49 +0200 Michiel Broek Possible fix for large sockets messages. changeset | files
Wed, 24 Apr 2024 20:44:56 +0200 Michiel Broek Version 0.9.19a4 changeset | files
Wed, 24 Apr 2024 20:36:06 +0200 Michiel Broek Finished save fermenter uit edit. changeset | files
Wed, 24 Apr 2024 16:46:45 +0200 Michiel Broek Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done. changeset | files
Wed, 24 Apr 2024 11:04:00 +0200 Michiel Broek Drop fermenter volume setting. changeset | files
Tue, 23 Apr 2024 20:45:29 +0200 Michiel Broek Device Save implemented. changeset | files
Tue, 23 Apr 2024 19:50:05 +0200 Michiel Broek Added device delete changeset | files
Tue, 23 Apr 2024 16:52:13 +0200 Michiel Broek Added Add new device. changeset | files
Tue, 23 Apr 2024 13:06:33 +0200 Michiel Broek Finished global setup including Save. changeset | files
Mon, 22 Apr 2024 20:58:55 +0200 Michiel Broek The global settings screen added. No Save function yet. changeset | files
Mon, 22 Apr 2024 15:12:27 +0200 Michiel Broek Added web page to display the one-wire bus live status. changeset | files
Mon, 22 Apr 2024 13:50:23 +0200 Michiel Broek Final 0.9.19a3 change. changeset | files
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. changeset | files
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. changeset | files
Sat, 20 Apr 2024 11:48:20 +0200 Michiel Broek Fixed two compiler warnings on arm platform changeset | files
Sat, 20 Apr 2024 11:34:00 +0200 Michiel Broek Version 0.9.19a1 changeset | files
Sat, 20 Apr 2024 10:53:18 +0200 Michiel Broek Better handling of a removed DS18B20 temperature sensor. changeset | files
Fri, 19 Apr 2024 20:56:55 +0200 Michiel Broek Create global_json() for all and expanded the data to the complete setup. Added design for the global setup. changeset | files
Fri, 19 Apr 2024 14:11:19 +0200 Michiel Broek More copyright references. changeset | files
Fri, 19 Apr 2024 11:31:46 +0200 Michiel Broek Devices edit popup layout ready. changeset | files
Thu, 18 Apr 2024 17:17:22 +0200 Michiel Broek More work for devices list and editor. changeset | files
Thu, 18 Apr 2024 14:20:19 +0200 Michiel Broek Devices list grid added. changeset | files
Wed, 17 Apr 2024 19:54:56 +0200 Michiel Broek Updated dependencies. Devices json data is created in de devices source for all places where it is needed. Added devices_ws function to broadcast all devices, to be used when any device is changed. The devices loop detects changes in input values and calls devices_ws if so. The server uses the general devices json data. changeset | files
Wed, 17 Apr 2024 15:03:01 +0200 Michiel Broek Fixed fermenter switches in NONE mode. Som other small bugfixes. changeset | files
Wed, 17 Apr 2024 13:18:22 +0200 Michiel Broek Websocket ping/pong uses sequence numbers. changeset | files
Tue, 16 Apr 2024 16:20:34 +0200 Michiel Broek Minor details for server DEVICE commands. Added getdevice<s> php scripts. changeset | files
Tue, 16 Apr 2024 16:03:47 +0200 Michiel Broek Increased server buffersize from 1024 to 4096. Added DEVICE JSON <uuid> command. Added websocket response fermenter profile. The fermenter monitor screen is ready (maybe). changeset | files
Mon, 15 Apr 2024 17:06:15 +0200 Michiel Broek Added getglobal.php script changeset | files
Mon, 15 Apr 2024 17:04:57 +0200 Michiel Broek Better websocket broadcast messages. Added GLOBAL JSON command to the server. Better logic to trigger websocket and mqtt data updates for the fermenter units. Websocket receive added fermenter mode, stage, setpoints, switches. Added more css styles for the fermenter screen. Added the fermenter screen php and javascript. changeset | files
Sun, 14 Apr 2024 14:41:38 +0200 Michiel Broek Server json unit data list added changeset | files
Sun, 14 Apr 2024 12:46:02 +0200 Michiel Broek Add stylesheet, about page. Add menu for fermenters. Add websocket port setup to the config server. changeset | files
Sat, 13 Apr 2024 16:50:26 +0200 Michiel Broek Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped. changeset | files
Thu, 11 Apr 2024 15:58:49 +0200 Michiel Broek Code cleanup changeset | files
Thu, 11 Apr 2024 15:01:46 +0200 Michiel Broek Version 0.9.18 changeset | files
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. changeset | files
Thu, 11 Apr 2024 13:18:20 +0200 Michiel Broek Finished one-wire ds2413 output changeset | files
Thu, 11 Apr 2024 11:19:04 +0200 Michiel Broek Stop logging ghost one-wire devices. changeset | files
Mon, 08 Apr 2024 13:16:42 +0200 Michiel Broek Reboot from the panel is now restart application. The restart is working again, also via bmsapp. changeset | files
Mon, 08 Apr 2024 11:23:45 +0200 Michiel Broek Upgraded MIGRATION document. changeset | files
Mon, 08 Apr 2024 10:57:12 +0200 Michiel Broek Removed lcd-buffer create logmessage. Combined Keys and Delay states. changeset | files
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
Thu, 14 Mar 2024 19:37:53 +0100 Michiel Broek Create installation directories changeset | files
Thu, 14 Mar 2024 19:32:37 +0100 Michiel Broek Create installation directories changeset | files
Thu, 14 Mar 2024 17:10:14 +0100 Michiel Broek Version 0.9.14 changeset | files
Thu, 14 Mar 2024 17:07:09 +0100 Michiel Broek Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d changeset | files
Sat, 25 Feb 2023 10:53:42 +0100 Michiel Broek Version 0.9.13. Close socket after use, fixes too much files open. changeset | files
Mon, 13 Feb 2023 16:39:03 +0100 Michiel Broek Version 0.9.12 changeset | files
Mon, 13 Feb 2023 16:30:58 +0100 Michiel Broek Final changes for current wifi parameters. changeset | files
Mon, 13 Feb 2023 15:22:43 +0100 Chiel Broek Updates for cabled networks changeset | files
Mon, 13 Feb 2023 15:11:20 +0100 Michiel Broek Design wifi parameter reporting changeset | files
Sat, 01 Oct 2022 16:16:36 +0200 Michiel Broek Upgraded drawing to kicad 6.0.8 changeset | files
Mon, 26 Sep 2022 21:30:17 +0200 Michiel Broek Upgraded kicad to version 6 changeset | files
Tue, 09 Aug 2022 15:08:17 +0200 Michiel Broek Final changes in the css. changeset | files
Tue, 09 Aug 2022 14:53:57 +0200 Michiel Broek Updated css for webcam-ng changeset | files
Tue, 09 Aug 2022 13:53:52 +0200 Michiel Broek Added favicon.ico changeset | files
Mon, 08 Aug 2022 19:39:37 +0200 Michiel Broek Merged again changeset | files
Mon, 08 Aug 2022 11:51:59 +0200 Michiel Broek Improved conditional styling changeset | files
Mon, 08 Aug 2022 11:49:57 +0200 Michiel Broek Improved conditional styling changeset | files
Mon, 08 Aug 2022 19:37:49 +0200 Michiel Broek Merged changeset | files
Mon, 08 Aug 2022 17:04:15 +0200 Michiel Broek Added nextgen webcam scripts. changeset | files
Mon, 08 Aug 2022 10:54:27 +0200 Michiel Broek Upgraded jqwidgets changeset | files
Sun, 10 Jul 2022 16:58:40 +0200 Michiel Broek Always send network information, our IP may be changed. changeset | files
Sun, 10 Jul 2022 15:03:26 +0200 Michiel Broek Fixed init problems. changeset | files
Sun, 10 Jul 2022 14:33:13 +0200 Michiel Broek Version 0.9.11. Removed lcd debug message after 7 years. Added setup for alternative beer sensor. If the main sensor is gone, the alternative will be used. changeset | files
Fri, 28 May 2021 14:25:56 +0200 Michiel Broek Added kicad drawings changeset | files
(0) -120 tip

mercurial