Skip to content

Conversation

@SSMCD
Copy link

@SSMCD SSMCD commented Feb 28, 2021

What does this PR do and why is it necessary?

Added a countdown timer to the navbar that shows when the PSU will be turned off, if "Automatically turn PSU OFF when idle" is enabled in settings. A setting was also added to enable / disable display of the timer in the navbar.

The countdown is NOT displayed in the navbar when the following is TRUE:

  • PSU is OFF
  • Print is ongoing
  • Print is paused
  • "Automatically turn PSU OFF when idle" is UNCHECKED in Settings.
  • "Show idle countdown timer in the navbar" is UNCHECKED in Settings.

How was it tested? How can it be tested by the reviewer?

Tested on my OctoPrint instance running on an RPi3 B+

Screenshots (if appropriate)

Idle countdown timer in navbar:
idle_countdown_timer

Settings toggle:
idle_countdown_timer_settings

@leoheck
Copy link

leoheck commented Apr 19, 2021

Oh, this would be a nice addition.

How hard is it to add a toggle action to stop/release this countdown by clicking on top of this text? Or maybe a click to restart it again to the beginning to give more time if needed?

@HMRudi
Copy link

HMRudi commented Mar 12, 2022

hi, is this already released? I guess not. I would really appreciate it. Thank you

@SSMCD SSMCD force-pushed the idle_countdown_timer branch from 9d8c7b5 to 30e547e Compare May 22, 2022 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants