imrahil / OctoPrint-NavbarTemp

Plugin for OctoPrint - displays temperatures on navbar
GNU Affero General Public License v3.0
44 stars 50 forks source link

X86 Linux CPU Temp #54

Closed 101jallen closed 4 years ago

101jallen commented 5 years ago

Greetings, I have Octoprint on an X86 computer under Ubuntu. Would like to have the CPU temperature on the Navbar. I have found a way to get it there, looking through the source of the NavbarTemp plugin it looks for /etc/armbianmonitor/datasources/sotemp so I created the needed directories and put a symlink named soctemp to /sys/class/thermal/thermal_zone2/temp it now displays.

I would think it would be fairly straight forward to manage the configuration in your plugin to have a place one could simply put the location of a "file" that it could read with the temperature......

Great plugin as is!

Cosik commented 5 years ago

Hi,

Sorry last days a lot of happen so I don't have enough time to finish that feature. Meanwhile please look here https://github.com/imrahil/OctoPrint-NavbarTemp/pull/52

Cosik commented 4 years ago

@101jallen Custom command are already supported.