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. default tip

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.

Drop fermenter volume setting.

Device Save implemented.

Added device delete

Added Add new device.

Finished global setup including Save.

The global settings screen added. No Save function yet.

Added web page to display the one-wire bus live status.

Final 0.9.19a3 change.

Version 0.9.19a3. Fixed segfault in onewire temperature measurement. Fixed json error in onewire device.

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.

Fixed two compiler warnings on arm platform

Version 0.9.19a1

Better handling of a removed DS18B20 temperature sensor.

Create global_json() for all and expanded the data to the complete setup. Added design for the global setup.

More copyright references.

Devices edit popup layout ready.

More work for devices list and editor.

Devices list grid added.

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.

Fixed fermenter switches in NONE mode. Som other small bugfixes.

Websocket ping/pong uses sequence numbers.

Minor details for server DEVICE commands. Added getdevice<s> php scripts.

Increased server buffersize from 1024 to 4096. Added DEVICE JSON <uuid> command. Added websocket response fermenter profile. The fermenter monitor screen is ready (maybe).

Added getglobal.php script

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.

Server json unit data list added

Add stylesheet, about page. Add menu for fermenters. Add websocket port setup to the config server.

Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.

Code cleanup

Version 0.9.18

Only log temperature error once. Only log temperature Ok again once. Do not log changed temperature.

Finished one-wire ds2413 output

Stop logging ghost one-wire devices.

Reboot from the panel is now restart application. The restart is working again, also via bmsapp.

Upgraded MIGRATION document.

Removed lcd-buffer create logmessage. Combined Keys and Delay states.

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.

Fermentation processing in it's own function.

Version 0.9.17a3. Prepare for thermferm state tables.

Updated MIGRATION document.

One-wire tread more relaxed logging.

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.

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.

Added state to scan vanished one-wire devices. Update devices if a one-wire device returns on the bus.

Fix for compile with wiringPi

Read ds2413 moved to one-wire thread. Only reprogram if it is an input and programmed as output.

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.

State machine logging only when debug is active.

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.

Version 0.9.17

Moved all delay functions into a new general file.

Log compile options on startup.

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.

Version 0.9.16. Final changes DHT11 reading via sysfs.

Better detection of the DHT11 sensors. Read DHT11 with errors detection and reapeated tries.

Work to move dht userspace code to kernel module.

Running threads and locking doesn't depend on wiringPi anymore.

All thread locks from wiringPi to standard pthreads.

Added MIGRATION document. Trying to drop usleep() call to replace by nanosleep(). Some code cleanup.

Updates for DHT11 reading

Impoved SDL configure checks

Version 0.9.15

Renamed initscript

Init system for Slackware only

Final rebuild brewpanel to SDL2

Add --enable-wiringpi to configure script to allow to disable wiringpi even when it is installed. Use SDL2 instead of partly old SDL.

Create installation directories

Create installation directories

Version 0.9.14

Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d

Version 0.9.13. Close socket after use, fixes too much files open.

Version 0.9.12

Final changes for current wifi parameters.

Updates for cabled networks

Design wifi parameter reporting

Upgraded drawing to kicad 6.0.8

Upgraded kicad to version 6

Final changes in the css.

Updated css for webcam-ng

Added favicon.ico

Merged again

Improved conditional styling

Improved conditional styling

Merged

Added nextgen webcam scripts.

Upgraded jqwidgets

Always send network information, our IP may be changed.

Fixed init problems.

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.

Added kicad drawings

Make sure the hostname doesn't contain the domain name. Added Slackare init and setup scripts.

Improved logging if wiringpi failed.

Implemented MQTT user/password auth.

Version 0.9.10.

Changed pub_domoticz mqtt publishing.

Better logging for locking the daemon and fixed stale lock recovery.

Version 0.9.9 Don't flag fermenter death if the unit is turned off. Fix a wrong log message. Send unit data even if the unit is turned off.

Version 0.9.8. Added extra path to the fonts for Debian buster. Changed the PID to work on Proportional on Measurement. Added loops so that it looks like the PID is running at 100 mSec intervals.

Version 0.9.7. Increased the maximum fermentation temperature to 45 degrees to allow Kveik fermentations.

Merged fix from default stable

Fix for non Pi hardware and virtual Pi's.

Merged with default stable

Version 0.9.6

Fix one byte too large buffer copy

Added wiringPi hardware detection code.

Less debug messages on stdout

Revoved old temperature sensors read errors workaround.

Removed simulator debug support

(0) -120 tip

mercurial