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.

(0) -300 -100 -50 -24 +24 +50 tip

mercurial