Skip to content

Commit 766ddbc

Browse files
committed
v2.6.1
1 parent 0b3e985 commit 766ddbc

28 files changed

Lines changed: 586 additions & 131 deletions

README.md

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ Designed to mimic AqualinkRS devices, used to fully configure the master control
8181
* http://aqualink.ip/aquapda_sim.html <- (PDA simulator)
8282
#<a name="release"></a>
8383
# ToDo (future release)
84-
* Update AqualinkD Management console to manage configuration
8584
* Create iAqualink Touch Simulator
86-
* Probably decoded enough protocols for AuqlinkD to self configure.
85+
* AuqlinkD to self configure. (Done for ID's, need to do for Panel type/size)
8786

8887

8988
<!--
@@ -106,37 +105,23 @@ Designed to mimic AqualinkRS devices, used to fully configure the master control
106105

107106
<!--
108107
NEED TO FIX FOR THIS RELEASE.
109-
***** FIX NET_SERVICES.C action_uri() spa and spa_mode get confused. check EVERY strncmp
110-
* DONE MQTT filter_pump/percent/set, maybe add max/min to pump config. / print protocol on startup
111-
* DONE Pump by name and not ID. clean up code
112-
* DONE look at using 0x00 for no exit on serial errors / startup
113-
* DONE look at virtual button support
114-
* vbuton will need the PDA on iAQT protocol working.
115-
* DONE change dimmer to % from steps. (will make HASIO & Homekit easier)
116-
* add config for homekit_f (panel in F homekin in C), F to F or C to C is fine.
117-
* deprecate (hide and default to yes) extended_device_id_programming
118-
* Move following to main and not config.c - show error is vbutton and no extended_device_id, vbutton w/ pump can be onetouch.
119108
* check panel version reported against config.
120-
# Updates in 2.4.1
121-
122-
# DONE install.sh change spa_mode to spa in config.js
123-
# DONE change hassio.c to use rpm speed/percent
124-
# pickup speed faster on iaqualinktouch after change
125-
109+
* pickup speed faster on iaqualinktouch after change
126110
* with iaqualink2 no need to poll iaqtouch devices as frequently
127111
* update documentation on how vbutton / vpump / pump_max & min / enable_iauqalink2
128112
* check rs serial adapter is active if light color mode 11 is used.
129113
130-
131114
* Check SWG messages like "#1 TruClear", see log in this post https://github.com/sfeakes/AqualinkD/discussions/388
132115
133-
* Finish off heat pump / chiller. Probably use a thermostat for both with heat going to heater SP can cool to chiller SP
134-
135-
* Hide passwords (bitmask)
136-
* Startup config validity checks
137-
* remove "extended_programming", or hide it.
116+
* Heat Pump / Chiller for OneTouch
138117
-->
139118

119+
# Updates in 2.6.1
120+
* Added External Sensors to Web UI & HomeKit.
121+
* Added Heat Pump / Chiller Thermostat to Web UI & HomeKit.
122+
* Fixed some bugs in Configuration Editor.
123+
* Link device/virtual/onetouch button with SWG BOOST. (Allows you to set VSP RPM when in Boost mode)
124+
140125
# Updates in 2.6.0
141126
* Added configuration editor in aqmanager. [Wiki - AQManager](https://github.com/sfeakes/AqualinkD/wiki#AQManager)
142127
* Can now self-configure on startup. set `device_id=0xFF`
@@ -458,7 +443,10 @@ https://github.com/sfeakes/AqualinkD/wiki
458443
#
459444

460445
# Aqualink Versions tested
461-
This was designed for Jandy Aqualink RS, so should work with AqualinkRS and iAqualink Combo control panels. It will work with Aqualink PDA/AquaPalm and NON Combo iAqualink; but with limitations.
446+
This was designed for Jandy Aqualink RS, so does work with AqualinkRS and iAqualink Combo control panels. It will work with Aqualink PDA/AquaPalm; but with limitations.
447+
448+
AqualinkD is known to work with Panel Versions from Rev H to the Latest Rev Yg
449+
<!--
462450
Below are verified versions, but should work with any AqualinkRS :-
463451
464452
@@ -476,7 +464,7 @@ Below are verified versions, but should work with any AqualinkRS :-
476464
477465
If you have tested a version not listed here, please let me know by opening an issue.
478466
#
479-
467+
-->
480468
# License
481469
## Non Commercial Project
482470
All non commercial projects can be run using our open source code under GPLv2 licensing. As long as your project remains in this category there is no charge.

docker/buildx.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ fi
5959

6060
# Login first Run as root not with sudo on my build machine.
6161
# cat ~/.docker.token | docker login --username sfeakes --password-stdin
62+
# any errors clean build env `docker buildx prune``
6263

6364
echo "Building Docker container for $IMAGE using branch $VERSION"
6465
docker buildx build --platform=linux/amd64,linux/arm64 \

release/aqualinkd-arm64

8.37 KB
Binary file not shown.

release/aqualinkd-armhf

4.41 KB
Binary file not shown.

release/aqualinkd.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ enable_scheduler = yes
119119
#event_check_pumpon_hour = 6
120120
#event_check_pumpoff_hour = 24
121121

122+
# This last one will link a button to SWG boost mode. When in boost mode, you usually have a problem that warrants running the pump faster.
123+
# So you can assign a virtual/one touch button to a particular pump RMP, and then turn it on with this option. (it will also turn it off when boost is finished)
124+
#event_booston_check_device = Fast Pump
125+
122126
# Set the RS485 adapter into low latency mode (of supported)
123127
ftdi_low_latency=YES
124128

release/serial_logger-arm64

40 Bytes
Binary file not shown.

release/serial_logger-armhf

68 Bytes
Binary file not shown.

source/allbutton.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,11 @@ void _processMessage(char *message, struct aqualinkdata *aq_data, bool reset)
515515
// A master firmware revision message.
516516
strcpy(aq_data->version, msg);
517517
rsm_get_revision(aq_data->revision, aq_data->version, strlen(aq_data->version));
518+
setPanelInformationFromPanelMsg(aq_data, msg, PANEL_CPU | PANEL_REV, ALLBUTTON);
519+
//setBoardCPURevision(aq_data, aq_data->version, strlen(aq_data->version), ALLB_LOG);
518520
//_gotREV = true;
519-
LOG(ALLB_LOG,LOG_NOTICE, "Control Panel version %s\n", aq_data->version);
520-
LOG(ALLB_LOG,LOG_NOTICE, "Control Panel revision %s\n", aq_data->revision);
521+
LOG(ALLB_LOG,LOG_DEBUG, "Control Panel version %s\n", aq_data->version);
522+
LOG(ALLB_LOG,LOG_DEBUG, "Control Panel revision %s\n", aq_data->revision);
521523
if (_initWithRS == false)
522524
{
523525
//LOG(ALLBUTTON,LOG_NOTICE, "Standard protocol initialization complete\n");
@@ -580,6 +582,11 @@ void _processMessage(char *message, struct aqualinkdata *aq_data, bool reset)
580582
else if ( (strncasecmp(msg, "BOOST POOL", 10) == 0) && (strcasestr(msg, "REMAINING") != NULL) ) {
581583
// Ignore messages if in programming mode. We get one of these turning off for some strange reason.
582584
if (in_programming_mode(aq_data) == false) {
585+
586+
if (aq_data->boost == false || boostInLastLoop == false) {
587+
event_happened_set_device_state(AQS_BOOST_ON, aq_data);
588+
}
589+
583590
snprintf(aq_data->boost_msg, 6, "%s", &msg[11]);
584591
aq_data->boost_duration = rsm_HHMM2min(aq_data->boost_msg);
585592
aq_data->boost = true;

0 commit comments

Comments
 (0)