Add support for network and cooling fan

Add support for a network display, and for a coolin fan.  Note that at
the moment we support one and only one coolin fan, along with the CPU
fan.
This commit is contained in:
Jeff Curless
2025-12-10 18:22:38 -05:00
parent adab150746
commit 65774dbeaa
4 changed files with 181 additions and 45 deletions

33
monitor/sysmon.ini Normal file
View File

@@ -0,0 +1,33 @@
#
# For drives, you can ignore a device from collecting the temperature,
# or the performance data. A good device to ignore for temperature
# collection is the mmcblk0 device, as no temp available. Also
# in a system using RAID, the temperature is not available.
#
[drive]
temp_ignore = mmcblk
perf_ignore = mmcblk
#
# When monitorin the network, you can ignore speciic devices. On
# the Argon40 OneUP there is an eth0 thats available but not connected
# to anything, so that an lo are good to ignore
#
[network]
device_ignore = "lo,eth0"
#
# if your system has a separate case fan, you can montor the speed if
# it has a tachometer attached to a GPIO pin
#
#[cooling]
# casefan = 18
#
# In the rare case there is an additional smartctl command option needed
# for a speciic drive, you can add that here.
#
#[smartctl]
# drive = extra_smartctl_command