danielkucera / esp-arduino-ebus

78 stars 11 forks source link

Enhancement of status page #70

Open HuffYk opened 8 months ago

HuffYk commented 8 months ago

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

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 commented 8 months ago

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 commented 8 months ago

sure, here it is: https://github.com/danielkucera/esp-arduino-ebus/pull/71