Skip to content

Commit

Permalink
correction temp max boost
Browse files Browse the repository at this point in the history
correction température boost
  • Loading branch information
xlyric committed Feb 10, 2025
1 parent 1e0df40 commit d2ef778
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ lib_deps =
; ESP32
[env:arduino-esp32dev]
platform = espressif32 @ ^6.9.0
board = esp32dev
board = wemos_d1_mini32
board_build.filesystem = spiffs
upload_speed = 921600
monitor_filters = esp32_exception_decoder, log2file
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef CONFIG
#define CONFIG

#define VERSION "Version 20250207"
#define VERSION "Version 20250210"
#define FS_RELEASE "20250207" // date de la release

constexpr size_t TEMPERATURE_PRECISION=11;
Expand Down
7 changes: 4 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,8 @@ void setup() {
logging.Set_log_init(End_Start);
logging.Set_log_init("",true);
logging.Set_log_init("\r\n");
programme_marche_forcee.temperature = programme.temperature;

programme_marche_forcee.temperature = config.maxtemp;
delay(1000);
}

Expand All @@ -723,7 +724,7 @@ bool alerte=false;
/////////////////////
void loop() {
client.loop();

#if !defined(ESP32) && !defined(ESP32ETH)
/// update mdns
MDNS.update();
Expand Down Expand Up @@ -1136,7 +1137,7 @@ bool boost(){
// programmaton de l'heure d'arrêt
strftime(programme_marche_forcee.heure_arret, 6, "%H:%M", localtime(&now));
// ajout de la température de consigne
programme_marche_forcee.temperature = programme.temperature;
programme_marche_forcee.temperature = config.maxtemp;
programme_marche_forcee.puissance = programme.puissance;
return true;
}

0 comments on commit d2ef778

Please sign in to comment.