Version 0.4.5. Adjusted for newer generation thermferm controllers. default tip

Thu, 25 Apr 2024 13:16:48 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 25 Apr 2024 13:16:48 +0200
changeset 524
6fb367b13ffb
parent 523
632591d9825e

Version 0.4.5. Adjusted for newer generation thermferm controllers.

CMakeLists.txt file | annotate | diff | comparison | revisions
src/DetailFermenter.cpp file | annotate | diff | comparison | revisions
--- a/CMakeLists.txt	Sun Mar 10 11:03:39 2024 +0100
+++ b/CMakeLists.txt	Thu Apr 25 13:16:48 2024 +0200
@@ -9,7 +9,7 @@
 
 SET( bmsapp_VERSION_MAJOR 0 )
 SET( bmsapp_VERSION_MINOR 4 )
-SET( bmsapp_VERSION_PATCH 4 )
+SET( bmsapp_VERSION_PATCH 5 )
 
 # Compile flags
 
--- a/src/DetailFermenter.cpp	Sun Mar 10 11:03:39 2024 +0100
+++ b/src/DetailFermenter.cpp	Thu Apr 25 13:16:48 2024 +0200
@@ -342,7 +342,7 @@
 	    if (query.value("air_address").toString().length() == 36) {
 		ui->airThermo->show();
 		ui->airLabel->show();
-	    	if (query.value("air_state").toString() == "OK") {
+	    	if ((query.value("air_state").toString() == "OK") || (query.value("air_state").toString() == "YES")) {
 	    	    ui->airThermo->setValue(query.value("air_temperature").toDouble());
 	    	} else {
 		    ui->airThermo->setValue(NAN);
@@ -354,7 +354,7 @@
 	    if (query.value("beer_address").toString().length() == 36) {
 		ui->beerThermo->show();
 		ui->beerLabel->show();
-	    	if (query.value("beer_state").toString() == "OK") {
+	    	if ((query.value("beer_state").toString() == "OK") || (query.value("beer_state").toString() == "YES")) {
                     ui->beerThermo->setValue(query.value("beer_temperature").toDouble());
             	} else {
 		    ui->beerThermo->setValue(NAN);
@@ -366,7 +366,7 @@
 	    if (query.value("chiller_address").toString().length() == 36) {
 		ui->chillerThermo->show();
 		ui->chillerLabel->show();
-	    	if (query.value("chiller_state").toString() == "OK") {
+	    	if ((query.value("chiller_state").toString() == "OK") || (query.value("chiller_state").toString() == "YES")) {
 		    ui->chillerThermo->setValue(query.value("chiller_temperature").toDouble());
 	    	} else {
 		    ui->chillerThermo->setValue(NAN);

mercurial