shermand100 / PiNodeXMR

Monero Node for Single Board Computers with Web Interface and additional tools pre-configured. Self Installing.
GNU General Public License v3.0
213 stars 41 forks source link

Temperature not displaying in WebUI on Armbian/Odroid #25

Closed ChiefGyk3D closed 3 years ago

ChiefGyk3D commented 3 years ago

Temperature doesn't display in WebUI on my HC2 version but it used to on version 3

ChiefGyk3D commented 3 years ago

[1]+ Exit 1 sudo /opt/vc/bin/vcgencmd measure_temp sudo: /opt/vc/bin/vcgencmd: command not found

ChiefGyk3D commented 3 years ago

This is incompatible with Armbian, we should consider pulling from a hardware agnostic place. cat /sys/devices/virtual/thermal/thermal_zone0/temp should work fine, if we can divide that number 1000 that's the celsius number. Also worth considering an HDD temp sensor for the Odroid HC2 crowd.

shermand100 commented 3 years ago

There are so many files in that merge request so I've used your suggestion and added it directly