Commit Graph
75 Commits
Author SHA1 Message Date
Manuel Weiser 185cb5b081 fix: update response handling in setupWebserver to use beginResponse method 2026-02-20 16:12:12 +01:00
Manuel Weiser 0d9132127a feat: add version.txt support and template placeholders for setup/waage 2026-02-20 16:06:45 +01:00
Manuel Weiser f29e6aeded Add RFID result handling: implement API for sending RFID write results and integrate with NFC task 2026-02-20 10:24:50 +01:00
Manuel Weiser 7897496481 Refactor JSON error handling in NFC write request: simplify error response and delegate request handling to NFC task. 2026-02-20 10:08:10 +01:00
Manuel Weiser ad145c7d7a Refactor WebSocket handling: add NFC data sending to clients and improve connection logging; adjust task priority for better scheduling 2026-02-19 17:16:07 +01:00
Manuel Weiser 13a0acf2ac Remove deprecated HTML files and scripts, refactor API to support asynchronous requests, and improve WebSocket handling for scale actions. 2026-02-19 17:00:21 +01:00
Manuel Weiser 823d1f8c7e Add setup page for device registration and configuration
- Created a new HTML file for device setup with a form for API URL and registration code.
- Implemented JavaScript for handling registration and displaying status messages.
- Updated upgrade and WiFi pages to include navigation to the new setup page.
- Refactored display functions to improve readability and consistency.
- Replaced occurrences of `oledShowMessage` with `oledDisplayText` for uniformity.
- Updated WebSocket handling in the upgrade and WiFi pages for better connection management.
- Adjusted delays in various functions to use `pdMS_TO_TICKS` for better timing accuracy.
- Removed unused routes and cleaned up the website code for improved maintainability.
2026-02-19 11:40:42 +01:00
Manuel Weiser 1d0b01ba6e Refactor API to FilaMan: Update API structure, remove Spoolman references, and implement new FilaMan functions for device registration, heartbeat, weight, and location updates. Adjust web server routes and configurations accordingly. Remove unused Bambu-related code and streamline NFC handling for FilaMan integration. 2026-02-19 10:57:40 +01:00
Manuel Weiser 6043835353 feat: add printer model selection and handling in Bambu integration 2026-02-11 15:30:44 +01:00
Manuel Weiser 2b195ed9ea fix: correct assignment operator in scale tare request handling 2025-09-02 18:23:36 +02:00
Manuel Weiser 85cff3923c fix: correct tare scale request handling in tareScale function 2025-09-02 18:15:13 +02:00
Manuel Weiser 1f01af4da9 feat: implement filament and spool creation in Spoolman API 2025-08-28 15:17:42 +02:00
Jan Philipp Ecker d815733550 Graphic rework of the NFC writing process
Introduces the new graphics for the NFC writing process. Also fixes some minor display bugs. Hides the service status icons during boot time. Fixes bugs in NFC write process where mutliple parallel API calls a created. Fixes a bug where spoolman is updated if a location tag is written (which is not required or correct).
2025-08-05 17:44:59 +02:00
Jan Philipp Ecker afef544c66 Reworks graphics of tag reading and some api fixes
Reworks the graphics of the NFC-Tag reading process of spool and location tags. Introduces progress bar for reading process. Also first re-work of the spoolman availability (not fixed completly yet). Also fixes an issue where the API request to spoolman and octoprint was sent in parallel. This now happens sequentially to reduce heap load.
2025-08-03 16:51:09 +02:00
Jan Philipp Ecker 6b6aec07b3 Remove unused parameter of sendNfcData()
Removes unused client parameter of the sendNfcData function.
2025-08-02 23:05:56 +02:00
Jan Philipp Ecker 4b81703e38 Reworks startup graphics and timings
Reworks the graphics during the startup. Introduces a progress bar to visualize how much of the boot is completed. Also changes the the optics of the bambu, spoolman and wifi icons. They are now always displayed but they will be striked out if not working and they will start blinking. Also removes some unnessesary waits.
2025-08-02 22:52:19 +02:00
Manuel Weiser 7c320a87fe refactor: clean up unused variables and improve .gitignore entries 2025-07-28 09:51:46 +02:00
ManuelW 73c3457f40 Merge branch 'main' into configuration_nvs_storage 2025-07-28 09:31:23 +02:00
Jan Philipp Ecker b583ef71ad Changes configuration storage of spoolman and bambu values
Change that moves configuration values of spoolman and bambu credentials to use NVS storage. Also fixes some typos and missing translation.
2025-07-27 17:33:09 +02:00
Jan Philipp Ecker d536181a73 Introduces new heap debugging feature and fixes some memory leaks in website feature
Introduces a new define HEAP_DEBUG_MESSAGE(location) that can be used to instrument the code to get heap information output on the Serial output. It can be enabled via the define ENABLE_HEAP_DEBUGGING. Also fixes some memory leaks in the website part of the project.
2025-07-26 22:14:58 +02:00
Manuel Weiser 7613effccf feat: add auto-tare functionality and update scale handling based on touch sensor connection 2025-03-30 16:01:17 +02:00
Jan Philipp Ecker 69f01d1e57 Renamed states of NFC state machine and introduced new state machine for spoolman API 2025-03-29 13:21:47 +01:00
Jan Philipp Ecker 99231786a5 Introducing enum for handling the NFC state to improve code readability 2025-03-29 11:45:38 +01:00
Manuel Weiser f44173824f feat: add functionality to remove Bambu credentials and update API handling 2025-03-27 18:01:15 +01:00
Manuel Weiser c78f36d21a feat: add rfid_bambu.html and update bambu connection handling 2025-03-27 10:35:10 +01:00
Manuel Weiser 2ae3df1aab fix: ensure valid URL format and remove trailing slash in setupWebserver 2025-03-23 11:03:57 +01:00
Manuel Weiser 33e4b371ed add OctoPrint integration with configurable fields and update functionality 2025-03-01 12:18:33 +01:00
Manuel Weiser 9b23ac5fd2 refactor: migrate from SPIFFS to LittleFS for file handling 2025-02-28 18:12:42 +01:00
Manuel Weiser b87d43c64e feat: füge Unterstützung für Spoolman-Einstellungen hinzu und aktualisiere die Benutzeroberfläche 2025-02-25 16:24:22 +01:00
Manuel Weiser a7b1721e1d feat: erweitere Bambu-Credentials um AutoSend-Zeit und aktualisiere die Benutzeroberfläche 2025-02-25 12:17:20 +01:00
Manuel Weiser e4825d2905 feat: erweitere Bambu-Credentials mit AutoSend-Wartezeit und aktualisiere die Benutzeroberfläche 2025-02-25 11:32:57 +01:00
Manuel Weiser 484c95523d feat: implement OTA update functionality with backup and restore for configurations 2025-02-25 10:57:49 +01:00
Manuel Weiser f1489e75cc fix: correct payload type check in NFC write event handling 2025-02-24 19:46:58 +01:00
Manuel Weiser d70b187bf9 feat: implement auto send feature for Bambu spool management and update related configurations 2025-02-24 19:14:51 +01:00
Manuel Weiser 6098c3b052 feat: improve UI for Spoolman and Bambu Lab printer credentials, enhancing layout and styling 2025-02-23 20:23:09 +01:00
Manuel Weiser 4b25b72b2e feat: implement enhanced update progress handling and WebSocket notifications 2025-02-22 19:50:12 +01:00
Manuel Weiser 5c59016f94 feat: improve update progress reporting and enhance WebSocket notifications 2025-02-22 18:49:45 +01:00
Manuel Weiser d2da501b94 feat: enhance update progress handling and add WebSocket closure notification 2025-02-22 18:19:21 +01:00
Manuel Weiser 4135073623 feat: implement WebSocket for update progress and enhance update response handling 2025-02-22 18:12:27 +01:00
Manuel Weiser 9eee89fac7 feat: implement backup and restore functionality for Bambu credentials and Spoolman URL 2025-02-22 17:58:20 +01:00
Manuel Weiser 8c5e7e26ac docs: update upgrade page message and improve progress display logic 2025-02-22 17:53:51 +01:00
Manuel Weiser 73e240e879 docs: update header title and improve SPIFFS update error handling 2025-02-22 17:31:28 +01:00
Manuel Weiser 9a59b91e88 workflow: update SPIFFS binary creation to exclude header 2025-02-22 16:47:27 +01:00
Manuel Weiser aaa5506d40 workflow: update SPIFFS binary magic byte and revert version to 1.3.51 2025-02-22 16:21:51 +01:00
Manuel Weiser 37d43b2d7d workflow: optimize firmware and SPIFFS update process, improve progress handling and logging 2025-02-22 14:04:34 +01:00
Manuel Weiser 698abbd669 workflow: update SPIFFS binary creation to include minimal header and adjust update validation logic 2025-02-22 12:21:33 +01:00
Manuel Weiser cad14b3bc2 docs: update header title to 'Filament Management Tool' and improve update response messages 2025-02-22 12:10:57 +01:00
Manuel Weiser 77b9eda110 fix: update SPIFFS binary creation and enhance NFC buffer size 2025-02-22 11:46:17 +01:00
Manuel Weiser 903b697912 fix: update SPIFFS binary header and enhance WebSocket error handling 2025-02-22 11:31:15 +01:00
Manuel Weiser b0b3d41c84 docs: add backup and restore functions for JSON configurations during OTA updates 2025-02-21 17:38:20 +01:00