-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show current CPU Frequency in WebUI and maybe Home Assistant integration #3879
Comments
EDIT: Apparently there is API. |
Yeah - I haven't looked at the WLED code closely - but if its using the normal Arduino libraries, some random code I used on a WebUI is: F("<tr><td>IP Addresses</td><td>") + ip_addr + F("</td></tr>\n") +
F("<tr><td>MAC Address</td><td>") + WiFi.macAddress().c_str() + F("</td></tr>\n") +
F("<tr><td>CPU Speed:</td><td>") + ESP.getCpuFreqMHz() + F(" MHz</td></tr>\n") +
F("<tr><td>Flash Speed:</td><td>") + (ESP.getFlashChipSpeed() / 1000000) + F(" Mhz</td></tr>\n") +
F("<tr><td>Flash Real Size:</td><td>") + ESP.getFlashChipRealSize() + F(" bytes</td></tr>\n") +
F("<tr><td>Flash Mode:</td><td>") +
(
ESP.getFlashChipMode() == FM_QIO ? "QIO" :
ESP.getFlashChipMode() == FM_QOUT ? "QOUT" :
ESP.getFlashChipMode() == FM_DIO ? "DIO" :
ESP.getFlashChipMode() == FM_DOUT ? "DOUT" :
"UNKNOWN") + F("</td></tr>\n") +
|
That would be beautiful :) That way, I can see what build has actually been flashed :) |
- add "clock" - CPU clock in MHz - add "flash" - flash size in MB Fix for #3879
Now that we have 80 & 160Mhz binaries, it would be good to show which one is actually in use on an ESP8266 based chip.
I recently updated my WLED install on a device I had changed to the 160Mhz binary, but there was no way to tell if it updated to an 80 or 160Mhz version of WLED.
The text was updated successfully, but these errors were encountered: