Compare commits

..

No commits in common. "d4656bdcfe39fdad69b43a2c44ba6febf19ac247" and "79748da31cc4f12d6716251c8b3d53db81b42a5a" have entirely different histories.

1 changed files with 14 additions and 6 deletions

View File

@ -752,9 +752,13 @@ void publish_env_state()
mqtt_client.loop();
if (lcd_current_page == 4)
{
Serial.printf("roomtemp.txt=\"%.01fC\"",current_room_temp);
Serial.print("roomtemp.txt=\"");
Serial.print(current_room_temp);
Serial.print("C\"");
lcd_send_stop_bit();
Serial.printf("roomhumid.txt=\"%d%\"",current_room_humid);
Serial.print("roomhumid.txt=\"");
Serial.print(current_room_humid);
Serial.print("%\"");
lcd_send_stop_bit();
}
break;
@ -819,10 +823,14 @@ void lcd_refresh()
}
break;
case 4:
Serial.printf("roomtemp.txt=\"%.01fC\"",current_room_temp);
lcd_send_stop_bit();
Serial.printf("roomhumid.txt=\"%.01f%\"",current_room_humid);
lcd_send_stop_bit();
Serial.print("roomtemp.txt=\"");
Serial.print(current_room_temp);
Serial.print("C\"");
lcd_send_stop_bit();
Serial.print("roomhumid.txt=\"");
Serial.print(current_room_humid);
Serial.print("%\"");
lcd_send_stop_bit();
if (ac_mode != 2)
panel.writeStr("temp.txt", String(ac_temperature) + "C");
else