Compare commits
	
		
			2 commits
		
	
	
		
			79748da31c
			...
			d4656bdcfe
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| d4656bdcfe | |||
| 3cd06fc7d4 | 
					 1 changed files with 6 additions and 14 deletions
				
			
		| 
						 | 
					@ -752,13 +752,9 @@ void publish_env_state()
 | 
				
			||||||
    mqtt_client.loop();
 | 
					    mqtt_client.loop();
 | 
				
			||||||
    if (lcd_current_page == 4)
 | 
					    if (lcd_current_page == 4)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      Serial.print("roomtemp.txt=\"");
 | 
					      Serial.printf("roomtemp.txt=\"%.01fC\"",current_room_temp);
 | 
				
			||||||
      Serial.print(current_room_temp);
 | 
					 | 
				
			||||||
      Serial.print("C\"");
 | 
					 | 
				
			||||||
      lcd_send_stop_bit();
 | 
					      lcd_send_stop_bit();
 | 
				
			||||||
      Serial.print("roomhumid.txt=\"");
 | 
					      Serial.printf("roomhumid.txt=\"%d%\"",current_room_humid);
 | 
				
			||||||
      Serial.print(current_room_humid);
 | 
					 | 
				
			||||||
      Serial.print("%\"");
 | 
					 | 
				
			||||||
      lcd_send_stop_bit();
 | 
					      lcd_send_stop_bit();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    break;
 | 
					    break;
 | 
				
			||||||
| 
						 | 
					@ -823,13 +819,9 @@ void lcd_refresh()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    break;
 | 
					    break;
 | 
				
			||||||
  case 4:
 | 
					  case 4:
 | 
				
			||||||
    Serial.print("roomtemp.txt=\"");
 | 
					      Serial.printf("roomtemp.txt=\"%.01fC\"",current_room_temp);
 | 
				
			||||||
    Serial.print(current_room_temp);
 | 
					 | 
				
			||||||
    Serial.print("C\"");
 | 
					 | 
				
			||||||
      lcd_send_stop_bit();
 | 
					      lcd_send_stop_bit();
 | 
				
			||||||
    Serial.print("roomhumid.txt=\"");
 | 
					      Serial.printf("roomhumid.txt=\"%.01f%\"",current_room_humid);
 | 
				
			||||||
    Serial.print(current_room_humid);
 | 
					 | 
				
			||||||
    Serial.print("%\"");
 | 
					 | 
				
			||||||
      lcd_send_stop_bit();
 | 
					      lcd_send_stop_bit();
 | 
				
			||||||
    if (ac_mode != 2)
 | 
					    if (ac_mode != 2)
 | 
				
			||||||
      panel.writeStr("temp.txt", String(ac_temperature) + "C");
 | 
					      panel.writeStr("temp.txt", String(ac_temperature) + "C");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue