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

error calling monitor status: /bin/sh: 1: vcgencmd: not found #53

Open
titouan73 opened this issue Nov 12, 2021 · 5 comments
Open

error calling monitor status: /bin/sh: 1: vcgencmd: not found #53

titouan73 opened this issue Nov 12, 2021 · 5 comments

Comments

@titouan73
Copy link

Hello firstly congrats for this module, I'm currently trying to use an iMac 27" running on linux distro (Pop_OS which is Ubuntu basically) and I got this error causing my monitor is never going black :

[12.11.2021 15:38.04.598] [ERROR] MMM-MotionDetector: error calling monitor status: /bin/sh: 1: vcgencmd: not found

Those error happens every time the module try to activate or deactivate the monitor.
I've read online that vcgencmd is a package only available on Raspberry PI.
Hove you in mind a solution or an alternative package that would work on other distro that raspPI ?

Thank you

@rejas
Copy link
Owner

rejas commented Nov 15, 2021

Hi @titouan73 I (re-)started work to make multiple utils feasible in the MMM-module.

The only two options right now in my branch "mac" are mac-os utils and cec-utils (as mentioned here #52)

Not sure what options are on your Pop_os, that is very distro specific :-(

@titouan73
Copy link
Author

It's a gnome based distro I think we can modify the code to wake up the screen with a command ?

@rejas
Copy link
Owner

rejas commented Nov 15, 2021

sorry, dont have the time to google or install that myself to see whats possible. If you can find the info on how to de/activate and get the status for your monitor I am happy to incorporate it.

@titouan73
Copy link
Author

Thanks a lot I'll do that

@titouan73
Copy link
Author

Ok the command is xset dpms force off to turn off the screen, to turn it on you've just to change off to on. Some people advice to put sleep 1; xset dpms force off . Check https://superuser.com/questions/374637/how-to-turn-off-screen-with-shortcut-in-linux for more info. Thank again for you help

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

No branches or pull requests

2 participants