imrahil / OctoPrint-NavbarTemp

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

Raspi Temp not visible #71

Closed arut16 closed 4 years ago

arut16 commented 4 years ago

Hi everyone !

Just installed my fresh new RPi 4 with last Octoprint and NavBarTemp Plugin. Working well for bed/tool temp but it not showing RPi Soc Temp. Why ?

Capture

Cosik commented 4 years ago

Have no idea. You didn't provide any information. Why?

arut16 commented 4 years ago

@Cosik witch information do you need ? Sorry I'm a beginner.

Cosik commented 4 years ago

Please enable full logging for plugin and attache to this issue. Also few minutes ago I release 0.14 version. Please check it first.

arut16 commented 4 years ago

@Cosik I updated to 0.14 but SOC temp still not shown : image And for logs, which one do I need upload here ? image

Cosik commented 4 years ago
  1. https://docs.octoprint.org/en/master/bundledplugins/logging.html
  2. If something is not working you could use custom commands.
  3. Please carefully read https://github.com/imrahil/OctoPrint-NavbarTemp/blob/master/README.md
  4. I have no rpi4 to test it.
arut16 commented 4 years ago

@Cosik Thanks for helping : 1 : I read it. Here logs : https://gist.github.com/arut16/d2f934afa5e332d664a8552556a7faf9 2 : What do you meen custom commands ? How ? Where ? 3 : Read it. Didn't help... 4 : Should be same as Pi3 at this point no?

Cosik commented 4 years ago

You answers didn't help. Log is still not correct. In readme you have information about custom commands and what to do when platform is not supported. I uploaded issue template. Please fill it.

PLEASE CAREFULLY FILL EACH POINT

1. Hardware and operating system version:

2. Octoprint version:

3. Plugin version:

4. Print screen of plugin configuration:

5. Plugin full log file

6. Clear problem description::

7. Expectation:

arut16 commented 4 years ago

1. Hardware and operating system version:

Raspberry 4 2Go RAM version Octopi v.0.17.0

2. Octoprint version: v1.4.0

3. Plugin version: 0.14

4. Print screen of plugin configuration: image

5. Plugin full log file : Don't know how to do that...

6. Clear problem description: RPi SOC Temp is not appears

7. Expectation: RPi SOC Temp Appears with tool and bed temp.

arut16 commented 4 years ago

I find a solution with a custom command : image image

Cosik commented 4 years ago

@arut16 you could add to cmd | cut -d'=' -f2'

arut16 commented 4 years ago

@Cosik Like this : /opt/vc/bin/vcgencmd measure_temp | cut -d'=' -f2'

arut16 commented 4 years ago

@Cosik This command work : /opt/vc/bin/vcgencmd measure_temp | sed -e 's/temp=//' With | cut -d'=' -f2', not working image image

dan-and commented 3 years ago

cut -d'=' -f2'

It works, but there is just a missing single quote: cut -d'=' -'f2'

so using: /opt/vc/bin/vcgencmd measure_temp|cut -d'=' -'f2' as a custom command helps.

Please note that changes in the custom commands in the NavbarTemp plugin need a restart of octoprint!