100 Commits
Author SHA1 Message Date
ManuelW77 8f4c67eb46 docs: update platformio.ini for version v3.4.10 2026-10-03 11:55:06 +02:00
ManuelW cb3d3952b0 Merge pull request #30 from anderl1969/fix/main-loop-indentation
style: fix indentation in main loop
2026-10-03 11:54:16 +02:00
ManuelW77 a04cc37190 docs: update platformio.ini for version v3.4.9 2026-09-20 13:44:05 +02:00
ManuelW 7e6854cd8a Merge pull request #28 from Fire-Devils/feature/wifi-txpower-setting
Make WiFi TX power configurable, document ESP32-S3 pins
2026-09-20 12:46:54 +02:00
ManuelW77andClaude Opus 5 a5ba8a901a Make WiFi TX power configurable, document ESP32-S3 pins
The transmit power was hardcoded to 19.5 dBm. Some setups need a lower
value (device right next to the AP, weak 3.3V rail), so it is now a user
setting instead of a per-chip constant.

- wlan.cpp: load/save/apply TX power (0.1 dBm steps, NVS key wifi_txpwr,
  default 195), re-applied on GOT_IP so it survives a reconnect
- website.cpp: /api/wifi-power GET/POST with validation
- setup.html: "WiFi Settings" card
- README.md/README.de.md: pin table gets an ESP32-S3 column plus a warning
  that GPIO19/20 are the native USB data lines
- config.cpp: same warning next to the HX711 pin definitions

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-20 12:42:13 +02:00
ManuelW b8cfa1ce98 Merge pull request #27 from KollegeChris/main
Optimizations for ESP32S3
2026-09-20 12:40:37 +02:00
ManuelW 9a1d394bc8 Merge pull request #26 from anderl1969/doc/printfileslite
Doc/printfileslite
2026-08-27 13:47:02 +02:00
ManuelW77 5241969c57 docs: update platformio.ini for version v3.4.8 2026-08-21 16:45:42 +02:00
ManuelW77 80825c6cfc fix(net): unblock AsyncTCP during device registration, max TX power, roaming diagnostics
Three independent improvements to the WiFi/webserver stability:

1. /api/register called registerDevice() directly inside the AsyncWebServer
   body handler. That function does a blocking HTTPClient POST with a 5s
   timeout, freezing the AsyncTCP task and tearing down every in-flight HTTP
   and WebSocket connection. It now goes through the existing apiQueue /
   filamanApiTask machinery: the endpoint answers 202 immediately (or 503 if
   the queue is full, which would otherwise leave the UI waiting forever) and
   the outcome is pushed to the browser as a "registerResult" WebSocket
   message. setup.html waits for that message instead of the HTTP response.

2. TX power raised from 17dBm to the 19.5dBm maximum. The reduced setting was
   a compromise against heat, but at marginal signal levels it invites
   AP-side auth/assoc kicks (reason=2/4/9/202).

3. Disconnect/GOT_IP logging now includes BSSID, RSSI and channel, so a device
   bouncing between two APs (mesh/repeater with separate DHCP scopes) can be
   told apart from webserver-induced drops.

Both build environments verified.
2026-08-21 16:43:00 +02:00
ManuelW77andRaul Santamaria 337d7f8983 fix(nfc): pulse PN532 RSTPDN before begin()
Adafruit_PN532::begin() drives the reset line too briefly for some
modules to reliably leave powerdown (~1ms LOW/2ms HIGH internally),
which then makes getFirmwareVersion() return 0 right after begin() and
startNfc() report "Kann kein RFID Board finden". Add an explicit
50ms/200ms reset pulse before begin(), shared via pulsePn532Reset()
so startNfc() and the interface recovery path in ntag2xx_WriteNDEF()
don't duplicate the timing.

Adopts the fix from PR #24 (credit: rsantamaria01), refactored into a
shared helper per review feedback (duplicate pulse code flagged by the
automated Copilot review on that PR).

