Fix for setpoint.

pull/42/head
shaun feakes 2018-09-22 19:26:56 -05:00
parent 09c75e7cee
commit 80d4dcc24b
3 changed files with 21 additions and 1 deletions

View File

@ -871,6 +871,16 @@ void *set_aqualink_pool_heater_temps( void *ptr )
return ptr;
}
if (aq_data->single_device == true ){
// Need to get pass this message 'TEMP1 MUST BE SET HIGHER THAN TEMP2'
// and get this message 'TEMP1 20<32>C ~*'
// Before going to numeric field.
waitForMessage(threadCtrl->aq_data, "MUST BE SET", 5);
send_cmd(KEY_LEFT, aq_data);
waitForMessage(threadCtrl->aq_data, name, 5);
//waitForMessage(threadCtrl->aq_data, name, 3);
}
//setAqualinkNumericField(aq_data, "POOL", val);
setAqualinkNumericField(aq_data, name, val);
@ -926,6 +936,16 @@ void *set_aqualink_spa_heater_temps( void *ptr )
cleanAndTerminateThread(threadCtrl);
return ptr;
}
if (aq_data->single_device == true ){
// Need to get pass this message 'TEMP2 MUST BE SET LOWER THAN TEMP1'
// and get this message 'TEMP1 20<32>C ~*'
// Before going to numeric field.
waitForMessage(threadCtrl->aq_data, "MUST BE SET", 5);
send_cmd(KEY_LEFT, aq_data);
waitForMessage(threadCtrl->aq_data, name, 5);
//waitForMessage(threadCtrl->aq_data, name, 3);
}
//setAqualinkNumericField(aq_data, "SPA", val);
setAqualinkNumericField(aq_data, name, val);

Binary file not shown.

View File

@ -1,4 +1,4 @@
#define AQUALINKD_NAME "Aqualink Daemon"
#define AQUALINKD_VERSION "1.2.2b"
#define AQUALINKD_VERSION "1.2.2c"