imrahil / OctoPrint-NavbarTemp

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

Plugin doesn't show the temperature if a 3D printer is not connected #42

Closed DominikPalo closed 5 years ago

DominikPalo commented 5 years ago

Today I've updated the plugin to the latest version 0.11 and the temperature is no longer displayed in the navigation bar.

My configuration: OctoPrint 1.3.9 running on OctoPi 0.15.1 Raspberry Pi 3 Model B Rev 1.2

Logs

2018-10-15 20:39:19,882 - octoprint.plugins.navbartemp - DEBUG - displayRaspiTemp: True
2018-10-15 20:39:19,964 - octoprint.plugins.navbartemp - INFO - Broadcom detected
2018-10-15 20:39:20,070 - octoprint.plugins.navbartemp - DEBUG - Let's start RepeatedTimer!
2018-10-15 20:39:20,088 - octoprint.plugins.navbartemp - DEBUG - is supported? - True
2018-10-15 20:39:20,088 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2018-10-15 20:39:20,280 - octoprint.plugins.navbartemp - DEBUG - response from sarge: temp=58.0'C
2018-10-15 20:39:20,286 - octoprint.plugins.navbartemp - DEBUG - used pattern: "=(.*)'"
2018-10-15 20:39:20,288 - octoprint.plugins.navbartemp - DEBUG - match: 58.0
2018-10-15 20:39:20,289 - octoprint.plugins.navbartemp - DEBUG - match: 58.0
2018-10-15 20:39:50,294 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2018-10-15 20:39:50,349 - octoprint.plugins.navbartemp - DEBUG - response from sarge: temp=58.0'C
2018-10-15 20:39:50,350 - octoprint.plugins.navbartemp - DEBUG - used pattern: "=(.*)'"
2018-10-15 20:39:50,353 - octoprint.plugins.navbartemp - DEBUG - match: 58.0
2018-10-15 20:39:50,357 - octoprint.plugins.navbartemp - DEBUG - match: 58.0
2018-10-15 20:40:20,366 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2018-10-15 20:40:20,419 - octoprint.plugins.navbartemp - DEBUG - response from sarge: temp=53.7'C
2018-10-15 20:40:20,422 - octoprint.plugins.navbartemp - DEBUG - used pattern: "=(.*)'"
2018-10-15 20:40:20,424 - octoprint.plugins.navbartemp - DEBUG - match: 53.7
2018-10-15 20:40:20,426 - octoprint.plugins.navbartemp - DEBUG - match: 53.7

Screenshot image

DominikPalo commented 5 years ago

So, it seems that the temperature is not displayed only if a printer is not connected. After connecting the printer, it works ok: image

It is possible to show the temperature (only of the SoC) also without an active printer connected? As I remember, it worked in the previous version, or am I wrong?

imrahil commented 5 years ago

I'm pretty sure that's normal behaviour :)