Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OctoDash does not sleep anymore #807

Closed
mithkr opened this issue Jul 10, 2020 · 6 comments
Closed

OctoDash does not sleep anymore #807

mithkr opened this issue Jul 10, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@mithkr
Copy link

mithkr commented Jul 10, 2020

Describe the bug
After update to v1.5.0, OctoDash does not sleep anymore when idle for a while.

Expected behavior
After some idle time, the previous version entered sleep mode and showed special sleep screen.

General Information:

  • Hardware: Raspberry Pi 3 A+ and 5' TFT DSI touch display from DFRobot
  • OS Info: OctoPi 0.17.0 / debian buster 10.4
  • OctoDash Version: v1.5.0
  • OctoPrint Version: v1.4.0
@mithkr mithkr added the bug Something isn't working label Jul 10, 2020
@ChaosBlades
Copy link

I don't have any issues. I think backing up your config and doing a quick setup from scratch would resolve your issue. My 2nd guess is a miss configuration or issue with PSU Control.

@UnchartedBull
Copy link
Owner

Please double check whether your screen supports DPMS (if xset dpms force standby blanks your screen everything should work). OctoDash will only turn off the screen in sleep mode. sleep mode currently only is activated, once the printer is disconnected from OctoPrint. If the printer is on, OctoDash will also be always on.

@ChaosBlades
Copy link

That's interesting because mine will go to sleep while printing... Sometimes.

@UnchartedBull
Copy link
Owner

That actually is a bug that will be fixed in the next version. If you enter and leave standby mode within 5 minutes dpms won't be deactivated, which will lead to dpms using the default settings. If you want to keep that behaviour you can always adjust your ~/.xinitrc file and define the times in there. Just make sure to disable screen sleep within OctoDash then, since that will overwrite your .xinitrc settings

@mithkr
Copy link
Author

mithkr commented Jul 15, 2020

OK, I understood now, that OctoDash is only going to sleep mode if printer is powered off.
This works for me, but would it be possible to add feature to OctoDash, that sleep mode is also activated if printer is power on but idle (not printing) and there was not manual interaction on the touch screen for a while (e.g. 5 minutes or configurable timeout).

@UnchartedBull
Copy link
Owner

This will come in the future. Will be tracked in #410 (since that will enable me to do exactly that). Closing this here now, if you need more help let me know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants