Compare commits

..

196 Commits

Author SHA1 Message Date
5c2db22a90 docs: update changelog and header for version v1.5.11
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m2s
2025-08-27 17:46:13 +02:00
164c7b2af5 docs: update platformio.ini for version v1.5.11 2025-08-27 17:46:13 +02:00
cd1c93c485 docs: update changelog and header for version v1.5.10
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m5s
2025-08-27 17:40:41 +02:00
15219fa1e4 docs: update platformio.ini for version v1.5.10 2025-08-27 17:40:40 +02:00
206db69e6d Merge branch 'main' of https://gitlab.fire-devils.org/3D-Druck/Filaman 2025-08-27 17:30:12 +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
9e58b042c8 fix: improve weight processing logic and add auto-send feature for Bambu spool ID 2025-08-27 17:21:29 +02:00
55200d31cd Changed Amazon Link for PN532 2025-08-23 19:01:07 +02:00
65967ca047 Changed Amazon Link for PN532 2025-08-23 19:01:07 +02:00
86e5f7e48a docs: update changelog and header for version v1.5.9 2025-08-11 14:18:12 +02:00
7ccdde8489 docs: update platformio.ini for version v1.5.9 2025-08-11 14:18:12 +02:00
619979ab14 Enhance API to support weight updates after successful spool tag updates 2025-08-11 14:17:57 +02:00
174c48f734 docs: update changelog and header for version v1.5.8 2025-08-10 14:39:44 +02:00
fdeb6d5b61 docs: update platformio.ini for version v1.5.8 2025-08-10 14:39:44 +02:00
fb7dca38f0 Merge pull request #45 from janecker/nfc_write_improvements
Nfc write improvements
2025-08-10 14:38:11 +02:00
Jan Philipp Ecker
69ae5cab5f Adds a link to the spool in spoolman when reading a spool tag
Adds a link to the website that lets the user directly jump to the spool in spoolman that is currently scanned.
2025-08-08 18:14:26 +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
9a9ed175dd Merge pull request #44 from janecker/graphics_rework
Graphics rework
2025-08-06 08:27:24 +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
b94db80321 Fixes typos in upgrade page
Fixes names of binary files on the upgrade page.
2025-08-05 19:41:06 +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
7ba0c4f933 docs: update changelog and header for version v1.5.7 2025-07-28 09:51:55 +02:00
d0b793a300 docs: update platformio.ini for version v1.5.7 2025-07-28 09:51:55 +02:00
7c320a87fe refactor: clean up unused variables and improve .gitignore entries 2025-07-28 09:51:46 +02:00
0777b6371d docs: update changelog and header for version v1.5.6 2025-07-28 09:32:35 +02:00
fcdf91071c docs: update webpages for version v1.5.6 2025-07-28 09:32:35 +02:00
ffb1117150 docs: update platformio.ini for version v1.5.6 2025-07-28 09:32:30 +02:00
c317610229 Merge pull request #42 from janecker/configuration_nvs_storage
Changes configuration storage of spoolman and bambu values
2025-07-28 09:31:33 +02:00
73c3457f40 Merge branch 'main' into configuration_nvs_storage 2025-07-28 09:31:23 +02:00
cf62e12aa4 Merge pull request #41 from janecker/memory_leak_fixes
Memory leak fixes
2025-07-28 09:26:30 +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
b991f2ee27 Fixes compiler warnings in nfc
Replaces the depricated function call containsKey() with is<T>() of JsonDocument.
2025-07-26 22:52:10 +02:00
Jan Philipp Ecker
e2e0a23f0a Adds ENABLE_HEAP_DEBUGGING define as comment to the build flags
Adds the new ENABLE_HEAP_DEBUGGING define to the build falgs. The option is commented out, but it makes it easier to quickly enable it
2025-07-26 22:50:08 +02:00
Jan Philipp Ecker
537f452601 Adds data directory and further .vscode files to to .gitignore
Adds the whole data folder that is created during build of the project and further visual studio code related files to the .gitignore file.
2025-07-26 22:39:37 +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
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
e38220739d docs: update changelog and header for version v1.5.5 2025-07-22 17:36:45 +02:00
fc48d6e67c docs: update platformio.ini for version v1.5.5 2025-07-22 17:36:45 +02:00
aeb61ba462 Merge pull request #40 from janecker/location_bambu_fix
Fixes some issues with the new location tags
2025-07-22 17:35:02 +02:00
Jan Philipp Ecker
7f25f3e14f Fixes some issues with the new location tags
Fixes an issue where the location dropdown is not visible if the Bambu integration is active. Adds support for the "NFC-Tag" view on the webpage, it now also shows info about the location tags. Revers a change that was not supposed to go into main where the amount of data written to the spool tag is reduced to only the sm_id.
2025-07-22 10:47:47 +02:00
150a178038 docs: update changelog and header for version v1.5.4 2025-07-22 06:36:16 +02:00
8b43f34a86 docs: update platformio.ini for version v1.5.4 2025-07-22 06:36:16 +02:00
7a85ce6a04 Merge branch 'main' of github.com:ManuelW77/Filaman 2025-07-22 06:35:13 +02:00
68fa1e77a1 Merge pull request #39 from janecker/location_tags
Adds new feature to write and read location tags
2025-07-22 06:32:44 +02:00
9c06fe6725 Merge pull request #38 from janecker/scale_debouncing
Adds slight debouncing to the scale loop weight logic
2025-07-22 06:32:31 +02:00
1cf392c1cd fix: uncomment monitor_port configuration in platformio.ini 2025-07-22 06:31:51 +02:00
Jan Philipp Ecker
69d6ba4bcb Adds new feature to write and read location tags
Location tags can be written via the website. If a location tag is read after reading a spool tag, the location of the spool will be updated in spoolman to the location from the tag.
2025-07-21 21:03:55 +02:00
Jan Philipp Ecker
21ec4e0ff3 Adds slight debouncing to the scale loop weight logic
Adds slight debouncing to the scale loop to prevent jitter of the
weight displayed on the screen.
2025-06-19 10:08:15 +02:00
c2a09b21a0 add loadcell desc. 2025-05-02 16:44:57 +02:00
0937a9e9f0 docs: update changelog and header for version v1.5.3 2025-04-25 15:52:56 +02:00
818b8387c0 docs: update platformio.ini for version v1.5.3 2025-04-25 15:52:56 +02:00
3f2beb6f54 fix: update spool weight conditionally based on NFC ID 2025-04-25 15:52:38 +02:00
56248ff2cb Affiliate Links 2025-04-25 09:41:02 +02:00
6a4945666e docs: update changelog and header for version v1.5.2 2025-04-23 17:47:40 +02:00
97d1519489 docs: update platformio.ini for version v1.5.2 2025-04-23 17:47:40 +02:00
f608c4a19b feat: implement multi-color filament display and styles for dropdown options 2025-04-23 17:47:02 +02:00
aa2eb91d64 fix: add remaining weight logging for PUT requests and improve error reporting in sendToApi function 2025-04-23 14:51:31 +02:00
35d2445c6c fix: add remaining weight logging and display after successful spool update 2025-04-23 11:33:07 +02:00
537607ed40 fix: update weight field in update payload to only include values greater than 10 2025-04-23 11:08:32 +02:00
7e330dca1a fix: add weight field to update payload in updateSpoolTagId function 2025-04-23 11:07:30 +02:00
d943d15c0a fix: increase stack size for sendToApi task to improve stability 2025-04-15 16:38:16 +02:00
a345b76cd2 fix: adjust tare weight tolerance to ignore deviations of 2g 2025-03-31 10:59:54 +02:00
836e48bde2 fix: improve weight stability check before sending to API 2025-03-31 10:08:26 +02:00
a6a8c69aee docs: update changelog and header for version v1.5.1 2025-03-30 16:38:38 +02:00
ddb4cd8e53 chore: update version to 1.5.1 and improve OTA update handling with task management 2025-03-30 16:38:23 +02:00
d45313a3ff docs: update changelog and header for version v1.4.14 2025-03-30 16:01:45 +02:00
70350e19f8 docs: update platformio.ini for version v1.4.14 2025-03-30 16:01:45 +02:00
7613effccf feat: add auto-tare functionality and update scale handling based on touch sensor connection 2025-03-30 16:01:17 +02:00
7280d5be7f docs: update changelog and header for version v1.4.13 2025-03-30 12:59:57 +02:00
ada4a84942 docs: update platformio.ini for version v1.4.13 2025-03-30 12:59:57 +02:00
e32aa6ec51 fix: update touch sensor connection logic to correctly identify connection status 2025-03-30 12:59:51 +02:00
04a18469b5 docs: update changelog and header for version v1.4.12 2025-03-30 12:55:33 +02:00
1c4d5f3874 docs: update platformio.ini for version v1.4.12 2025-03-30 12:55:33 +02:00
a2eb57cd7a fix: add touch sensor connection check and update logic 2025-03-30 12:55:26 +02:00
1c619c5bcb docs: update README files to clarify PN532 DIP switch settings 2025-03-30 12:35:50 +02:00
2e05651f88 docs: update changelog and header for version v1.4.11 2025-03-30 12:21:57 +02:00
f1b803a3c1 docs: update platformio.ini for version v1.4.11 2025-03-30 12:21:57 +02:00
5c4ba9f0ba Merge branch 'main' of github.com:ManuelW77/Filaman 2025-03-30 12:21:04 +02:00
19d70301f5 docs: update changelog and header for version v1.4.10 2025-03-30 12:19:25 +02:00
4fa21d3c0e docs: update platformio.ini for version v1.4.10 2025-03-30 12:19:25 +02:00
f22a01127c fix: update TTP223 pin configuration and adjust touch sensor logic 2025-03-30 12:19:07 +02:00
92d377713d fix: add manual tare functionality for scale 2025-03-29 14:44:33 +01:00
8732c81bb9 Merge pull request #31 from janecker/nfc_rework
Introducing enum for handling the NFC state to improve code readability
2025-03-29 14:25:20 +01:00
e7bbf45a9f fix: add debounce handling for TTP223 touch sensor 2025-03-29 14:23:55 +01:00
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
8536b4f8fa docs: update changelog and header for version v1.4.9 2025-03-29 10:11:25 +01:00
c84c5fa734 docs: update platformio.ini for version v1.4.9 2025-03-29 10:11:25 +01:00
2a60e149b9 fix: enhance HTTP method handling in sendToApi function 2025-03-29 10:03:17 +01:00
7e486191b7 docs: update changelog and header for version v1.4.8 2025-03-29 07:58:12 +01:00
610479bc5a docs: update platformio.ini for version v1.4.8 2025-03-29 07:58:12 +01:00
b7fa53da7e Merge pull request #30 from janecker/main
Fix memory leak issue in HTTPClient
2025-03-29 07:55:45 +01:00
629b4276cf Merge branch 'testing' into main 2025-03-29 07:55:33 +01:00
cb15dae87e fix: improve HTTP client configuration and clear update documents after API calls 2025-03-29 07:52:49 +01:00
Jan Philipp Ecker
abed1c9806 Fixes memory leak in HTTPClient by disabling connection reuse 2025-03-28 22:40:50 +01:00
db1f33c2b6 fix: update reload logic after removing and saving Bambu credentials for better cache handling 2025-03-27 19:13:57 +01:00
174a58906c docs: update changelog and header for version v1.4.7 2025-03-27 18:54:33 +01:00
20cc9b196b docs: update platformio.ini for version v1.4.7 2025-03-27 18:54:33 +01:00
ff80b05502 Merge branch 'testing' 2025-03-27 18:54:15 +01:00
edfdef53f4 style: update remove button for Bambu credentials with red background 2025-03-27 18:07:33 +01:00
89a3fed7a9 feat: add forced cache refresh after removing and saving Bambu credentials 2025-03-27 18:03:40 +01:00
f44173824f feat: add functionality to remove Bambu credentials and update API handling 2025-03-27 18:01:15 +01:00
169d73bfc0 fix: handle Bambu connection state by introducing bambuDisabled flag 2025-03-27 11:18:04 +01:00
c78f36d21a feat: add rfid_bambu.html and update bambu connection handling 2025-03-27 10:35:10 +01:00
054bc43f65 Merge pull request #28 from tugsi/main
Fix rfid.js-Failure with X1-Series, if you wanna send a Spool to AMS
2025-03-26 11:54:41 +01:00
31c41576ee docs: update changelog and header for version v1.4.6 2025-03-26 11:52:46 +01:00
3a744bc1e6 docs: update platformio.ini for version v1.4.6 2025-03-26 11:52:46 +01:00
42f76fc20a fix: handle potential undefined value for tray_info_idx in handleSpoolIn function, by @tugsi 2025-03-26 11:51:58 +01:00
tugsi
124f326670 Fix rfid.js-Failure with X1-Series,
if you wanna send a Spool to AMS:
 - Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at handleSpoolIn (rfid.js:493:67)
    at HTMLButtonElement.onclick ((Index):1:1)
