Skip to content

Commit

Permalink
Minor tweaks and a version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnDamerell committed Aug 17, 2024
1 parent 4a83118 commit 2186b5a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion linux_host/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Config:
{ "Target": WebcamFlipH, "Comment": "Flips the webcam image horizontally. Valid values are True or False"},
{ "Target": WebcamFlipV, "Comment": "Flips the webcam image vertically. Valid values are True or False"},
{ "Target": WebcamRotation, "Comment": "Rotates the webcam image. Valid values are 0, 90, 180, or 270"},
{ "Target": GeneralBedCooldownThresholdTempC, "Comment": "The temperature in Celsius that the bed must be under to be considered cooled down. This is used to fire the Bed Cooldown Complete notification.."},
{ "Target": GeneralBedCooldownThresholdTempC, "Comment": "The temperature in Celsius that the bed must be under to be considered cooled down. This is used to fire the Bed Cooldown Complete notification."},
]


Expand Down
8 changes: 5 additions & 3 deletions octoeverywhere/notifications/bedcooldownwatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
# A simple class to watch for the bed to cooldown and then fires a notification.
class BedCooldownWatcher:

# The amount of time between checks.
c_checkIntervalSec = 2
# The amount of time between checks in seconds.
c_checkIntervalSec = 5

# The max amount of time we will allow this to keep watching.
c_maxWatcherRuntimeSec = 60 * 20
# In some cases like enclosed printers, the bed cooldown might take a very long time.
# We cancel this watcher when a new print starts, so it's safe to have a long runtime.
c_maxWatcherRuntimeSec = 60 * 60


def __init__(self, logger:logging.Logger, notificationHandler, printerStateInterface):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
# Note that this single version string is used by all of the plugins in OctoEverywhere!
plugin_version = "3.5.3"
plugin_version = "3.5.4"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit 2186b5a

Please sign in to comment.