Compare commits

...

4 Commits

Author SHA1 Message Date
2e19bccfa9 docs: update changelog and header for version v1.5.3
All checks were successful
Release Workflow / detect-provider (push) Successful in 1m10s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m25s
2025-04-25 15:52:56 +02:00
859e89431e docs: update platformio.ini for version v1.5.3 2025-04-25 15:52:56 +02:00
6dc26ca51f fix: update spool weight conditionally based on NFC ID 2025-04-25 15:52:38 +02:00
0becae7ed6 Affiliate Links 2025-04-25 09:41:02 +02:00
5 changed files with 15 additions and 4 deletions

View File

@ -1,5 +1,14 @@
# Changelog # Changelog
## [1.5.3] - 2025-04-25
### Changed
- update platformio.ini for version v1.5.3
- Affiliate Links
### Fixed
- update spool weight conditionally based on NFC ID
## [1.5.2] - 2025-04-23 ## [1.5.2] - 2025-04-23
### Added ### Added
- implement multi-color filament display and styles for dropdown options - implement multi-color filament display and styles for dropdown options

View File

@ -54,7 +54,7 @@ Discord Server: [https://discord.gg/my7Gvaxj2v](https://discord.gg/my7Gvaxj2v)
## Hardware-Anforderungen ## Hardware-Anforderungen
### Komponenten ### Komponenten (Affiliate Links)
- **ESP32 Development Board:** Any ESP32 variant. - **ESP32 Development Board:** Any ESP32 variant.
[Amazon Link](https://amzn.to/3FHea6D) [Amazon Link](https://amzn.to/3FHea6D)
- **HX711 5kg Load Cell Amplifier:** For weight measurement. - **HX711 5kg Load Cell Amplifier:** For weight measurement.

View File

@ -58,7 +58,7 @@ Discord Server: [https://discord.gg/my7Gvaxj2v](https://discord.gg/my7Gvaxj2v)
## Hardware Requirements ## Hardware Requirements
### Components ### Components (Affiliate Links)
- **ESP32 Development Board:** Any ESP32 variant. - **ESP32 Development Board:** Any ESP32 variant.
[Amazon Link](https://amzn.to/3FHea6D) [Amazon Link](https://amzn.to/3FHea6D)
- **HX711 5kg Load Cell Amplifier:** For weight measurement. - **HX711 5kg Load Cell Amplifier:** For weight measurement.

View File

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

View File

@ -167,7 +167,6 @@ bool updateSpoolTagId(String uidString, const char* payload) {
// Update Payload erstellen // Update Payload erstellen
JsonDocument updateDoc; JsonDocument updateDoc;
updateDoc["extra"]["nfc_id"] = "\""+uidString+"\""; updateDoc["extra"]["nfc_id"] = "\""+uidString+"\"";
if (weight > 10) updateDoc["weight"] = weight;
String updatePayload; String updatePayload;
serializeJson(updateDoc, updatePayload); serializeJson(updateDoc, updatePayload);
@ -195,6 +194,9 @@ bool updateSpoolTagId(String uidString, const char* payload) {
updateDoc.clear(); updateDoc.clear();
// Update Spool weight
if (weight > 10) updateSpoolWeight(doc["sm_id"].as<String>(), weight);
return true; return true;
} }