imrahil / OctoPrint-NavbarTemp

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

[request] cpu temperature for armbian device? #17

Closed ntoff closed 5 years ago

ntoff commented 7 years ago

/etc/armbianmonitor/datasources/soctemp contains a unitless numerical value for the temperature of the SoC chip, is it possible to add another check along side the check for raspbian?

pi@woody:~$ cat /etc/armbianmonitor/datasources/soctemp 38700

for a temperature of 38.7 degrees C

ntoff commented 7 years ago

aaaand working here: https://github.com/ntoff/OctoPrint-NavbarTemp/commit/190174cb682ae90d8daeb9d634e35a36e0d31aaf

extreme hackjob and definitely needs cleaning up. I just as much as assumed that an allwinner cpu = armbian which isn't right

also for whatever strange reason, the regexp search query just won't work with ^ and $, but with them gone the code at least still works on a raspberry pi 2b.

Cosik commented 5 years ago

@ntoff polease check latest update ;)