Co-Authored-By: Raul Santamaria <raulsantamariao@hotmail.com>
2026-08-21 16:32:07 +02:00
ManuelW77 6749022243 docs: update platformio.ini for version v3.4.7 2026-08-21 16:13:49 +02:00
ManuelW77 1da123a01f Revert "fix(nfc): pulse PN532 RSTPDN before begin()"
This reverts commit 27e16c3d1b.
2026-08-21 16:11:13 +02:00
ManuelW77 028fe85586 docs: update platformio.ini for version v3.4.6 2026-08-21 15:50:02 +02:00
ManuelW77andRaul Santamaria 27e16c3d1b fix(nfc): pulse PN532 RSTPDN before begin()
Adafruit_PN532::begin() drives the reset line too briefly for some
modules to reliably leave powerdown (~1ms LOW/2ms HIGH internally),
which then makes getFirmwareVersion() return 0 right after begin() and
startNfc() report "Kann kein RFID Board finden". Add an explicit
50ms/200ms reset pulse before begin(), shared via pulsePn532Reset()
so startNfc() and the interface recovery path in ntag2xx_WriteNDEF()
don't duplicate the timing.

Adopts the fix from PR #24 (credit: rsantamaria01), refactored into a
shared helper per review feedback (duplicate pulse code flagged by the
automated Copilot review on that PR).

Co-Authored-By: Raul Santamaria <raulsantamariao@hotmail.com>
2026-08-21 15:48:52 +02:00
ManuelW77 6f9c99edb6 fix(config): restore ESP32 Dev Board pin numbers, gate S3 pins behind CONFIG_IDF_TARGET_ESP32S3
PR #14 (0f43f22) unconditionally replaced the classic ESP32 Dev Board
pin numbers for PN532 (NFC), HX711 (scale) and TTP223 (touch) with the
ESP32-S3 values in the single shared src/config.cpp, even though the
esp32dev build environment (used for all standard-hardware releases)
still links against it unchanged. This caused nfc.begin() to talk to
the wrong physical pins on ESP32 Dev Board hardware, producing a
watchdog reset during NFC init and a subsequent bootloop.

