Sun, 05 May 2024 16:31:47 +0200 Michiel Broek Made devices loop a bit slower. 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
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. 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
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. file | diff | annotate
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. 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 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
Fri, 19 Apr 2024 11:31:46 +0200 Michiel Broek Devices edit popup layout ready. file | diff | annotate
Thu, 18 Apr 2024 14:20:19 +0200 Michiel Broek Devices list grid added. file | diff | annotate
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. 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
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 16:53:22 +0200 Michiel Broek Fix for compile with wiringPi 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: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
Wed, 27 Mar 2024 17:19:46 +0100 Michiel Broek Moved all delay functions into a new general file. file | diff | annotate
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. file | diff | annotate
Mon, 25 Mar 2024 11:44:45 +0100 Michiel Broek Version 0.9.16. Final changes DHT11 reading via sysfs. file | diff | annotate
Sun, 24 Mar 2024 17:12:23 +0100 Michiel Broek Better detection of the DHT11 sensors. Read DHT11 with errors detection and reapeated tries. file | diff | annotate
Sat, 23 Mar 2024 20:28:17 +0100 Michiel Broek Work to move dht userspace code to kernel module. file | diff | annotate
Sat, 23 Mar 2024 16:01:24 +0100 Michiel Broek Running threads and locking doesn't depend on wiringPi anymore. file | diff | annotate
Sat, 23 Mar 2024 12:18:14 +0100 Michiel Broek All thread locks from wiringPi to standard pthreads. file | diff | annotate
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. file | diff | annotate
Fri, 22 Mar 2024 11:48:35 +0100 Michiel Broek Updates for DHT11 reading file | diff | annotate
Thu, 09 May 2019 19:42:33 +0200 Michiel Broek Revoved old temperature sensors read errors workaround. file | diff | annotate
Thu, 09 May 2019 16:40:17 +0200 Michiel Broek Removed writing local unit data logs file | diff | annotate
Sun, 28 Apr 2019 19:59:43 +0200 Michiel Broek Final device thermometer error detection. file | diff | annotate
Sun, 28 Apr 2019 17:03:45 +0200 Michiel Broek Added sensor precision initialize. Changed PID logging. file | diff | annotate
Sun, 28 Apr 2019 16:27:54 +0200 Michiel Broek Experimental 12 bits resolution init file | diff | annotate
Sun, 28 Apr 2019 11:38:30 +0200 Michiel Broek Changed 1-wire DS18B20 sensor error check. file | diff | annotate
Sat, 27 Apr 2019 21:07:00 +0200 Michiel Broek More relaxed DHT11 readings file | diff | annotate
Sat, 27 Apr 2019 20:54:20 +0200 Michiel Broek Removed not working extra check file | diff | annotate
Sat, 27 Apr 2019 20:47:26 +0200 Michiel Broek Attempt to better check the temperature sensors and lower the cpu load. file | diff | annotate
Sat, 19 Jan 2019 20:31:50 +0100 Michiel Broek Fix for compiling with wiringPi file | diff | annotate
Mon, 14 Jan 2019 22:46:27 +0100 Michiel Broek Removed useless version marks from the xml configuration. Added DCMD profile configuration to install and delete profiles in a fermenter. Removed the old profiles configuration. Removed useless xml configuration error check because none has been triggered in five years, Removed several obsolete upgrade functions. Updated the web liveview. file | diff | annotate
Wed, 25 Jul 2018 20:08:13 +0200 Michiel Broek Updated simulator with more simulated devices. file | diff | annotate
Tue, 25 Jul 2017 21:08:26 +0200 Michiel Broek Changed 1-wire logic a little bit file | diff | annotate
Tue, 25 Jul 2017 17:39:42 +0200 Michiel Broek Debug CRC error messages file | diff | annotate
Mon, 08 May 2017 16:26:02 +0200 Michiel Broek New MQTT protocol file | diff | annotate
Mon, 22 Feb 2016 19:22:39 +0100 Michiel Broek Simulate sensors resolution. file | diff | annotate
Fri, 27 Nov 2015 22:00:23 +0100 Michiel Broek Stop devices thread if the program ends. file | diff | annotate
Mon, 05 Oct 2015 15:21:46 +0200 Michiel Broek Make sure that a DS2413 device used as input has the output latch turned off. file | diff | annotate
Tue, 15 Sep 2015 17:26:26 +0200 Michiel Broek Switched to new device read code. Removed the incomplete support for the DS2408 1-wire chip. file | diff | annotate
Tue, 15 Sep 2015 15:37:39 +0200 Michiel Broek Spelling correction. file | diff | annotate
Tue, 15 Sep 2015 14:50:35 +0200 Michiel Broek Fixed initialisation of new GPIO RS433 and DHT11 devices. file | diff | annotate
Tue, 15 Sep 2015 14:44:21 +0200 Michiel Broek Fixed initialisation of new GPIO devices. file | diff | annotate
Sat, 16 May 2015 17:39:30 +0200 Michiel Broek Made the client-server protocol more robust. When a change to a unit is made using the web interface, the main process is stopped during the update. Splitted the PID in two PID's, one for heating and one for cooling. Adjusted the web edit scrreen for this, but there are still rough edges. Replaced the PID code, maybe this one works better for our purpose. The simulator air temperature changes on the simulator heater and cooler, but it is not realistic at all. This is a development version, do not use in production. The version is 0.3.0 file | diff | annotate
Wed, 01 Apr 2015 22:54:27 +0200 Michiel Broek Fixed compile issue on non-Pi systems file | diff | annotate
Wed, 01 Apr 2015 22:10:59 +0200 Michiel Broek Fixed auto device update timer file | diff | annotate
Wed, 01 Apr 2015 15:56:04 +0200 Michiel Broek Changed Fan switch logic. file | diff | annotate
Wed, 01 Apr 2015 15:20:05 +0200 Michiel Broek Completed DS2413 device code and driver. file | diff | annotate
Thu, 26 Mar 2015 20:34:53 +0100 Michiel Broek Fixed Offset label in device editor. Added code to edit pin states for DS2408 and DS2413 1-wire devices. file | diff | annotate
Thu, 26 Mar 2015 16:40:53 +0100 Michiel Broek Initialize offset to zero with new detected 1-wire devices. file | diff | annotate
Mon, 23 Mar 2015 20:34:47 +0100 Michiel Broek Added device read for the DS2413 dual channel PIO file | diff | annotate
Fri, 20 Mar 2015 22:49:22 +0100 Michiel Broek Possible part of DS2408 code added. file | diff | annotate
(0) -60 tip

mercurial