Mon, 22 Apr 2024 11:33:04 +0200
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.
/* config.h.in. */ #undef COPYRIGHT #undef VERSION /* * Socket LCD protocol bits */ #define SLCD_NULL 0x0000 #define SLCD_CLEAR 0x0001 #define SLCD_MCLEAR 0x1fff #define SLCD_HOME 0x0002 #define SLCD_MHOME 0x1ffe #define SLCD_CGRAM 0x0040 #define SLCD_MCGRAM 0x1fc0 #define SLCD_DGRAM 0x0080 #define SLCD_MDGRAM 0x1f80 #define SLCD_DATA 0x0200 #define SLCD_MDATA 0x1e00 #define SLCD_LEDS 0x0400 #define SLCD_MLEDS 0x1c00 #define SLCD_KEYS 0x0800 #define SLCD_MKEYS 0x1800 #define SLCD_MDEV 0xe000 /* * Socket LEDs bits */ #define SLED_LCD 0x0001 /* LCD backlight */ #define SLED_TFLED 0x0002 /* Thermferm LED */ #define SLED_HLTH 0x0004 /* HLT heater LED */ #define SLED_MLTH 0x0008 /* MLT heater LED */ #define SLED_MLTP 0x0010 /* MLT pump/mixer */ #define SLED_BUZZER 0x0080 /* Buzzer */ /* * Network */ #define SEND_PORT 6554 /* Compile experimental code (may not be present) */ #undef USE_EXPERIMENT /* Compile simulator code */ #undef USE_SIMULATOR /* According to Sun we MUST define this in the source */ #define _REENTRANT 1 /* Define if you have the <wiringPi.h> header file. */ #undef HAVE_WIRINGPI_H /* Define if you have the <mosquitto.h> header file. */ #undef HAVE_MOSQUITTO_H /* Define if you have the <SDL/SDL.h> header file. */ #undef HAVE_SDL2_SDL_H