Conversation
|
Thanks for the substantial work here — the AxeOS-compatible API is the most-requested missing piece (it's essentially what #12 asks for), and the dashboard looks good. This can't be merged as-is, though. Repo damage first. Commit aaa528c deletes all 126 release firmware binaries (firmware/v1.2.0 through v2.9.3) and rewrites .gitignore to ignore The tunnel is dead code as shipped. All SuperDMZ code sits behind On the API itself: endpoints are unauthenticated with Please split this: (1) API + dashboard (rebased, no repo churn, wallet opt-in) — this one gets a fast review and directly serves #12; (2) the tunnel as its own PR with the token in the config portal and a clear warning, or drop it; (3) the |
|
Gracias @SneezeGUI por tomarte el tiempo de revisar el PR con tanto detalle. Tienes toda la razón en cada uno de los puntos que mencionas, y te pido disculpas por el desastre que armé con el diff. No era mi intención dañar el repositorio ni meter código muerto. Voy a proceder exactamente como sugieres:
Cierro este PR y abro los nuevos en cuanto tenga la rama limpia. Te agradezco de antemano que apruebes el workflow en la versión recortada para que CI compile y se vea que todo funciona. Un abrazo grande desde Argentina. 🇦🇷 |

Summary
This PR adds three major features to SparkMiner:
1. HTTP API compatible with AxeOS/ESP-Miner
/api/system/infoand/api/system/statistics2. TFT-style web dashboard
http://<ESP32-IP>/3. SuperDMZ tunnel for remote access
https://your-name.dmzgate.comwifi_manager.cpp.Screenshots
Changes
src/config/wifi_manager.cpp: API handlers, TFT dashboard, SuperDMZ integrationsrc/config/nvs_config.cpp/.h: addedapiEnabledflagsrc/main.cpp: addedwifi_manager_process()call in loopplatformio.ini: added SuperDMZ dependency, newesp32-headless-oldenvironmentdevtool.toml: added new board entryREADME.md: full documentation with installation guideimages/dashboard.png: screenshotTesting
Tested on:
Notes