Verified via objdump on both compiled config.cpp.o that esp32dev now
resolves to 32/33/16/17/25 and esp32-s3-devkitc-1 to 15/16/19/20/7.
2026-08-21 15:46:04 +02:00
ManuelW77 a7b97dc0c9 docs: update platformio.ini for version v3.4.5 2026-08-21 15:12:12 +02:00
ManuelW77 2bae0369fa docs: update platformio.ini for version v3.4.4 2026-08-20 12:43:04 +02:00
ManuelW77 1c3aae5f49 update: increment version to 3.4.3 in platformio.ini 2026-08-20 12:42:57 +02:00
ManuelW77 4054a96067 merge: sync devel with main
devel was 16 commits behind main and had diverged with the
esp32-s3-devkitc-1 board support (PR #14) that never made it back to
main. Merges main into devel so both stay on the same feature/fix
baseline; resolves the platformio.ini conflict by keeping devel's
shared [env] section (used by both esp32dev and esp32-s3-devkitc-1)
and carrying forward main's AsyncTCP watchdog fix
(-DCONFIG_ASYNC_TCP_USE_WDT=0).
2026-08-20 09:32:41 +02:00
ManuelW77 f6b6df55c8 docs: update platformio.ini for version v3.4.2 2026-08-12 10:18:20 +02:00
ManuelW77 f3426119e8 fix: update JSON handling to support spool_id and sm_id interchangeably 2026-08-12 10:14:35 +02:00
Manuel Weiser dd508e2e1e fix: update release flow 2026-08-09 16:04:09 +02:00
Manuel Weiser 0ab3db5f2d update version 2026-08-09 15:37:24 +02:00
Manuel Weiser f86d71f8b2 docs: update platformio.ini for beta version v3.4.0-beta1 2026-05-28 19:43:01 +02:00
Manuel Weiser b2ac1e9fcd Merge branch 'devel' 2026-05-28 19:42:53 +02:00
Manuel Weiser f2c1d44f5a chore: update version to 3.4.0 in platformio.ini 2026-05-28 19:42:15 +02:00
Manuel Weiser 3c9a0f17ba docs: update platformio.ini for beta version v3.3.2-beta1 2026-05-28 19:37:26 +02:00
Manuel Weiser 6a9acb9d27 feat: implement scan request handling with timeout and error reporting 2026-05-28 18:58:10 +02:00
Manuel Weiser 9b93d219f9 fix: skip fast-path detection for known spools when a scan request is active 2026-05-28 18:26:08 +02:00
Manuel Weiser f3f51cd6f8 fix: disable WiFiManager auto-reconnect to prevent connection storms 2026-05-28 17:48:42 +02:00
Manuel Weiser 9d3a3411fb feat: enhance RFID tag detection with NDEF support and improved error handling 2026-05-28 17:31:35 +02:00
Manuel Weiser 775700f90f feat: add tag data handling and scan request functionality 2026-05-28 17:04:24 +02:00
Manuel Weiser 9456e6ab91 feat: add support for extended-data tags with OpenSpool/FilaMan protocol 2026-05-28 16:28:13 +02:00
Manuel Weiser 30409a59e0 docs: update platformio.ini for version v3.3.2 2026-05-25 08:29:56 +02:00
Manuel Weiser 17f86a0094 feat: add package-lock.json and update WiFi settings for improved stability 2026-05-25 08:29:26 +02:00
ManuelW 0d38728072 Merge pull request #14 from KollegeChris/esp32-s3
Added configuration for esp32-s3
2026-05-19 11:09:07 +02:00
ManuelW eb1c032444 Merge pull request #12 from anderl1969/feature/hw-detection
Documentation for NFC-only mode
2026-04-06 16:21:04 +02:00
Manuel Weiser 4a377b25e0 fix: update version to 3.3.1 in platformio.ini 2026-03-29 19:51:37 +02:00
ManuelW 075459b890 Merge pull request #10 from anderl1969/feature/hw-detection
Feature/hw detection
2026-03-29 18:25:27 +02:00
Manuel Weiser 6de2e8728c docs: update version in platformio.ini to 3.3.0 2026-03-29 10:55:53 +02:00
Manuel Weiser 60f08ea640 docs: update platformio.ini to version 3.2.8 and adjust old version reference 2026-03-29 10:48:04 +02:00
Manuel Weiser 7fdfc79a2a docs: update platformio.ini for beta version v3.2.7-beta1 2026-03-29 10:45:39 +02:00
Manuel Weiser 894d1d25dd Merge branch 'devel' 2026-03-29 10:45:29 +02:00
Manuel Weiser a3dd4b164e feat: implement template processor for dynamic HTML variable replacement and optimize static asset serving with caching 2026-03-29 10:44:22 +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
Manuel Weiser 20ab21dae5 docs: update platformio.ini for version v3.2.7 2026-03-29 09:34:49 +02:00
ManuelW a14ab8fa55 Merge pull request #9 from paultbarrett/main
feat: add OLED sleep settings and management to save the display from burn-in and pinned espressif32 version
2026-03-29 09:30:34 +02:00
Manuel Weiser bc0d586c9e Merge branch 'main' into devel 2026-03-28 12:44:08 +01:00
Manuel Weiser ddf981b971 fix: rename rfid_uid to tag_uuid in sendWeight and sendRfidResult functions 2026-03-15 21:04:25 +01:00
Manuel Weiser 1b7a71b617 fix: rename tag_uuid to rfid_uid in sendWeight and sendRfidResult functions 2026-03-15 21:00:07 +01:00
Manuel Weiser 87a0403735 docs: update platformio.ini for version v3.2.6 2026-03-13 14:01:42 +01:00
Manuel Weiser 97a2ecca41 Merge branch 'devel' 2026-03-13 14:00:43 +01:00
Manuel Weiser fe768cf631 feat: enhance JSON optimization by converting spool_id to sm_id and improve write task handling 2026-03-13 13:51:21 +01:00
Manuel Weiser 60af915c9f docs: update platformio.ini for version v3.2.5 2026-03-09 19:25:41 +01: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 067807d1a6 docs: update platformio.ini for version v3.2.4 2026-03-09 17:08:28 +01:00
Manuel Weiser 04bf05cb05 Merge branch 'devel' 2026-03-09 17:06:41 +01:00
Manuel Weiser 045e450744 feat: add feedback display and clear lastSpoolId after setting location 2026-03-09 17:06:06 +01:00
Manuel Weiser 7b03b359ba feat: enhance tag detection with countdown display during write operation 2026-03-09 16:51:46 +01:00
Manuel Weiser a5d9902149 fix: update registration success message and change reboot to page reload 2026-03-09 16:25:44 +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 35e0167398 docs: update platformio.ini for beta version v3.2.3-beta1 2026-03-09 08:14:42 +01:00
Manuel Weiser 89f176b188 docs: update platformio.ini for version v3.2.3 2026-03-09 07:42:15 +01:00
Manuel Weiser b78f34c1d3 feat: enhance deployment process with SSH support for Gitea and remove FTP integration from GitHub release 2026-03-09 07:41:47 +01:00
Manuel Weiser f9d8fc7a61 docs: update platformio.ini for version v3.2.2 2026-03-08 20:18:35 +01:00
Manuel Weiser c77b9c8503 Merge branch 'devel' 2026-03-08 20:17:58 +01:00
Manuel Weiser 1096585b56 fix: ensure UID strings are zero-padded for consistent formatting in Bambu tag detection 2026-03-08 20:17:23 +01:00
Manuel Weiser 17ba353f17 docs: update platformio.ini for version v3.2.1 2026-02-21 20:41:05 +01:00
Manuel Weiser 01e36bd39e Merge branch 'devel' 2026-02-21 20:34: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 2593d048c2 Merge branch 'devel' 2026-02-21 12:29:43 +01:00
Manuel Weiser d916d06127 fix: update version and old version in platformio.ini 2026-02-21 12:28:17 +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 a3c2014a3f docs: update platformio.ini for version v3.0.9 2026-02-21 11:05:45 +01:00
Manuel Weiser 17318df651 docs: update README to remove reference to Openspool NFC-TAG format 2026-02-21 11:03:24 +01:00
Manuel Weiser f477e81754 docs: update README for clarity on FilaMan-System integration and features 2026-02-21 10:58:31 +01:00
Manuel Weiser 526b25ba1e Refactor upgrade, scale, and WiFi pages for improved UI and functionality
- Updated page titles and structure for clarity.
- Enhanced sidebar navigation and status indicators.
- Improved form styling and user feedback during updates.
- Added WebSocket handling for real-time status updates.
- Streamlined version fetching logic across pages.
2026-02-21 10:49:59 +01:00
Manuel Weiser 4a7d3318a2 docs: update platformio.ini for version v3.0.8 2026-02-20 17:40:31 +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 741a7d9262 docs: update platformio.ini for version v3.0.7 2026-02-20 16:13:03 +01:00
Manuel Weiser 8bad4fe256 Merge branch 'devel' 2026-02-20 16:12:35 +01:00
Manuel Weiser 185cb5b081 fix: update response handling in setupWebserver to use beginResponse method 2026-02-20 16:12:12 +01:00
Manuel Weiser 0d9132127a feat: add version.txt support and template placeholders for setup/waage 2026-02-20 16:06:45 +01:00
Manuel Weiser d39d481c65 fix: standardize navigation across all HTML pages 2026-02-20 16:03:55 +01:00
Manuel Weiser 1cae1e3ae1 feat: add WiFi link to navigation and display version in setup page 2026-02-20 15:49:32 +01:00
Manuel Weiser f616d37463 docs: update platformio.ini for version v3.0.6 2026-02-20 15:19:27 +01:00
Manuel Weiser 5a3f6dc951 Remove old setup and style files, add new style and upgrade pages, and implement WiFi configuration page. 2026-02-20 15:15:03 +01:00
Manuel Weiser 488b5ca6a2 fix: clean up .gitignore by removing unnecessary entries 2026-02-20 15:14:42 +01:00
Manuel Weiser 9813bdc94f docs: update platformio.ini for version v3.0.5 2026-02-20 12:42:53 +01:00
Manuel Weiser e06dcc398e docs: update platformio.ini for version v3.0.4 2026-02-20 12:19:48 +01:00
Manuel Weiser 251770398e feat: add FTP credentials to GitHub release workflow 2026-02-20 12:19:40 +01:00
Manuel Weiser 0239a75d04 docs: update platformio.ini for version v3.0.3 2026-02-20 12:02:07 +01:00
Manuel Weiser cb1fc577ab fix: use secrets for FTP credentials in GitHub release workflow 2026-02-20 11:57:47 +01:00
Manuel Weiser 4626e14441 docs: update platformio.ini for version v3.0.2 2026-02-20 11:51:02 +01:00
Manuel Weiser 078ef69d3b docs: update platformio.ini for version v3.0.1 2026-02-20 11:45:25 +01:00
Manuel Weiser e26974ac65 refactor: use variable for release notes in GitHub and Gitea release workflows 2026-02-20 11:45:18 +01:00
Manuel Weiser 004406a3f3 docs: update version in platformio.ini to 3.0.0 2026-02-20 11:35:39 +01:00