Commit Graph
75 Commits
Author SHA1 Message Date
Manuel Weiser 6a9acb9d27 feat: implement scan request handling with timeout and error reporting 2026-05-28 18:58:10 +02:00
anderl1969 4daa74bbfb feat: NFC-only mode based on working hw detection for hx711 2026-03-29 15:54:54 +02:00
anderl1969 f09e552e3d chore: cleanup progress bar during setup 2026-03-29 13:56:29 +02:00
Manuel Weiser 0f8d3d470d feat: enhance WiFi stability and performance with async TCP optimizations and heartbeat retry logic 2026-03-29 10:13:46 +02:00
Paul Barrett 96a5e184dd feat: add OLED sleep settings and management to save the display from burn-in 2026-03-29 12:34:32 +11:00
Manuel Weiser 4d318bf4ec fix: change weight parameter type to int16_t in oledShowWeight function 2026-03-09 19:25:01 +01:00
Manuel Weiser 9311162463 Add multilingual support with language selection and translation strings
- Introduced language management with English and German translations.
- Added language settings to NVS for persistent storage.
- Updated display functions to use translated strings for various messages.
- Implemented API endpoints for language retrieval and setting.
- Refactored existing text strings in the codebase to utilize the new translation system.
2026-03-09 19:18:59 +01:00
Manuel Weiser 1c19413970 feat: add documentation rules and project paths; implement display priority management in code 2026-03-09 16:18:41 +01:00
Manuel Weiser 01b8ced7e9 fix: reduce delay times for API tasks and NFC scanning to improve responsiveness 2026-02-21 20:33:43 +01:00
Manuel Weiser 5f9ad13ea9 feat: enhance RFID handling for Bambu tags and update API interactions 2026-02-21 20:04:05 +01:00
Manuel Weiser 29e8b09c5a fix: ensure weight is only sent for valid spool tags in loop 2026-02-21 16:55:40 +01:00
Manuel Weiser 0a4b3f1e1b fix: improve connection error handling and display logic in main loop 2026-02-21 12:25:41 +01:00
Manuel Weiser 9875e85e31 feat: enhance weight handling and display feedback in API and NFC modules 2026-02-20 17:39:49 +01:00
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