Commit Graph
62 Commits
Author SHA1 Message Date
Manuel Weiser 86973c07ec Add connection error handling to display: show error messages for registration and API connection issues 2026-02-20 11:03:14 +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 33cae3f47e Remove Bambu integration: delete Bambu-related source files and references, including MQTT setup and credential management. Clean up configuration and main application logic to eliminate unused variables and functions related to Bambu printers. 2026-02-19 10:36:35 +01:00
Manuel Weiser 74aaedd72d fix typo 2025-10-15 16:03:07 +02:00
Manuel Weiser e604231139 fix: prevent weight display during NFC write operations 2025-09-03 18:45:24 +02:00
Manuel Weiser 043c2d4fa8 refactor: improve auto tare logic and reset conditions in scale handling 2025-09-03 15:06:31 +02:00
Manuel Weiser 5db80d3670 fix: set scale tare request to true in setup function 2025-09-02 18:24:32 +02:00
Manuel Weiser 0baa1d286e feat: add updateOctoSpoolId for OctoPrint integration and change autoSetToBambuSpoolId type to uint16_t 2025-09-02 17:36:34 +02:00
Manuel Weiser 1dba2b2f23 fix: reset weight counter logic and update spool ID in loop function 2025-09-02 17:15:27 +02:00
Manuel Weiser 87288e606b refactor: remove redundant tare calls in setup and start_scale functions 2025-09-01 13:33:12 +02:00
Manuel Weiser 6cccf3d603 feat: enhance weight processing with filtered display and API stability checks 2025-08-30 15:43:51 +02:00
Manuel Weiser 6502bb7185 feat: add handling for successful NFC tag writes to send weight to Spoolman without auto-sending to Bambu 2025-08-30 11:08:56 +02:00
Manuel Weiser a35f15eca5 fix: call scale.tare() in setup after starting scale 2025-08-30 08:25:52 +02:00
Manuel Weiser 1eb81fad5d fix: adjust spacing in loop structure and enable tare function in scale loop 2025-08-28 10:29:21 +02:00
Manuel Weiser 9e67af7343 fix: improve weight processing logic and add auto-send feature for Bambu spool ID 2025-08-27 17:21:29 +02:00
Jan Philipp Ecker 0e00fd8b91 Introduces periodic Spoolman Healthcheck
Introduces a spoolman healthcheck that is executed every 60 seconds. Also fixes a bug with the periodic wifi update.
2025-08-08 18:00:25 +02:00
Jan Philipp Ecker accb02ab80 Fixes issue that scale not calibrated message was not shown
There was no warning any more if the scale is not calibrated. This change fixes that.
2025-08-08 16:16:39 +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 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
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 faaffee391 Memory leak fixes in api and nfc, location tag fix
Fixes multiple potential memory leaks in API and NFC. Also fixes an issue in the new locaiton tag feature that could lead to multiple parallel API requests. This could cause memory leak issues but also result in wrong weights being registered for a spool.
2025-07-26 22:36:04 +02:00
Manuel Weiser a345b76cd2 fix: adjust tare weight tolerance to ignore deviations of 2g 2025-03-31 10:59:54 +02:00
Manuel Weiser 836e48bde2 fix: improve weight stability check before sending to API 2025-03-31 10:08:26 +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
Manuel Weiser e32aa6ec51 fix: update touch sensor connection logic to correctly identify connection status 2025-03-30 12:59:51 +02:00
Manuel Weiser a2eb57cd7a fix: add touch sensor connection check and update logic 2025-03-30 12:55:26 +02:00
Manuel Weiser 5c4ba9f0ba Merge branch 'main' of github.com:ManuelW77/Filaman 2025-03-30 12:21:04 +02:00
Manuel Weiser f22a01127c fix: update TTP223 pin configuration and adjust touch sensor logic 2025-03-30 12:19:07 +02:00
Manuel Weiser e7bbf45a9f fix: add debounce handling for TTP223 touch sensor 2025-03-29 14:23:55 +01:00
Manuel Weiser a8ce964add feat: add TTP223 touch sensor support and wiring configuration 2025-03-29 14:18:58 +01: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 169d73bfc0 fix: handle Bambu connection state by introducing bambuDisabled flag 2025-03-27 11:18:04 +01:00
Manuel Weiser a490b77860 fix: adjust weight threshold for tare check to allow negative values 2025-03-23 15:03:37 +01:00
Manuel Weiser 3910da9fb5 fix: add WiFi connection check and restart Bambu if not connected 2025-03-23 11:03:51 +01:00
Jan Philipp Ecker 1aeced76a2 Reworks the scale calibration handling
Fixes some issues in the scale handling. Prevents a wdg reset after
after scale calibration. Also makes sure that after calibration all
tasks are started again that have been suspsended before.
2025-03-03 16:50:46 +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 76100593cc refactor: entferne ungenutzte Bibliotheken und Debug-Ausgaben aus main.cpp 2025-02-27 15:50:04 +01:00
Manuel Weiser 46cd953b80 feat: füge regelmäßige WLAN-Verbindungsüberprüfung hinzu 2025-02-27 09:38:54 +01:00
Manuel Weiser faddda6201 feat: zeige Versionsnummer im OLED-Display an 2025-02-26 18:01:35 +01:00
Manuel Weiser 9c61b708aa fix: aktualisiere Bedingungen für die AMS-Datenaktualisierung und entferne unnötige Aufrufe 2025-02-25 14:52:27 +01:00
Manuel Weiser 8499613215 fix: update auto set logic to check RFID tag before setting Bambu spool 2025-02-25 10:57:36 +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 de67cdbff3 fix: enhance weight display logic for negative values 2025-02-24 12:28:18 +01:00