Karthik Mudaliar e66fe95530 system-monitor-graph@rcassani: Add CPU fan monitoring (#1868)
* system-monitor-graph@rcassani: Add CPU fan monitoring

* system-monitor-graph@rcassani: Add fan speed graph

* system-monitor-graph@rcassani: Refine fan status display

* system-monitor-graph@rcassani: Address fan review feedback

* system-monitor-graph@rcassani: Use fixed fan graph scale

* system-monitor-graph@rcassani: Rename fan setting
2026-07-22 17:07:02 +02:00

310 lines
9.2 KiB
JSON

{
"head0": {
"type": "header",
"description": "Settings for system-monitor-graph@rcassani"
},
"head1": {
"type": "header",
"description": "General"
},
"type": {
"type": "combobox",
"default": "cpu",
"description": "System variable for graph",
"tooltip": "Select the system variable to monitor.",
"options" : {
"CPU" : "cpu",
"RAM" : "ram",
"Swap" : "swap",
"HDD" : "hdd",
"GPU" : "gpu",
"Network" : "network",
"Battery" : "battery"
}
},
"cpu-variable": {
"type": "combobox",
"default": "usage",
"description": "CPU variable to monitor",
"tooltip": "Select the CPU variable to monitor.",
"options" : {
"Usage" : "usage",
"Temperature" : "temperature",
"Fan" : "fan"
},
"dependency": "type=cpu"
},
"temperature-units-cpu": {
"type": "combobox",
"default": "C",
"options": {
"°C" : "C",
"°F" : "F"
},
"description": "Temperature scale",
"tooltip": "Temperature scale for graph",
"dependency": "type=cpu"
},
"data-prefix-ram": {
"type": "combobox",
"default": 0,
"options": {
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
"Decimal prefix (1 GB = 1000³ bytes)" : 1
},
"description": "Prefix for data units",
"tooltip": "Unit prefix for RAM size.",
"dependency": "type=ram"
},
"data-prefix-swap": {
"type": "combobox",
"default": 0,
"options": {
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
"Decimal prefix (1 GB = 1000³ bytes)" : 1
},
"description": "Prefix for data units",
"tooltip": "Unit prefix for Swap size.",
"dependency": "type=swap"
},
"data-prefix-hdd": {
"type": "combobox",
"default": 0,
"options": {
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
"Decimal prefix (1 GB = 1000³ bytes)" : 1
},
"description": "Prefix for data units",
"tooltip": "Unit prefix for Filesystem size.",
"dependency": "type=hdd"
},
"data-prefix-network": {
"type": "combobox",
"default": 0,
"options": {
"Bytes - Binary prefix or IEC (1 KiB = 1024 bytes)" : 0,
"Bytes - Decimal prefix (1 KB = 1000 bytes)" : 1,
"Bits - Decimal prefix (1 Kb = 1000 bits)" : 2
},
"description": "Prefix for data units",
"tooltip": "Unit prefix for network speed.",
"dependency": "type=network"
},
"network-interface": {
"type": "entry",
"default": "",
"description": "Network interface to monitor",
"tooltip": "Leave empty to monitor all interfaces combined. Examples: eth0, wlan0, enp0s3",
"dependency": "type=network"
},
"battery-name": {
"type": "entry",
"default": "BAT0",
"description": "Name of battery name to monitor",
"tooltip": "Check battery name in /sys/class/power_supply/ Examples: BAT0, BAT1",
"dependency": "type=battery"
},
"filesystem": {
"type": "filechooser",
"default": "file:///",
"description": "Filesystem to monitor",
"tooltip": "Select a directory in the filesystem to monitor.",
"allow-none" : true,
"select-dir" : true,
"dependency": "type=hdd"
},
"filesystem-label": {
"type": "entry",
"default": "",
"description": "Filesystem label",
"tooltip": "Empty uses the filesystem name from df.",
"dependency": "type=hdd"
},
"gpu-manufacturer": {
"type": "combobox",
"default": "nvidia",
"description": "GPU manufacturer",
"tooltip": "Select the GPU manufacturer.",
"options" : {
"NVIDIA" : "nvidia",
"AMDGPU" : "amdgpu"
},
"dependency": "type=gpu"
},
"gpu-id": {
"type": "entry",
"default": "0",
"description": "Id of GPU to monitor",
"tooltip": "Check GPU id with nvidia-smi -L",
"dependency": "type=gpu"
},
"gpu-variable": {
"type": "combobox",
"default": "usage",
"description": "GPU variable to monitor",
"tooltip": "Select the GPU variable to monitor.",
"options" : {
"Usage" : "usage",
"Memory" : "memory",
"Temperature": "temperature"
},
"dependency": "type=gpu"
},
"data-prefix-gpumem": {
"type": "combobox",
"default": 0,
"options": {
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
"Decimal prefix (1 GB = 1000³ bytes)" : 1
},
"description": "Prefix for data units",
"tooltip": "Unit prefix for GPU memory size.",
"dependency": "type=gpu"
},
"temperature-units-gpu": {
"type": "combobox",
"default": "C",
"options": {
"°C" : "C",
"°F" : "F"
},
"description": "Temperature scale",
"tooltip": "Temperature scale for graph",
"dependency": "type=gpu"
},
"duration": {
"type": "combobox",
"default": 60,
"description": "Duration of the graph",
"tooltip": "Maximum among of time to show in the graph.",
"options" : {
"30 s": 30,
" 1 min": 60,
" 2 min": 120,
" 5 min": 300,
"10 min": 600,
"30 min": 1800,
"60 min": 3600
}
},
"refresh-interval": {
"type": "combobox",
"default": 1,
"description": "Refresh interval",
"tooltip": "How often a new value of the variable will be calculated.",
"options" : {
" 1 s": 1,
" 2 s": 2,
" 5 s": 5,
"10 s": 10,
"30 s": 30,
"60 s": 60
}
},
"head2": {
"type": "header",
"description": "Visual"
},
"background-color": {
"type": "colorchooser",
"default": "rgba(50,50,50,1)",
"description": "Background color",
"tooltip": "RGB or RGBA."
},
"text-color": {
"type": "colorchooser",
"default": "rgba(255,255,255,1)",
"description": "Text color",
"tooltip": "RGB or RGBA."
},
"line-color-cpu": {
"type": "colorchooser",
"default": "rgba(23,147,208,1.0)",
"description": "Line color CPU",
"dependency": "type=cpu",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"line-color-ram": {
"type": "colorchooser",
"default": "rgba(137,190,67,1.0)",
"description": "Line color RAM",
"dependency": "type=ram",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"line-color-swap": {
"type": "colorchooser",
"default": "rgba(229,165,10,1.0)",
"description": "Line color Swap",
"dependency": "type=swap",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"line-color-hdd": {
"type": "colorchooser",
"default": "rgba(197,86,33,1.0)",
"description": "Line color HDD",
"dependency": "type=hdd",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"line-color-gpu": {
"type": "colorchooser",
"default": "rgba(197,86,133,1.0)",
"description": "Line color GPU",
"dependency": "type=gpu",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"line-color-network-down": {
"type": "colorchooser",
"default": "rgba(100,180,120,1.0)",
"description": "Line color Network Download",
"dependency": "type=network",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"line-color-network-up": {
"type": "colorchooser",
"default": "rgba(180,120,100,1.0)",
"description": "Line color Network Upload",
"dependency": "type=network",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"line-color-battery": {
"type": "colorchooser",
"default": "rgba(255,204,0,1.0)",
"description": "Line color Battery",
"dependency": "type=battery",
"tooltip": "RGB or RGBA. Alpha is ignored"
},
"midline-color": {
"type": "colorchooser",
"default": "rgba(127,127,127,1)",
"description": "Grid color",
"tooltip": "RGB or RGBA."
},
"h-midlines": {
"type": "spinbutton",
"default": 4,
"min": 0,
"max": 50,
"step": 1,
"description": "Number of horizontal lines in the grid"
},
"v-midlines": {
"type": "spinbutton",
"default": 4,
"min": 0,
"max": 30,
"step": 1,
"description": "Number of vertical lines in the grid"
},
"scale-size": {
"type": "scale",
"default": 1,
"min": 0.5,
"max": 5,
"step": 0.1,
"description": "Scale factor for desklet size (scale factor of 1 = 330 x 120 px)"
}
}