Save one devices loop when handling a 2413 device. default tip

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.

Much faster shutdown of the websocket service.

Made devices loop a bit slower.

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.

Different gettid() test

Added test for gettid()

Version 0.9.19

Log pid of each started thread so we can see which uses the most cpu time.

Fixed initial show instead of hide of the toggle switches. Block edit fermenter when the fermenter is in use.

In fermenter screen fix errors during page load.

Fixed updating PID parameters. Jqwidgets javascripts cleanup.

Removed some unused files

Last changes to fermenter.js (maybe). Simulator custom labels for the door switch. Some extra columns in the simulators grid.

Some javascript fixes and cleanup

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.

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.

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.

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.

It was impossible to remove devices from fermenters. Added beer_address2 device to the simulator.

Log marking device missing if a onewire devices goes away. Fixes in fermenters display. Added Present and Inuse columns in devices list.

Version 0.9.19b1. Less noisy logging.

Moved webcam scripts over to this www directory. Upgraded jquery to 2.1.1 (still old).

Removed old webpages from the repository

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.

Version 0.9.19a5

Possible fix for large sockets messages.

Version 0.9.19a4

Finished save fermenter uit edit.

Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.

(0) -300 -100 -50 -30 tip

mercurial