Compare commits

..

4 Commits

Author SHA1 Message Date
100328b1d6 docs: update changelog and header for version v2.0.2-beta1
All checks were successful
Release Workflow / detect-provider (push) Successful in 4s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m52s
2025-09-02 17:15:34 +02:00
9ec5bca652 docs: update platformio.ini for beta version v2.0.2-beta1 2025-09-02 17:15:34 +02:00
1dba2b2f23 fix: reset weight counter logic and update spool ID in loop function 2025-09-02 17:15:27 +02:00
cca0bd9dbe fix: reduce delay in start_scale function and reset weight after tare 2025-09-01 14:03:08 +02:00
4 changed files with 14 additions and 4 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## [2.0.2-beta1] - 2025-09-02
### Changed
- update platformio.ini for beta version v2.0.2-beta1
### Fixed
- 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] - 2025-09-01
### Added
- add weight check and update spool weight in writeJsonToTag function

View File

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

View File

@@ -220,7 +220,6 @@ void loop() {
}
// reset weight counter after writing tag
// TBD: what exactly is the logic behind this?
if (currentMillis - lastWeightReadTime >= weightReadInterval && nfcReaderState != NFC_IDLE && nfcReaderState != NFC_READ_SUCCESS)
{
weigthCouterToApi = 0;
@@ -272,7 +271,7 @@ void loop() {
if(octoEnabled && sendOctoUpdate && spoolmanApiState == API_IDLE)
{
updateSpoolOcto(autoSetToBambuSpoolId);
updateSpoolOcto(activeSpoolId.toInt());
sendOctoUpdate = false;
}
}

View File

@@ -257,8 +257,10 @@ void start_scale(bool touchSensorConnected) {
// Display Gewicht
oledShowWeight(0);
vTaskDelay(1000 / portTICK_PERIOD_MS);
vTaskDelay(500 / portTICK_PERIOD_MS);
scale.tare();
vTaskDelay(500 / portTICK_PERIOD_MS);
weight = 0;
Serial.println("starte Scale Task");
BaseType_t result = xTaskCreatePinnedToCore(