Repository navigation
Add opt-in ST7789 CYD statistics, local settings and direct SMTP reports - #56
Draft
cheffe0815 wants to merge 2 commits into
Draft
cheffe0815 wants to merge 2 commits into
cheffe0815 wants to merge 2 commits into
Conversation
Include conservative classic ESP32 SHA guard, explicit mail probes, tests, trust anchors and hardware/build documentation. Document unresolved lifetime-counter persistence issue and unvalidated board configurations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dual-USB ST7789 boards can now show their own session/lifetime mining counters on two touch-controlled display pages and a local browser dashboard. A separate build profile adds local settings, direct daily SMTP reports and warnings without requiring a permanently running computer.
The profile includes an isolated XPT2046 touch driver, coherent counter snapshots, accepted-share percentage, explicit password visibility for new inputs, secret-free settings export/import, and guarded local POST actions. SMTP uses verified implicit TLS/465, bounded retries and persisted delivery state; Gmail's cross-signed chain uses full CA path validation. It starts disabled and offers a no-email connection probe plus an explicit Testmail action.
The classic ESP32 SHA kernel uses conservative timing, startup known-answer tests, software verification of every candidate and bounded shared-SHA-memory locks. Mining briefly releases SHA resources for SMTP and safely resumes. Licenses and kernel provenance are included.
Build with
platformio run --project-conf platformio.mail-check.ini --environment cyd-mail-check. The standard upstream build configuration is unchanged; the new profile uses its own 4MB partition table. Seedocs/CYD_ADVANCED.mdfor pin assignments, setup, test commands and hardware limits.Validation: ESP32 build/image validation and app readback passed; native SMTP/scheduling/settings/SHA-lock tests, production statistics/cache tests and mocked browser checks passed. One classic ESP32 rev3.1 ST7789 board ran about 7h13m at 873kH/s average with 99.14% accepted replies. Device TLS/SMTP greeting passed after the CA-path correction, and the owner confirmed receiving a real Gmail test message.
Known issue: after a controlled restart, lifetime totals fell below the previous live observation by about 379 seconds and 46 accepted shares. Its cause remains unresolved. Please review this as an experimental profile; it does not claim to fix that persistence issue. Additional boards, Windows compilation, full factory installation and multi-day automatic delivery remain unvalidated. Other upstream board environments have not been regression-tested on hardware.
No private configuration, flash backups, credentials or raw device logs are included. This contribution was developed with AI assistance and validated as described above.