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

"screenWakeupCommand" dosent do anything #2335

Closed
porlock opened this issue Oct 10, 2021 · 5 comments
Closed

"screenWakeupCommand" dosent do anything #2335

porlock opened this issue Oct 10, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@porlock
Copy link

porlock commented Oct 10, 2021

Describe the bug
I was trying to dim and light up by screen using "screenSleepCommand" and "screenWakeupCommand", and it works partially, when i set it like this:

"screenSleepCommand": "xset dpms force standby && gpio -g pwm 18 500",
"screenWakeupCommand": "xset s off && xset -dpms && xset s noblank && touch ~/on && sleep 1 && gpio -g pwm 18 1024"

on sleep screen was dimmed by 50%, but nothing happened on wake up, also file ~/on was not created.

To Reproduce
set screenWakeupCommand as
"screenWakeupCommand": "xset s off && xset -dpms && xset s noblank && touch ~/on"

Expected behavior
file ~/on will be created after screen wake up.

General Information:
rpi 3b+
3.5inch RPi LCD waveshare screen

  • OctoDash Version v2.2.0
  • OctoPrint Version 1.5.2
@porlock porlock added the bug Something isn't working label Oct 10, 2021
@UnchartedBull
Copy link
Owner

Have you tried executing that line outside of OctoDash? OctoDash doesn't process that line whatsoever, it just gets passed to bash via node. Do the rest of the commands work?

@UnchartedBull
Copy link
Owner

Closing due to inactivity. Please reopen if this is still an issue.

@porlock
Copy link
Author

porlock commented Jan 19, 2022

Yes, command is working fine when launched manually from shell

@porlock
Copy link
Author

porlock commented Jan 19, 2022

Did you try to reproduce ?

@porlock
Copy link
Author

porlock commented Jan 19, 2022

I can't reopen i don't have a permission, can you reopen or should I create a new one ?

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

2 participants