I have finally found some time to update the python scripts for the OLED push button, put them in a git repository and upload.
Changes include:
Updated size reported info
RAID status update. Removed the “used” field and no report the current state of the array, as well as the rebuild status. Note the rebuild status does not show if the system is not rebuilding
Multiple IP addresses: The IPV4 address of each interface will be displayed, with the exception of the loop back device (‘lo’)
I may modify the IP address list and remove the graphic so I can report the interface name, and address as I have three… eth0, wlan0 and wg0 for wireguard.
if you wish to install it, you can pull the code from git, or install by the following command line:
Hi mate, I’m trying to use dietpi with your script. And I know the original doesn’t aswell. Is there anyway to get the screen working on dietpi? I just find dietpi alot better then the rest. I. An also make my raid via webin, and samba via webmin. But. Ant for the life of me get the screen to work.
Installed this today and it is working well, information now makes more sense.
Running on raspios bullseye 64 lite and OMV6 with RAID 10.
argon-config is working. System time was wrong after script was installed, inly by 22 years 1 month and 14 days!! I am outting this down to my lack of a RTC battery which I forgot to pick up again at the shops today ¯_(ツ)_/¯
Thanks! I’m currently looking at the code in argonsysinfo.py. Going to make sure that interesting things are returned even if not used. For instance argonsysinfo_getraiddetail() call does not list the specific drives used for the raid device. While overall there is a presentation of the total devices used in raid, if you make multiple raidsets utilizing the same drives (by partition) it is hard to determine which peice belongs to what.
Added a new page to the OLED display. I calculate the current bandwidth of the device. This is over the time it takes to do one pass of displaying the pages. While not supper accurate for instant use, it is reasonably accurate over the time period.
One suggestion however to the IP address list. With the change, if you are running docker with a number of containers the bridge IP address is also displayed which isn’t very useful. Can I suggest a minor tweak, to remove the bridge ips as otherwise, the display fills up beyond usability.
def get_ip_addresses( family ):
for interface, snics in psutil.net_if_addrs().items():
if interface != "lo" and not interface.startswith("br"):
for snic in snics:
if snic.family == family:
yield( interface, snic.address )
Absolutely, just updated the repository. I was considering removing the ion and listing more than one IP address at a time, and somehow display the interface name as well.
Or possibly modifying the code to support additional configuration selections in the argoneon.conf file, where we could filter out interfaces…
Yea having the interface name becomes important when multiple interfaces exist. I think room will still be an issue to display multiple interfaces at one time, however. I would suggest keeping it as is (with multiple IPs displaying on their own page with the icon and just reducing the font size so you can display both name and ip.