1c0ddb52ba
fix: replace progress bar with message display for remaining weight in sendToApi function
2025-08-29 18:04:47 +02:00
17f03e9472
feat: add display delay for vendor, filament, and spool creation processes
2025-08-29 17:57:23 +02:00
aea11e0c06
fix: update vendor check to use shorthand key in payload
2025-08-29 17:31:25 +02:00
bd8f4606c6
feat: add progress bar updates for vendor and filament creation processes
2025-08-29 17:30:04 +02:00
ac91e71c14
refactor: optimize page limit detection and remove redundant verification code
2025-08-29 17:20:44 +02:00
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
2a0f999f3b
refactor: enhance NFC write operation diagnostics and improve error handling
2025-08-29 16:02:51 +02:00
c89adb6256
refactor: enhance NFC write operation handling and prevent tag operations during write
2025-08-29 15:52:16 +02:00
1f880fc8f1
refactor: optimize JSON payload structure and enhance NFC tag validation process
2025-08-29 15:33:06 +02:00
47bdf022ec
refactor: reorganize clearUserDataArea function for improved clarity and safety
2025-08-29 14:17:10 +02:00
bff6e72219
fix: reset NFC state on API send failure to allow retry
2025-08-29 14:10:49 +02:00
26e905050d
fix: update createdFilamentId reset value to 65535 for better task handling
2025-08-29 13:40:29 +02:00
046f770a52
fix: update createdVendorId reset value to 65535 for improved API handling
2025-08-29 13:29:07 +02:00
721dac1ead
fix: update spoolman ID reset values to 65535 for better API response detection
2025-08-29 13:19:17 +02:00
9231a303f3
refactor: streamline task creation in checkVendor and checkFilament functions
2025-08-29 13:09:17 +02:00
de39892f64
fix: update vendor and filament ID handling to use NULL and add delays for stability
2025-08-29 12:55:51 +02:00
d8af3f45e5
fix: correct color_hex key usage and comment out unused date fields in spool creation
2025-08-29 11:03:05 +02:00
96bb8f9c7c
fix: add delay to ensure proper setting of vendor and filament IDs after API state changes
2025-08-29 10:58:06 +02:00
965ea5da1e
fix: improve API state handling and vendor name formatting
2025-08-29 10:31:26 +02:00
95433b4842
refactor: improve task synchronization in vendor, filament, and spool creation functions
2025-08-29 10:02:48 +02:00
f1cdd3f41d
feat: enhance NDEF decoding with detailed validation and debugging output
2025-08-29 09:46:08 +02:00
a2816da654
feat: enhance NDEF decoding to validate structure and extract JSON payload
2025-08-29 09:06:37 +02:00
6bed3b086c
feat: add logging for decoded JSON data in NFC processing
2025-08-29 08:54:53 +02:00
f450d1efdf
fix: enhance filament creation logic to include dynamic comments based on payload
2025-08-29 08:23:40 +02:00
1f01af4da9
feat: implement filament and spool creation in Spoolman API
2025-08-28 15:17:42 +02:00
c5d24d5972
Merge branch 'main' into recyclingfabrik
2025-08-28 11:16:43 +02:00
d776956c5e
style: add numbering to update sections in upgrade.html
...
refactor: improve readability of checkSpoolmanInstance function
2025-08-28 11:10:10 +02:00
33ea062773
refactor: remove debug logging from checkSpoolmanInstance function
2025-08-28 11:04:06 +02:00
83dec4c876
feat: add logging for spoolman status in checkSpoolmanInstance function
2025-08-28 10:55:24 +02:00
99babe2b4a
fix: add logging for healthy spoolman instance check
2025-08-28 10:45:16 +02:00
1eb81fad5d
fix: adjust spacing in loop structure and enable tare function in scale loop
2025-08-28 10:29:21 +02:00
9d406e3428
Merge branch 'main' into recyclingfabrik
2025-08-27 17:54:32 +02:00
9e67af7343
fix: improve weight processing logic and add auto-send feature for Bambu spool ID
2025-08-27 17:21:29 +02:00
619979ab14
Enhance API to support weight updates after successful spool tag updates
2025-08-11 14:17:57 +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
d7ee52ba1f
Improves init - NFC reading now only starts after boot is finished
...
NFC tags that are on the scale during startup will only be read after the boot sequence is finished.
2025-08-08 15:39:10 +02:00
Jan Philipp Ecker
0a02912e4a
Improves NFC writing workaround and removes debug output
...
Improved version of the NFC writing workaround. The task is no longer suspended. There is now a suspend request and a suspend state variable that is used to communicate between the writing and the reading task. The reading is stopped gracefully to prevent resets during writing.
2025-08-08 15:33:08 +02:00
Jan Philipp Ecker
f133a1b321
Further improvements on NFC writing
...
Fixes some issues related to tag writing. Allos writing of tags that are already on the scale when pressing the write button, but introduces a confirmation dialog before doing so. Also first test to fix reset issue when trying to write tags.
2025-08-07 21:12:01 +02:00
876e9c62d8
Add JSON structure comments for filament and spool creation
2025-08-06 17:38:26 +02:00
765cb5319d
Add vendor and filament management to API; implement recycling factory handling in NFC
2025-08-06 17:27:11 +02:00
Jan Philipp Ecker
5b04c2eb80
Fixes types and some issues in the new graphics
...
Fixes further issues with the new graphics. Fixes some typos. Adds progress bar for upgrade process.
2025-08-05 19:43:05 +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
852a2f4c69
Replaces usage of String with const char* in heap debug function
...
Replaces String with const char* in printHeapDebugData to reduce heap fragmentation.
2025-08-02 22:53:38 +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
7c320a87fe
refactor: clean up unused variables and improve .gitignore entries
2025-07-28 09:51:46 +02:00
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