Skip to content
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

Enhancement of status page #70

Open
HuffYk opened this issue Mar 11, 2024 · 2 comments
Open

Enhancement of status page #70

HuffYk opened this issue Mar 11, 2024 · 2 comments

Comments

@HuffYk
Copy link

HuffYk commented Mar 11, 2024

I did a fork with small changes (mainly to status page):

  • added check for ESP8266 or ESP32 and show it with pragma message (ends with pragma error otherwise)
  • refactored status_string fnc to use String class
  • added new info to status page:
    • ESP32 chip model and rev
    • ESP32 chip cores
    • ESP32 chip temperature
    • CPU chip speed
    • Flash chip speed
    • Flash size
    • SDK version
    • Wifi SID
    • Wifi IP address

if interested these are two relevant commits (forgot to put it into one PR):

example:

Firmware version: bde5239-dirty
ESP32 chip model: ESP32-C3 Rev 4
ESP32 chip cores: 1
ESP32 chip temperature: 57.20 °C
CPU chip speed: 160 MHz
Flash chip speed: 80 MHz
Flash size: 4 MB
Free heap: 161624 B
SDK version: v4.4.6-dirty
Wifi SID: MyWifiSID
Wifi IP address: 192.168.2.50
Wifi rssi: -58 dBm

async mode: true
software serial mode: true
uptime: 1005 s
last_connect_time: 345 ms
reconnect_count: 1 
reset_code: 3
loop_duration: 22 µs
max_loop_duration: 33739 µs
nbr arbitrations: 170
nbr restarts1: 0
nbr restarts2: 0
nbr lost1: 4
nbr lost2: 0
nbr won1: 166
nbr won2: 0
nbr late: 0
nbr errors: 0
pwm_value: 130
@danielkucera
Copy link
Owner

Hello,
could you please create a PR?
Although this is broken now already, I'd like to have a uniform format for all the status variables:

lowercase_name_of_variable_with_underscores: value unit

Could you also please change that?

@HuffYk
Copy link
Author

HuffYk commented Mar 11, 2024

sure, here it is: #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants