Compare commits

...

6 Commits

4 changed files with 20 additions and 4 deletions

@ -1,5 +1,21 @@
# Changelog # Changelog
## [1.3.95] - 2025-02-24
### Changed
- update webpages for version v1.3.95
### Fixed
- bind autoSendToBambu variable to checkbox in spoolman.html
## [1.3.94] - 2025-02-24
### Changed
- update webpages for version v1.3.94
### Fixed
- correct payload type check in NFC write event handling
## [1.3.93] - 2025-02-24 ## [1.3.93] - 2025-02-24
### Added ### Added
- implement auto send feature for Bambu spool management and update related configurations - implement auto send feature for Bambu spool management and update related configurations

@ -125,7 +125,7 @@
<div class="input-group"> <div class="input-group">
If activated, FilaMan will automatically update the next filled tray with the last scanned and weighed spool. If activated, FilaMan will automatically update the next filled tray with the last scanned and weighed spool.
<label for="autoSend">Auto Send to Bambu:</label> <label for="autoSend">Auto Send to Bambu:</label>
<input type="checkbox" id="autoSend"> <input type="checkbox" id="autoSend" {{autoSendToBambu}}>
</div> </div>
<button onclick="saveBambuCredentials()">Save Bambu Credentials</button> <button onclick="saveBambuCredentials()">Save Bambu Credentials</button>

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html ; https://docs.platformio.org/page/projectconf.html
[common] [common]
version = "1.3.93" version = "1.3.95"
## ##
[env:esp32dev] [env:esp32dev]
platform = espressif32 platform = espressif32

@ -96,7 +96,7 @@ void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventTyp
} }
else if (doc["type"] == "writeNfcTag") { else if (doc["type"] == "writeNfcTag") {
if (doc["payload"].is<String>()) { if (doc["payload"].is<JsonObject>()) {
// Versuche NFC-Daten zu schreiben // Versuche NFC-Daten zu schreiben
String payloadString; String payloadString;
serializeJson(doc["payload"], payloadString); serializeJson(doc["payload"], payloadString);