Skip to content

Commit 2ddcfa7

Browse files
committed
Version 2.1.0
1 parent d2c5df8 commit 2ddcfa7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3550
-792
lines changed

Makefile

+29-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
#
22
# Options
3-
# make DEBUG=true // Turn on timing statments
3+
4+
# Valid flags for AQ_FLAGS
5+
# AQ_DEBUG = true
6+
AQ_RS16 = true
7+
AQ_PDA = true
8+
9+
410
# make EXFLAGS="-D BETA_PDA_AUTOLABEL" // Add compile flags
511
#
12+
613
# define the C compiler to use
714
CC = gcc
815

@@ -12,9 +19,7 @@ LIBS := -l pthread -l m
1219

1320
# debug of not
1421
#DBG = -g -O0 -fsanitize=address
15-
#DBG = -g -O0
16-
#DBG = -D ONETOUCH
17-
#DBG =
22+
1823

1924
# USe below to remove unused functions and global variables.
2025
#LFLAGS = -Wl,--gc-sections,--print-gc-sections
@@ -27,20 +32,37 @@ GCCFLAGS = -Wall -O3 $(EXFLAGS)
2732

2833
#CFLAGS = -Wall -g $(LIBS)
2934
#CFLAGS = -Wall -g $(LIBS) -std=gnu11
35+
#CFLAGS = $(GCCFLAGS) $(DBG) $(AQ_FLAGS) $(LIBS) -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC
3036
CFLAGS = $(GCCFLAGS) $(DBG) $(LIBS) -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC
3137

3238

3339
# Add inputs and outputs from these tool invocations to the build variables
3440

3541
# define the C source files
36-
SRCS = aqualinkd.c utils.c config.c aq_serial.c init_buttons.c aq_programmer.c net_services.c json_messages.c pda.c pda_menu.c \
37-
pda_aq_programmer.c devices_jandy.c onetouch.c onetouch_aq_programmer.c packetLogger.c devices_pentair.c color_lights.c mongoose.c
42+
#SRCS = aqualinkd.c utils.c config.c aq_serial.c init_buttons.c aq_programmer.c net_services.c json_messages.c pda.c pda_menu.c \
43+
# pda_aq_programmer.c devices_jandy.c onetouch.c onetouch_aq_programmer.c packetLogger.c devices_pentair.c color_lights.c mongoose.c
44+
45+
SRCS = aqualinkd.c utils.c config.c aq_serial.c init_buttons.c aq_programmer.c net_services.c json_messages.c \
46+
devices_jandy.c onetouch.c onetouch_aq_programmer.c packetLogger.c devices_pentair.c color_lights.c mongoose.c
3847
DBG_SRC = timespec_subtract.c
3948

49+
ifeq ($(AQ_PDA), true)
50+
SRCS := $(SRCS) pda.c pda_menu.c pda_aq_programmer.c
51+
CFLAGS := $(CFLAGS) -D AQ_PDA
52+
endif
53+
54+
ifeq ($(AQ_RS16), true)
55+
CFLAGS := $(CFLAGS) -D AQ_RS16
56+
endif
57+
58+
ifeq ($(AQ_DEBUG), true)
59+
DEBUG=true
60+
endif
61+
4062
# If run with `make DEBUG=true` add debug files and pass parameter for compile
4163
ifeq ($(DEBUG), true)
4264
SRCS := $(SRCS) $(DBG_SRC)
43-
CFLAGS := -g -O0 $(CFLAGS) -D AQ_DEBUG
65+
CFLAGS := -g -O0 $(CFLAGS) -D AQ_DEBUG
4466
endif
4567

4668
SL_SRC = serial_logger.c aq_serial.c utils.c packetLogger.c

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,16 @@ Designed to mimic AqualinkRS6 All Button keypad and (like the keypad) is used to
7272
* http://aqualink.ip/simulator.html <- (RS8 All Button Control Panel simulator)
7373
* http://aqualink.ip/debug.html <- (Turn on/off debug/serial debug & download logs)
7474
#<a name="release"></a>
75-
# Update in Release 2.0.1
75+
# Update in Release 2.1.0
7676
* Big update, lots of core changes, <b>please read wiki section https://github.com/sfeakes/AqualinkD/wiki#Version_2</b>
7777
* Full Variable Speed Pump support. (Can read,set & change RPM,GPM)
7878
* Full support for all Colored Lights (even if Jandy Control Panel doesn't support them)
7979
* Chemlink pH & ORP now supported. (along with posting MQTT information)
8080
* There are some configuration changes, make sure to read wiki (link above)
81+
* RS12 & RS16 Panels now supported. (RS16 will also need `extended_device_id` set for full AUXB5-B8 support)
82+
* New UI option(s) `turn_on_sensortiles = true` & `show_vsp_gpm=false` in `config.js`
83+
* Added compile flags. If you make your own aqualinkd and have no need for PDA or RS16 support, edit the Makefile.
84+
* Completley new API.
8185
# Update in Release 1.3.9a
8286
* Improved Debugging for serial.
8387
* Added panel Timeout mode support to UI and MQTT

0 commit comments

Comments
 (0)