Add BM1368/BM1370 predictive efficiency telemetry and autonomous tuning#1704
Add BM1368/BM1370 predictive efficiency telemetry and autonomous tuning#17040xjc65eth wants to merge 9 commits into
Conversation
|
Thanks for taking a look. This PR is intentionally broad because it shows the full Cypher Gamma Max experiment, but I’m happy to split it into smaller reviewable pieces if that fits the ESP-Miner process better. Suggested split:
The telemetry layer is probably the safest first piece: it only exposes efficiency/stability signals through /api/system/info and does not change mining behavior. Also to clarify: this does not attempt to predict winning Bitcoin nonces or bypass SHA-256 proof-of-work. The goal is operational optimization only. I can rebase/update the branch with master if maintainers want that before review. |
|
Closing this for now to reduce maintainer review load, per feedback from @mutatrum. I am keeping #1705 open as the single focused PR because it is small, UI-only, and already has an ack. Happy to revisit this later only if maintainers ask for it. Thanks for the feedback and for maintaining the project. |
Summary
This PR proposes a BM1368/BM1370-focused predictive efficiency layer for ESP-Miner/AxeOS.
It adds:
/api/system/infoaspredictiveEfficiency.predictiveAutotuneNVS/API setting.Important boundary
This PR does not attempt to predict winning Bitcoin nonces and does not claim to break or shortcut SHA-256 proof-of-work.
The intent is operational optimization only: better visibility into miner efficiency, safer frequency exploration, thermal rollback behavior, and external tooling for supervised experimentation.
Firmware behavior
The firmware-side autotune is intentionally narrow:
API additions
/api/system/infonow includes apredictiveEfficiencyobject with fields such as:enabledautotuneEnabledbm1368Profilebm1370ProfileprofileNamescorehashPerWattusefulShareRatiothermalMarginChashrateRatioerrorPenaltylatencyPenaltyrecommendedActionagentStateagentReasontunedFrequencybestFrequencytrialFrequencybaselineScorelastTuneMsExternal companion tool
The Ollama research companion is deliberately external to the ESP32. It is intended for advanced users and supervised test setups. It uses the existing AxeOS API rather than embedding internet access or LLM behavior into the firmware runtime.
Review notes
I expect the telemetry portion to be the safest and most generally useful part of this PR. If maintainers prefer, this can be split into smaller PRs:
Testing performed
git diff --checkclean.Hardware validation on additional BM1368/BM1370 units would be valuable before enabling any autotune behavior by default in an upstream release.