Skip to content

Commit

Permalink
Ignore non-tools PINDA and Ambient temps from Prusa firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
thess committed Apr 1, 2022
1 parent 839cfc8 commit db60f8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion octopyclient/octopyclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
--noblank Disable DPMS and screen-saver blanking
"""

__version__ = "1.0.1"
__version__ = "1.0.2"

import sys
import os
Expand Down
3 changes: 3 additions & 0 deletions octopyclient/panels/temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ def updateToolData(self):

self.ttempData = printer_state['temperature']
for tool in self.ttempData:
# Ignore Prusa PINDA('P') and ambient('A') temps
if tool == 'A' or tool == 'P':
continue
if tool not in self.toolImages:
self.addNewTool(tool)
# Only update label if tool being displayed
Expand Down

0 comments on commit db60f8b

Please sign in to comment.