Compare commits
11 Commits
v1.5.10
...
v1.5.11-be
Author | SHA1 | Date | |
---|---|---|---|
771b0a4839 | |||
c48003e1b2 | |||
83dec4c876 | |||
dca9ef8d08 | |||
513e02b867 | |||
99babe2b4a | |||
c17ab2c434 | |||
ec7386922e | |||
1eb81fad5d | |||
5c2db22a90 | |||
164c7b2af5 |
29
CHANGELOG.md
29
CHANGELOG.md
@@ -1,5 +1,34 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.5.11-beta3] - 2025-08-28
|
||||||
|
### Added
|
||||||
|
- add logging for spoolman status in checkSpoolmanInstance function
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- update platformio.ini for beta version v1.5.11-beta3
|
||||||
|
|
||||||
|
|
||||||
|
## [1.5.11-beta2] - 2025-08-28
|
||||||
|
### Added
|
||||||
|
- add logging for healthy spoolman instance check
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- update platformio.ini for beta version v1.5.11-beta2
|
||||||
|
|
||||||
|
|
||||||
|
## [1.5.11-beta1] - 2025-08-28
|
||||||
|
### Changed
|
||||||
|
- update platformio.ini for beta version v1.5.11-beta1
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- adjust spacing in loop structure and enable tare function in scale loop
|
||||||
|
|
||||||
|
|
||||||
|
## [1.5.11] - 2025-08-27
|
||||||
|
### Changed
|
||||||
|
- update platformio.ini for version v1.5.11
|
||||||
|
|
||||||
|
|
||||||
## [1.5.10] - 2025-08-27
|
## [1.5.10] - 2025-08-27
|
||||||
### Added
|
### Added
|
||||||
- improve weight processing logic and add auto-send feature for Bambu spool ID
|
- improve weight processing logic and add auto-send feature for Bambu spool ID
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.5.10"
|
version = "1.5.11-beta3"
|
||||||
to_old_version = "1.5.0"
|
to_old_version = "1.5.0"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@@ -685,6 +685,8 @@ bool checkSpoolmanInstance() {
|
|||||||
if (!error && doc["status"].is<String>()) {
|
if (!error && doc["status"].is<String>()) {
|
||||||
const char* status = doc["status"];
|
const char* status = doc["status"];
|
||||||
http.end();
|
http.end();
|
||||||
|
Serial.print("Spoolman status: ");
|
||||||
|
Serial.println(status);
|
||||||
|
|
||||||
if (!checkSpoolmanExtraFields()) {
|
if (!checkSpoolmanExtraFields()) {
|
||||||
Serial.println("Fehler beim Überprüfen der Extrafelder.");
|
Serial.println("Fehler beim Überprüfen der Extrafelder.");
|
||||||
@@ -700,6 +702,8 @@ bool checkSpoolmanInstance() {
|
|||||||
oledShowTopRow();
|
oledShowTopRow();
|
||||||
spoolmanConnected = true;
|
spoolmanConnected = true;
|
||||||
returnValue = strcmp(status, "healthy") == 0;
|
returnValue = strcmp(status, "healthy") == 0;
|
||||||
|
Serial.print("Spoolman instance is healthy: ");
|
||||||
|
Serial.println(returnValue);
|
||||||
}else{
|
}else{
|
||||||
spoolmanConnected = false;
|
spoolmanConnected = false;
|
||||||
}
|
}
|
||||||
|
@@ -171,7 +171,9 @@ void loop() {
|
|||||||
oledShowMessage("Scale not calibrated");
|
oledShowMessage("Scale not calibrated");
|
||||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}else{
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
// Ausgabe der Waage auf Display
|
// Ausgabe der Waage auf Display
|
||||||
if(pauseMainTask == 0)
|
if(pauseMainTask == 0)
|
||||||
{
|
{
|
||||||
|
@@ -48,6 +48,8 @@ void scale_loop(void * parameter) {
|
|||||||
Serial.println("Scale Loop started");
|
Serial.println("Scale Loop started");
|
||||||
Serial.println("++++++++++++++++++++++++++++++");
|
Serial.println("++++++++++++++++++++++++++++++");
|
||||||
|
|
||||||
|
scale.tare();
|
||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
if (scale.is_ready())
|
if (scale.is_ready())
|
||||||
{
|
{
|
||||||
@@ -120,7 +122,7 @@ void start_scale(bool touchSensorConnected) {
|
|||||||
if (scale.wait_ready_timeout(1000))
|
if (scale.wait_ready_timeout(1000))
|
||||||
{
|
{
|
||||||
scale.set_scale(calibrationValue); // this value is obtained by calibrating the scale with known weights; see the README for details
|
scale.set_scale(calibrationValue); // this value is obtained by calibrating the scale with known weights; see the README for details
|
||||||
scale.tare();
|
//scale.tare();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display Gewicht
|
// Display Gewicht
|
||||||
|
Reference in New Issue
Block a user