Commit Graph
46 Commits
Author SHA1 Message Date
Christoph Stoiber 502c1d6ab8 Restore wlan power 2026-09-18 13:05:00 +02:00
Christoph Stoiber 3e995faa8c Changed HX711 Pins 2026-09-18 12:06:50 +02:00
Christoph Stoiber 4b93362dd7 Improved for ESP32S3 2026-09-17 18:07:53 +02:00
anderl1969 bece16f012 feat: added boot text that informs about entering NFC mode w/o hx711 2026-03-29 17:04:57 +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
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 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 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
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 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 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 cca0bd9dbe fix: reduce delay in start_scale function and reset weight after tare 2025-09-01 14:03:08 +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 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 a35f15eca5 fix: call scale.tare() in setup after starting scale 2025-08-30 08:25:52 +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 17f03e9472 feat: add display delay for vendor, filament, and spool creation processes 2025-08-29 17:57:23 +02:00
Manuel Weiser de39892f64 fix: update vendor and filament ID handling to use NULL and add delays for stability 2025-08-29 12:55:51 +02:00
Manuel Weiser 95433b4842 refactor: improve task synchronization in vendor, filament, and spool creation functions 2025-08-29 10:02:48 +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
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 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 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
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 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
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 92d377713d fix: add manual tare functionality for scale 2025-03-29 14:44:33 +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 63a7398979 refactor: remove redundant scale calibration checks and enhance task management 2025-03-01 18:50:20 +01:00
Manuel Weiser 41a4f8af4a refactor: adjust stack size and improve scale calibration logic 2025-03-01 18:44:29 +01:00
Manuel Weiser a0b8639488 fix: update comment to clarify NVS reading process 2025-02-23 21:29:38 +01:00
Manuel Weiser 37717392d0 feat: implement scale calibration checks and update start_scale function to return calibration status 2025-02-23 16:44:43 +01:00
Manuel Weiser 0117302672 refactor: migrate calibration value storage from EEPROM to NVS 2025-02-21 18:04:05 +01:00
Manuel Weiser 240795a2d0 feat: update version to v1.2.0 and modify build scripts in platformio.ini; remove unused includes in scale.cpp and website.cpp 2025-02-17 11:49:39 +01:00
Manuel Weiser ec0d7d63de init 2025-02-12 21:10:25 +01:00