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
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
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
6043835353
feat: add printer model selection and handling in Bambu integration
2026-02-11 15:30:44 +01:00
Manuel Weiser
74aaedd72d
fix typo
2025-10-15 16:03:07 +02:00
Anzarion
e1da8eb525
Fix: Add NULL checks to prevent crash without RFID module
...
- Added NULL checks before vTaskSuspend/vTaskResume in scale.cpp
- Prevents crash when calibrating without RFID module connected
- Allows scale to work as standalone device without RFID
2025-09-30 10:37:58 +02:00
Manuel Weiser
10caf06021
fix: add HTTP service to mDNS responder
2025-09-13 10:06:52 +02:00
Manuel Weiser
e604231139
fix: prevent weight display during NFC write operations
2025-09-03 18:45:24 +02:00
Manuel Weiser
666c929483
fix: update progress bar message from "Tare scale" to "Searching scale"
...
fix: Scale tare function after boot
2025-09-03 15:28:03 +02:00
Manuel Weiser
2c435e5c98
refactor: adjust auto tare counter threshold and reposition tare check in scale loop
2025-09-03 15:18:43 +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
98ec5b9846
refactor: disable auto tare and weight filter reset in scale loop
2025-09-02 18:47:02 +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
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
51335456e3
fix: reset weight filter after tare scale operation
2025-09-02 18:02:24 +02:00
Manuel Weiser
3a82175bb6
fix: correct tare scale function to set scaleTareRequest flag
2025-09-02 17:45:21 +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
cca0bd9dbe
fix: reduce delay in start_scale function and reset weight after tare
2025-09-01 14:03:08 +02:00
Manuel Weiser
66eef2242b
feat: add weight check and update spool weight in writeJsonToTag function
2025-09-01 13:39:41 +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
5cc58927a6
feat: implement retry mechanism and timeout handling for API requests
2025-08-30 16:47:18 +02:00
Manuel Weiser
afde3f5f81
fix: add timeout handling and error states for vendor and filament operations
2025-08-30 16:40:01 +02:00
Manuel Weiser
7f4b3b8d90
refactor: optimize weight stabilization parameters for improved responsiveness
2025-08-30 15:52:38 +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
8d82e221b5
feat: implement weight stabilization functions and improve tare handling
2025-08-30 14:55:42 +02:00
Manuel Weiser
602642c203
feat: add fast-path JSON reading for web interface display
2025-08-30 11:27:22 +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
7bf9868d79
feat: implement robust page reading with error recovery for NFC tags
2025-08-30 10:17:30 +02:00
Manuel Weiser
4d84169b29
feat: enhance NFC tag reading with robust error recovery and JSON optimization for fast-path detection
2025-08-30 10:09:22 +02:00
Manuel Weiser
79eacae225
feat: implement robust page reading and safe tag detection with error recovery
2025-08-30 09:27:57 +02:00
Manuel Weiser
a35f15eca5
fix: call scale.tare() in setup after starting scale
2025-08-30 08:25:52 +02:00
Manuel Weiser
7f6bce1699
fix: update createVendor function to use external_id as comment instead of static text
2025-08-29 18:56:20 +02:00
Manuel Weiser
b2c68d5aac
refactor: update createVendor and checkVendor functions to accept JsonDocument payload
2025-08-29 18:44:21 +02:00
Manuel Weiser
f0eced8585
fix: increase delay in start_scale function for improved stability
2025-08-29 18:30:58 +02:00
Manuel Weiser
1c0ddb52ba
fix: replace progress bar with message display for remaining weight in sendToApi function
2025-08-29 18:04:47 +02:00
Manuel Weiser
17f03e9472
feat: add display delay for vendor, filament, and spool creation processes
2025-08-29 17:57:23 +02:00
Manuel Weiser
aea11e0c06
fix: update vendor check to use shorthand key in payload
2025-08-29 17:31:25 +02:00
Manuel Weiser
bd8f4606c6
feat: add progress bar updates for vendor and filament creation processes
2025-08-29 17:30:04 +02:00
Manuel Weiser
ac91e71c14
refactor: optimize page limit detection and remove redundant verification code
2025-08-29 17:20:44 +02:00
Manuel Weiser
fef7e5aa4b
Refactor NFC interface handling and improve error diagnostics
...
- Removed unused function for getting current date in ISO8601 format.
- Updated JSON key names in filament and spool creation to use shorter identifiers.
- Enhanced NFC interface reset procedure with detailed logging and retry mechanisms.
- Improved stability checks after write operations to ensure NFC interface readiness.
- Added comprehensive error handling and diagnostics for NFC read/write operations.
- Streamlined the quick spool ID check to optimize performance and reliability.
2025-08-29 17:04:33 +02:00
Manuel Weiser
2a0f999f3b
refactor: enhance NFC write operation diagnostics and improve error handling
2025-08-29 16:02:51 +02:00
Manuel Weiser
c89adb6256
refactor: enhance NFC write operation handling and prevent tag operations during write
2025-08-29 15:52:16 +02:00
Manuel Weiser
1f880fc8f1
refactor: optimize JSON payload structure and enhance NFC tag validation process
2025-08-29 15:33:06 +02:00