handleSpoolIn	@	rfid.js:493
onclick	@	(Index):1
2025-03-25 17:40:55 +01:00
af34ce45dd docs: update changelog and header for version v1.4.5 2025-03-25 12:11:56 +01:00
c0cb3ff5c9 docs: update platformio.ini for version v1.4.5 2025-03-25 12:11:56 +01:00
4c754d84ff Merge branch 'testing' 2025-03-25 12:08:08 +01:00
d2c85018f5 refactor: remove unused request_topic subscription and reduce MQTT task stack size 2025-03-25 12:05:34 +01:00
8dac49ea9e fix: increase MQTT buffer size and adjust task stack size 2025-03-25 12:02:54 +01:00
5365c0e1b9 Merge pull request #26 from tugsi/main
Fix BufferSize for larger JSONs from X-Series
2025-03-25 12:01:57 +01:00
tugsi
4abe9d6d33 Fix BufferSize for larger JSONs from X-Series 2025-03-24 12:17:28 +01:00
e5d0334714 refactor: rename report_topic to topic and update MQTT subscription logic, switched publish topic to request 2025-03-23 18:01:53 +01:00
16364cbd86 docs: update changelog and header for version v1.4.4 2025-03-23 16:50:29 +01:00
1b63ab668f docs: update platformio.ini for version v1.4.4 2025-03-23 16:50:29 +01:00
f67ef8e905 fix: add error handling for missing vendor IDs in filament data 2025-03-23 16:28:13 +01:00
a490b77860 fix: adjust weight threshold for tare check to allow negative values 2025-03-23 15:03:37 +01:00
52d063b619 docs: update changelog and header for version v1.4.3 2025-03-23 11:38:57 +01:00
d5c005d6f7 docs: update platformio.ini for version v1.4.3 2025-03-23 11:38:57 +01:00
68866f1632 docs: update changelog and header for version v1.4.2 2025-03-23 11:25:52 +01:00
a4200e469d docs: update platformio.ini for version v1.4.2 2025-03-23 11:25:52 +01:00
e5e14dfc99 fix: use unique client ID for MQTT connection to avoid conflicts 2025-03-23 11:24:46 +01:00
863d591a17 fix: reload page after firmware update completion 2025-03-23 11:15:38 +01:00
69675f3c06 fix: increase WiFi connection timeout from 5 to 10 seconds 2025-03-23 11:05:10 +01:00
2ae3df1aab fix: ensure valid URL format and remove trailing slash in setupWebserver 2025-03-23 11:03:57 +01:00
3910da9fb5 fix: add WiFi connection check and restart Bambu if not connected 2025-03-23 11:03:51 +01:00
26d53929ac increase stack size for BambuMqtt task 2025-03-23 10:41:28 +01:00
64e3461264 update Discord Link 2025-03-15 16:02:18 +01:00
bc04db91b8 update Discord Link 2025-03-15 15:57:46 +01:00
f500f8bd11 remove commented-out subscription topic in MQTT setup 2025-03-10 17:41:14 +01:00
84391faffd docs: update changelog and header for version v1.4.1 2025-03-10 17:34:09 +01:00
aae93de7dd docs: update platformio.ini for version v1.4.1 2025-03-10 17:34:09 +01:00
0f847a2731 refactor length calculation to convert total length to meters before formatting 2025-03-10 17:33:47 +01:00
aa7fc7e64b Merge pull request #16 from spitzbirne32/main
Usermod for M3 heat inserts and AliExpress parts
2025-03-06 15:19:28 +01:00
spitzbirne32
e0f5f48cc4 improved housing to show display better 2025-03-06 12:16:10 +01:00
spitzbirne32
0b79891f83 added new .step, now with correct individual parts 2025-03-06 12:14:39 +01:00
spitzbirne32
11c5ca3383 removed CAD, as they were all duplicates 2025-03-06 12:13:25 +01:00
spitzbirne32
e3c3b3f42d typo in AliE link 2025-03-04 01:59:47 +01:00
spitzbirne32
8db7765e7e added changelog 2025-03-04 01:57:50 +01:00
spitzbirne32
dc97740ddc Delete usermod/spitzbirne32/STL/README.md 2025-03-04 01:48:02 +01:00
spitzbirne32
ababe8b842 Add files via upload 2025-03-04 01:43:50 +01:00
spitzbirne32
62bcbb2ae8 added .stp files of modifications 2025-03-04 01:43:20 +01:00
spitzbirne32
62330a3fd8 Update README.md 2025-03-04 01:40:33 +01:00
spitzbirne32
4556730c6e added merged picture 2025-03-04 01:33:01 +01:00
spitzbirne32
c92a8b0957 moved pictures of parts into dedicated folders 2025-03-04 01:26:41 +01:00
spitzbirne32
b08da071c2 added pictures of components bought from AliE 2025-03-04 01:21:18 +01:00
spitzbirne32
9c949e74e8 Update README.md 2025-03-04 01:17:12 +01:00
spitzbirne32
17fcf765fd Add files via upload 2025-03-04 01:06:07 +01:00
spitzbirne32
95a03f92e2 Update README.md 2025-03-04 01:05:35 +01:00
spitzbirne32
d9e69d8c14 Update README.md 2025-03-04 00:54:43 +01:00
spitzbirne32
1ec09ebf3a added pictures for heat insert location 2025-03-04 00:50:42 +01:00
spitzbirne32
7ef0cc44d5 Delete usermod/spitzbirne32/STL/ScaleTop_Heatinsert_Location_usermod_spitzbirne32_.png 2025-03-04 00:50:22 +01:00
spitzbirne32
fe962b2bfa Delete usermod/spitzbirne32/STL/Housing_Heatinsert_Location_usermod_spitzbirne32_.png 2025-03-04 00:50:14 +01:00
spitzbirne32
aec07f3c6d added pictures showing heat insert location 2025-03-04 00:49:31 +01:00
spitzbirne32
b5cb5b17ea created folders 2025-03-04 00:26:37 +01:00
spitzbirne32
c3e7758920 Update README.md 2025-03-04 00:16:01 +01:00
spitzbirne32
66395028a6 Update README.md 2025-03-04 00:15:10 +01:00
spitzbirne32
64403b9599 Create README.md 2025-03-04 00:11:54 +01:00
spitzbirne32
ebf6688701 Update README.md 2025-03-04 00:09:49 +01:00
spitzbirne32
073a5f4539 Update README.md 2025-03-04 00:05:21 +01:00
spitzbirne32
69bd5c3eb2 Create README.md 2025-03-03 22:08:45 +01:00
a328fbc6a6 Merge pull request #15 from ManuelW77/main
set to main state
2025-03-03 17:10:35 +01:00
6f52cd1686 Merge pull request #14 from janecker/scale-calibration-rework
Reworks the scale calibration handling
2025-03-03 17:08:06 +01:00
c1122ad87d refactor: remove unnecessary delay in MQTT setup and add delay before restart 2025-03-03 16:58:24 +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
967ec35c6a fix: correct typo in console log for total length 2025-03-02 20:21:27 +01:00
f60113aa83 feat: add new 3D print file for Filaman scale 2025-03-02 08:06:59 +01:00
63a7398979 refactor: remove redundant scale calibration checks and enhance task management 2025-03-01 18:50:20 +01:00
40cb504251 refactor: enhance AMS data handling and streamline spool auto-setting logic 2025-03-01 18:44:35 +01:00
41a4f8af4a refactor: adjust stack size and improve scale calibration logic 2025-03-01 18:44:29 +01:00
e122224472 refactor: update labels and input types for better clarity and functionality 2025-03-01 18:44:17 +01:00
5d3a8d971f added Discord Server 2025-03-01 15:33:39 +01:00
e62e5e7062 update documentation for clarity and accuracy 2025-03-01 13:04:28 +01:00
726a60882d docs: update changelog and header for version v1.4.0 2025-03-01 12:46:18 +01:00
2918b4ca77 update NFC tag references to include NTAG213 and clarify storage capacity 2025-03-01 12:45:55 +01:00
955ba0f001 bump version to 1.4.0 2025-03-01 12:37:50 +01:00
8cf7dc0b77 add support for Spoolman Octoprint Plugin in README files 2025-03-01 12:33:26 +01:00
33e4b371ed add OctoPrint integration with configurable fields and update functionality 2025-03-01 12:18:33 +01:00
fd832d8808 add version comparison function and check for outdated versions before updates 2025-03-01 12:18:21 +01:00
c0e213a4ac remove unused version and protocol fields from JSON output; add error message for insufficient memory 2025-03-01 10:42:06 +01:00
bcc00f711b remove unused version and protocol fields from NFC data packet 2025-03-01 10:41:51 +01:00
78f336d5d7 sort vendors alphabetically in the dropdown list 2025-03-01 10:41:44 +01:00
ee7f8ff517 Merge pull request #10 from janecker/nfc-improvements
Improves NFC Tag handling
2025-03-01 10:03:46 +01:00
6 changed files with 220 additions and 11 deletions

