Compare commits

..

7 Commits

Author SHA1 Message Date
e74f6076b2 docs: update changelog and header for version v2.0.2-beta6
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m8s
2025-09-02 18:24:37 +02:00
2ee60ce430 docs: update platformio.ini for beta version v2.0.2-beta6 2025-09-02 18:24:37 +02:00
5db80d3670 fix: set scale tare request to true in setup function 2025-09-02 18:24:32 +02:00
2b195ed9ea fix: correct assignment operator in scale tare request handling 2025-09-02 18:23:36 +02:00
45a623cff6 docs: update changelog and header for version v2.0.2-beta5
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m40s
2025-09-02 18:15:19 +02:00
b4a06d0f2a docs: update platformio.ini for beta version v2.0.2-beta5 2025-09-02 18:15:19 +02:00
85cff3923c fix: correct tare scale request handling in tareScale function 2025-09-02 18:15:13 +02:00
5 changed files with 55 additions and 3 deletions

View File

@@ -1,5 +1,55 @@
# Changelog
## [2.0.2-beta6] - 2025-09-02
### Added
- add updateOctoSpoolId for OctoPrint integration and change autoSetToBambuSpoolId type to uint16_t
### Changed
- update platformio.ini for beta version v2.0.2-beta6
- update changelog and header for version v2.0.2-beta5
- update platformio.ini for beta version v2.0.2-beta5
- update changelog and header for version v2.0.2-beta4
- update platformio.ini for beta version v2.0.2-beta4
- update changelog and header for version v2.0.2-beta3
- update platformio.ini for beta version v2.0.2-beta3
- update changelog and header for version v2.0.2-beta2
- update platformio.ini for beta version v2.0.2-beta2
- update changelog and header for version v2.0.2-beta1
- update platformio.ini for beta version v2.0.2-beta1
### Fixed
- set scale tare request to true in setup function
- correct assignment operator in scale tare request handling
- correct tare scale request handling in tareScale function
- reset weight filter after tare scale operation
- correct tare scale function to set scaleTareRequest flag
- reset weight counter logic and update spool ID in loop function
- reduce delay in start_scale function and reset weight after tare
## [2.0.2-beta5] - 2025-09-02
### Added
- add updateOctoSpoolId for OctoPrint integration and change autoSetToBambuSpoolId type to uint16_t
### Changed
- update platformio.ini for beta version v2.0.2-beta5
- update changelog and header for version v2.0.2-beta4
- update platformio.ini for beta version v2.0.2-beta4
- update changelog and header for version v2.0.2-beta3
- update platformio.ini for beta version v2.0.2-beta3
- update changelog and header for version v2.0.2-beta2
- update platformio.ini for beta version v2.0.2-beta2
- update changelog and header for version v2.0.2-beta1
- update platformio.ini for beta version v2.0.2-beta1
### Fixed
- correct tare scale request handling in tareScale function
- reset weight filter after tare scale operation
- correct tare scale function to set scaleTareRequest flag
- reset weight counter logic and update spool ID in loop function
- reduce delay in start_scale function and reset weight after tare
## [2.0.2-beta4] - 2025-09-02
### Added
- add updateOctoSpoolId for OctoPrint integration and change autoSetToBambuSpoolId type to uint16_t

View File

@@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[common]
version = "2.0.2-beta4"
version = "2.0.2-beta6"
to_old_version = "1.5.10"
##

View File

@@ -59,6 +59,7 @@ void setup() {
// Scale
start_scale(touchSensorConnected);
scaleTareRequest = true;
// WDT initialisieren mit 10 Sekunden Timeout
bool panic = true; // Wenn true, löst ein WDT-Timeout einen System-Panik aus

View File

@@ -142,7 +142,6 @@ uint8_t tareScale() {
Serial.println("Tare scale");
scale.tare();
resetWeightFilter();
scaleTareRequest == true;
return 1;
}

View File

@@ -81,7 +81,9 @@ void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventTyp
else if (doc["type"] == "scale") {
uint8_t success = 0;
if (doc["payload"] == "tare") {
success = tareScale();
scaleTareRequest = true;
success = 1;
//success = tareScale();
}
if (doc["payload"] == "calibrate") {