LazeMSS / OctoPrint-TopTemp

Topbar temperature plugin for OctoPrint
21 stars 2 forks source link

CPU temp "VCHI initialization failed" #8

Closed GlassOnTin closed 3 years ago

GlassOnTin commented 3 years ago

I'm running on Raspberry Pi OS, with OctoPrint: 1.5.3.

The default "CPU temperature" command is:

/opt/vc/bin/vcgencmd measure_temp | cut -d "=" -f2 | cut -d"'" -f1

and when I press "Test" I see:

Error:   VCHI initialization failed.

Google searching the "VCHI initialization failed" error shows that this is a vcgencmd permissions problem, e.g.: Chewett.co.uk blog post

Solution, I added the "octoprint" user to the "video" group AND restarted OctoPrint. The error message was still there until I restarted OctoPrint.

LazeMSS commented 3 years ago

Are you running octopi from an image installation or did you install it yourself?

LazeMSS commented 3 years ago

And did you try any of the predefined options - I know they are hidden to the right if you are not running UI Customizer :(

LazeMSS commented 3 years ago

Closing - feedback needed - @GlassOnTin reopen if you can answer my questions.