rm-hull / luma.examples

Companion repo for running examples against the luma.oled, luma.lcd, luma.led_matrix and luma.emulator display drivers.
MIT License
367 stars 140 forks source link

Added IP info to sys_info.py #165

Open brenordv opened 8 months ago

brenordv commented 8 months ago

Added IP info to the sys_info.py example. Also included a caching (default: 4 hours) since IP address is not something that changes frequently.

If something goes wrong, the line will be blank.

The rationale for this change is that the IP being displayed is super useful information to have at hand and goes well with all the other stats printed in this example.