1
.gitignore vendored
View File

@@ -32,6 +32,7 @@ test/README
data/*
!data/
!data/.gitkeep
# important
html/bambu_credentials.json
html/spoolman_url.json
_local/*

View File

@@ -1,5 +1,211 @@
# Changelog
## [1.5.11] - 2025-08-27
### Changed
- update platformio.ini for version v1.5.11
## [1.5.10] - 2025-08-27
### Added
- improve weight processing logic and add auto-send feature for Bambu spool ID
- improve weight processing logic and add auto-send feature for Bambu spool ID
- Adds a link to the spool in spoolman when reading a spool tag
- Fixes types and some issues in the new graphics
- Adds ENABLE_HEAP_DEBUGGING define as comment to the build flags
- Adds data directory and further .vscode files to to .gitignore
- Introduces new heap debugging feature and fixes some memory leaks in website feature
- Fixes some issues with the new location tags
- Adds new feature to write and read location tags
- Adds slight debouncing to the scale loop weight logic
- add loadcell desc.
- implement multi-color filament display and styles for dropdown options
- add remaining weight logging for PUT requests and improve error reporting in sendToApi function
- add remaining weight logging and display after successful spool update
- add weight field to update payload in updateSpoolTagId function
- add auto-tare functionality and update scale handling based on touch sensor connection
- add touch sensor connection check and update logic
- add manual tare functionality for scale
- add debounce handling for TTP223 touch sensor
- add TTP223 touch sensor support and wiring configuration
- Renamed states of NFC state machine and introduced new state machine for spoolman API
- add forced cache refresh after removing and saving Bambu credentials
- add functionality to remove Bambu credentials and update API handling
- add rfid_bambu.html and update bambu connection handling
- add error handling for missing vendor IDs in filament data
- add WiFi connection check and restart Bambu if not connected
- added new .step, now with correct individual parts
- added changelog
- Add files via upload
- added .stp files of modifications
- added merged picture
- added pictures of components bought from AliE
- Add files via upload
- added pictures for heat insert location
- added pictures showing heat insert location
- remove unnecessary delay in MQTT setup and add delay before restart
- add new 3D print file for Filaman scale
- added Discord Server
- add support for Spoolman Octoprint Plugin in README files
- add OctoPrint integration with configurable fields and update functionality
- add version comparison function and check for outdated versions before updates
- remove unused version and protocol fields from JSON output; add error message for insufficient memory
### Changed
- update platformio.ini for version v1.5.10
- Merge branch 'main' of https://gitlab.fire-devils.org/3D-Druck/Filaman
- Changed Amazon Link for PN532
- Changed Amazon Link for PN532
- update changelog and header for version v1.5.9
- update platformio.ini for version v1.5.9
- Enhance API to support weight updates after successful spool tag updates
- update changelog and header for version v1.5.8
- update platformio.ini for version v1.5.8
- Merge pull request #45 from janecker/nfc_write_improvements
- Introduces periodic Spoolman Healthcheck
- Improves init - NFC reading now only starts after boot is finished
- Further improvements on NFC writing
- Merge pull request #44 from janecker/graphics_rework
- Graphic rework of the NFC writing process
- Remove unused parameter of sendNfcData()
- Reworks startup graphics and timings
- update changelog and header for version v1.5.7
- update platformio.ini for version v1.5.7
- clean up unused variables and improve .gitignore entries
- update changelog and header for version v1.5.6
- update webpages for version v1.5.6
- update platformio.ini for version v1.5.6
- Merge pull request #42 from janecker/configuration_nvs_storage
- Merge branch 'main' into configuration_nvs_storage
- Changes configuration storage of spoolman and bambu values
- update changelog and header for version v1.5.5
- update platformio.ini for version v1.5.5
- update changelog and header for version v1.5.4
- update platformio.ini for version v1.5.4
- Merge branch 'main' of github.com:ManuelW77/Filaman
- Merge pull request #39 from janecker/location_tags
- Merge pull request #38 from janecker/scale_debouncing
- update changelog and header for version v1.5.3
- update platformio.ini for version v1.5.3
- Affiliate Links
- update changelog and header for version v1.5.2
- update platformio.ini for version v1.5.2
- update changelog and header for version v1.5.1
- update version to 1.5.1 and improve OTA update handling with task management
- update changelog and header for version v1.4.14
- update platformio.ini for version v1.4.14
- update changelog and header for version v1.4.13
- update platformio.ini for version v1.4.13
- update changelog and header for version v1.4.12
- update platformio.ini for version v1.4.12
- update README files to clarify PN532 DIP switch settings
- update changelog and header for version v1.4.11
- update platformio.ini for version v1.4.11
- Merge branch 'main' of github.com:ManuelW77/Filaman
- update changelog and header for version v1.4.10
- update platformio.ini for version v1.4.10
- Merge pull request #31 from janecker/nfc_rework
- Introducing enum for handling the NFC state to improve code readability
- update changelog and header for version v1.4.9
- update platformio.ini for version v1.4.9
- update changelog and header for version v1.4.8
- update platformio.ini for version v1.4.8
- Merge pull request #30 from janecker/main
- Merge branch 'testing' into main
- update changelog and header for version v1.4.7
- update platformio.ini for version v1.4.7
- Merge branch 'testing'
- update remove button for Bambu credentials with red background
- Merge pull request #28 from tugsi/main
- update changelog and header for version v1.4.6
- update platformio.ini for version v1.4.6
- update changelog and header for version v1.4.5
- update platformio.ini for version v1.4.5
- Merge branch 'testing'
- remove unused request_topic subscription and reduce MQTT task stack size
- Merge pull request #26 from tugsi/main
- rename report_topic to topic and update MQTT subscription logic, switched publish topic to request
- update changelog and header for version v1.4.4
- update platformio.ini for version v1.4.4
- update changelog and header for version v1.4.3
- update platformio.ini for version v1.4.3
- update changelog and header for version v1.4.2
- update platformio.ini for version v1.4.2
- increase stack size for BambuMqtt task
- update Discord Link
- update Discord Link
- remove commented-out subscription topic in MQTT setup
- update changelog and header for version v1.4.1
- update platformio.ini for version v1.4.1
- refactor length calculation to convert total length to meters before formatting
- Merge pull request #16 from spitzbirne32/main
- improved housing to show display better
- removed CAD, as they were all duplicates
- typo in AliE link
- Delete usermod/spitzbirne32/STL/README.md
- Update README.md
- moved pictures of parts into dedicated folders
- Update README.md
- Update README.md
- Update README.md
- Delete usermod/spitzbirne32/STL/ScaleTop_Heatinsert_Location_usermod_spitzbirne32_.png
- Delete usermod/spitzbirne32/STL/Housing_Heatinsert_Location_usermod_spitzbirne32_.png
- created folders
- Update README.md
- Update README.md
- Create README.md
- Update README.md
- Update README.md
- Create README.md
- Merge pull request #15 from ManuelW77/main
- Merge pull request #14 from janecker/scale-calibration-rework
- Reworks the scale calibration handling
- remove redundant scale calibration checks and enhance task management
- enhance AMS data handling and streamline spool auto-setting logic
- adjust stack size and improve scale calibration logic
- update labels and input types for better clarity and functionality
- update documentation for clarity and accuracy
- update changelog and header for version v1.4.0
- update NFC tag references to include NTAG213 and clarify storage capacity
- bump version to 1.4.0
- remove unused version and protocol fields from NFC data packet
- sort vendors alphabetically in the dropdown list
- Merge pull request #10 from janecker/nfc-improvements
### Fixed
- Fixes issue that scale not calibrated message was not shown
- Improves NFC writing workaround and removes debug output
- Fixes typos in upgrade page
- Reworks graphics of tag reading and some api fixes
- Replaces usage of String with const char* in heap debug function
- Merge pull request #41 from janecker/memory_leak_fixes
- Fixes compiler warnings in nfc
- Memory leak fixes in api and nfc, location tag fix
- Merge pull request #40 from janecker/location_bambu_fix
- uncomment monitor_port configuration in platformio.ini
- update spool weight conditionally based on NFC ID
- update weight field in update payload to only include values greater than 10
- increase stack size for sendToApi task to improve stability
- adjust tare weight tolerance to ignore deviations of 2g
- improve weight stability check before sending to API
- update touch sensor connection logic to correctly identify connection status
- update TTP223 pin configuration and adjust touch sensor logic
- enhance HTTP method handling in sendToApi function
- improve HTTP client configuration and clear update documents after API calls
- Fixes memory leak in HTTPClient by disabling connection reuse
- update reload logic after removing and saving Bambu credentials for better cache handling
- handle Bambu connection state by introducing bambuDisabled flag
- handle potential undefined value for tray_info_idx in handleSpoolIn function, by @tugsi
- Fix rfid.js-Failure with X1-Series, if you wanna send a Spool to AMS: - Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at handleSpoolIn (rfid.js:493:67) at HTMLButtonElement.onclick ((Index):1:1) handleSpoolIn @ rfid.js:493 onclick @ (Index):1
- increase MQTT buffer size and adjust task stack size
- Fix BufferSize for larger JSONs from X-Series
- adjust weight threshold for tare check to allow negative values
- use unique client ID for MQTT connection to avoid conflicts
- reload page after firmware update completion
- increase WiFi connection timeout from 5 to 10 seconds
- ensure valid URL format and remove trailing slash in setupWebserver
- correct typo in console log for total length
## [1.5.9] - 2025-08-11
### Changed
- update platformio.ini for version v1.5.9

View File

@@ -62,7 +62,7 @@ Discord Server: [https://discord.gg/my7Gvaxj2v](https://discord.gg/my7Gvaxj2v)
- **OLED 0.96 Zoll I2C white/yellow Display:** 128x64 SSD1306.
[Amazon Link](https://amzn.to/445aaa9)
- **PN532 NFC NXP RFID-Modul V3:** For NFC tag operations.
[Amazon Link](https://amzn.to/4iO6CO4)
[Amazon Link](https://amzn.eu/d/gy9vaBX)
- **NFC Tags NTAG213 NTAG215:** RFID Tag
[Amazon Link](https://amzn.to/3E071xO)
- **TTP223 Touch Sensor (optional):** For reTARE per Button/Touch

View File

@@ -66,7 +66,7 @@ Discord Server: [https://discord.gg/my7Gvaxj2v](https://discord.gg/my7Gvaxj2v)
- **OLED 0.96 Zoll I2C white/yellow Display:** 128x64 SSD1306.
[Amazon Link](https://amzn.to/445aaa9)
- **PN532 NFC NXP RFID-Modul V3:** For NFC tag operations.
[Amazon Link](https://amzn.to/4iO6CO4)
[Amazon Link](https://amzn.eu/d/gy9vaBX)
- **NFC Tags NTAG213 NTAG215:** RFID Tag
[Amazon Link](https://amzn.to/3E071xO)
- **TTP223 Touch Sensor (optional):** For reTARE per Button/Touch

View File

@@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[common]
version = "1.5.9"
version = "1.5.11"
to_old_version = "1.5.0"
##

View File

@@ -225,7 +225,8 @@ void loop() {
lastWeight = weight;
// Wenn ein Tag mit SM id erkannte wurde und der Waage Counter anspricht an SM Senden
if (activeSpoolId != "" && weigthCouterToApi > 3 && weightSend == 0 && nfcReaderState == NFC_READ_SUCCESS && tagProcessed == false && spoolmanApiState == API_IDLE) {
if (activeSpoolId != "" && weigthCouterToApi > 3 && weightSend == 0 && nfcReaderState == NFC_READ_SUCCESS && tagProcessed == false && spoolmanApiState == API_IDLE)
{
// set the current tag as processed to prevent it beeing processed again
tagProcessed = true;
@@ -233,6 +234,11 @@ void loop() {
{
weightSend = 1;
// Set Bambu spool ID for auto-send if enabled
if (bambuCredentials.autosend_enable)
{
autoSetToBambuSpoolId = activeSpoolId.toInt();
}
}
else
{
@@ -241,13 +247,9 @@ void loop() {
}
}
if(sendOctoUpdate && spoolmanApiState == API_IDLE){
autoSetToBambuSpoolId = activeSpoolId.toInt();
if(octoEnabled)
{
updateSpoolOcto(autoSetToBambuSpoolId);
}
if(octoEnabled && sendOctoUpdate && spoolmanApiState == API_IDLE)
{
updateSpoolOcto(autoSetToBambuSpoolId);
sendOctoUpdate = false;
}
}