Version 1.3.5

pull/87/head
sfeakes 2019-08-11 12:05:31 -05:00
parent 303600f4df
commit 90b2c19d62
4 changed files with 13 additions and 6 deletions

View File

@ -63,6 +63,9 @@ Designed to mimic AqualinkRS6 All Button keypad, and just like the keypad you ca
* http://aqualink.ip/simple.html <- (Simple opion if you don't like the above)
* http://aqualink.ip/simulator.html <- (RS8 All Button Control Panel simulator)
#<a name="release"></a>
# Update in Release 1.3.5
* Fixed SWG bug showing off/0% every ~15 seconds (introduced in 1.3.3)
* PDA updates for freeze protect / SWG & general speed increase.
## Update in Release 1.3.4 (a)
* Logging changes.
* Fix issues in programming mode.

View File

@ -237,11 +237,13 @@ void processMessage(char *message)
service_msg_count = 0;
}
// If we have more than 20 messages without "SALT or AQUAPURE" assume SWG is off.
if (_aqualink_data.ar_swg_status == SWG_STATUS_ON && swg_msg_count++ > 40) {
printf("***************** Manually turned SWG off ************************\n");
_aqualink_data.ar_swg_status = SWG_STATUS_OFF;
swg_msg_count = 0;
// If we have more than 40 messages without "SALT or AQUAPURE" assume SWG is off.
if ( _config_parameters.read_all_devices == false ) {
if (_aqualink_data.ar_swg_status == SWG_STATUS_ON && swg_msg_count++ > 40) {
//printf("***************** Manually turned SWG off ************************\n");
_aqualink_data.ar_swg_status = SWG_STATUS_OFF;
swg_msg_count = 0;
}
}
// If we have more than 10 messages without "FREE PROTECT ACTIVATED" assume it's off.
@ -368,6 +370,7 @@ void processMessage(char *message)
if (_aqualink_data.ar_swg_status == SWG_STATUS_OFF) {_aqualink_data.ar_swg_status = SWG_STATUS_ON;}
swg_msg_count = 0;
//logMessage(LOG_DEBUG, "*** '%s' ***\n", msg);
//logMessage(LOG_DEBUG, "SWG set to %d due to message from control panel\n", _aqualink_data.swg_percent);
}
else if (strncasecmp(msg, MSG_SWG_PPM, MSG_SWG_PPM_LEN) == 0)
{
@ -1192,6 +1195,7 @@ void main_loop()
// Only read message from controller to SWG to set SWG Percent if we are not programming, as we might be changing this
_aqualink_data.swg_percent = (int)packet_buffer[4];
changed = true;
//logMessage(LOG_DEBUG, "SWG set to %d due to packet from control panel to SWG\n", _aqualink_data.swg_percent);
//logMessage(LOG_DEBUG, "Read SWG Percent %d from ID 0x%02hhx\n", _aqualink_data.swg_percent, SWG_DEV_ID);
}
}

Binary file not shown.

View File

@ -1,4 +1,4 @@
#define AQUALINKD_NAME "Aqualink Daemon"
#define AQUALINKD_VERSION "1.3.4a"
#define AQUALINKD_VERSION "1.3.5"