This is an modified version of JamesGKent's prototype for adding sensor readouts into cockpit. It utilizes the json output of lm-sensors to programmatically display all sensor data provided. Unfortunately it still depends upon lm-sensors.
-
Install lm-sensors
-
Run
sudo sensors-detect
and either select the default response for each questions by pressing enter, or answer according to your preferences. -
Clone this repo or copy the
cockpit-sensors-folder
folder into either:-
~/.local/share/cockpit
for a single user install -
/usr/share/cockpit
for a system wide install
-