2026-07-0800
This commit is contained in:
+5
-6
@@ -43,12 +43,12 @@ build_flags = ${env.build_flags}
|
||||
${secrets_hjk.build_flags}
|
||||
${secrets_mqtt.build_flags}
|
||||
-DHW5=1 ;Neue Hardware 5.03 2025-04
|
||||
;-DDISPAY64x128=1
|
||||
-DHOSTNAME=\"TEST-DISPLAY\"
|
||||
-DNAME=\"Test-Display\"
|
||||
-DDISPAY64x128=1
|
||||
-DHOSTNAME=\"WOHNZIMMER-DISPLAY\"
|
||||
-DNAME=\"DISPLAY1\"
|
||||
-DGRENZWERT=3.70
|
||||
-DMYIP=\"192.168.127.115\"
|
||||
;-DInnenTemp=\"hjk/Sensor_Wohnzimmer\"
|
||||
-DMYIP=\"192.168.127.110\"
|
||||
-DInnenTemp=\"zigbee2mqtt/Sensor_Wohnzimmer\"
|
||||
-DStation=\"hjk/WETTERSTATION-SULZFELD/env\"
|
||||
-DCO2Wert=\"hjk/devices/257923/telemetry/co2\"
|
||||
-DHELL=\"hjk/devices/DisplaySulzfeld/telemetry/Lux\"
|
||||
@@ -59,7 +59,6 @@ build_flags = ${env.build_flags}
|
||||
-DBME_KorrekturFeuchte=0.00
|
||||
-DAKKU_GREZWERT=2.95
|
||||
|
||||
|
||||
[env:marcel] ; Sulzfeld
|
||||
build_flags = ${env.build_flags}
|
||||
${secrets_marcel.build_flags}
|
||||
|
||||
+12
-13
@@ -995,11 +995,6 @@ void loop() {
|
||||
#ifdef DISPAY64x128
|
||||
ZeigeDatum(timeinfo,0,0);
|
||||
ZeigeZeit(timeinfo,55,8);
|
||||
/* display.setCursor(85,8);
|
||||
display.print(":");
|
||||
display.setCursor(90,8);
|
||||
display.printf("%02d",timeinfo.tm_sec);
|
||||
display.setFont(); */
|
||||
#else
|
||||
ZeigeZeit(timeinfo,1,8);
|
||||
#endif
|
||||
@@ -1015,7 +1010,7 @@ void loop() {
|
||||
|
||||
#ifndef CO2Wert
|
||||
if ((timeinfo.tm_sec % 30) == 0)
|
||||
{
|
||||
{ZeigeCO
|
||||
if (readCo2Flag == true) //eadCo2Flag
|
||||
{
|
||||
Display.Co2 = readCO2();
|
||||
@@ -1028,7 +1023,7 @@ void loop() {
|
||||
#endif
|
||||
|
||||
//Serial.printf("\t\t\tHelligkeit = %00d\n", Helligkeit);
|
||||
|
||||
#ifndef InnenTemp
|
||||
if (((timeinfo.tm_min % 2) == 0) && (timeinfo.tm_sec == 0))
|
||||
{
|
||||
Serial.println(" TEST ........");
|
||||
@@ -1049,13 +1044,17 @@ void loop() {
|
||||
}else{
|
||||
readHtuFlag = true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#ifdef DISPAY64x128
|
||||
ZeigeTemperatur(BME280Data.Temp, myGREEN, 0, 16);
|
||||
ZeigeInnenFeuchtigkeit(BME280Data.Feuchte);
|
||||
ZeigeCO(Co2Messwert,69, 16);
|
||||
ZeigeTemperatur(Aussentemp, myHimmelblau, 0, matrix_height-8);
|
||||
ZeigeAussenFeuchtigkeit(Luftfeuchtigkeit, 45, matrix_height-8);
|
||||
ZeigeLuftdruck(Pressure,70,matrix_height-8);
|
||||
ZeigeTemperatur(Display.TempInnen, myGREEN, 0, 16);
|
||||
ZeigeInnenFeuchtigkeit(Display.FeuchteInnen);
|
||||
ZeigeCO(Display.Co2,69, 16);
|
||||
if (Display.TempAussen < No_Val){
|
||||
ZeigeTemperatur(Display.TempAussen, myHimmelblau, 0, matrix_height-8);
|
||||
ZeigeAussenFeuchtigkeit(Display.FeuchteAussen, 45, matrix_height-8);
|
||||
ZeigeLuftdruck(Display.LuftdruckAussen,70,matrix_height-8);
|
||||
}
|
||||
#else
|
||||
switch (timeinfo.tm_sec)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user