Merge pull request #15 from ManuelW77/main

set to main state
This commit is contained in:
Manuel Weiser 2025-03-03 17:10:35 +01:00 committed by GitHub
commit 83f2f0834d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15299 additions and 2 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -86,7 +86,7 @@ function populateVendorDropdown(data, selectedSmId = null) {
});
// Nach der Schleife: Formatierung der Gesamtlänge
console.log("Total Lenght: ", totalLength);
console.log("Total Length: ", totalLength);
const formattedLength = totalLength > 1000
? (totalLength / 1000).toFixed(2) + " km"
: totalLength.toFixed(2) + " m";

View File

@ -603,7 +603,6 @@ void mqtt_loop(void * parameter) {
bool setupMqtt() {
// Wenn Bambu Daten vorhanden
bool success = loadBambuCredentials();
vTaskDelay(100 / portTICK_PERIOD_MS);
if (!success) {
Serial.println("Failed to load Bambu credentials");
@ -667,6 +666,7 @@ bool setupMqtt() {
void bambu_restart() {
if (BambuMqttTask) {
vTaskDelete(BambuMqttTask);
delay(10);
}
setupMqtt();
}