Anonymousdog / displaycameras

System for displaying RTSP feeds from IP cameras on the Raspberry Pi
Apache License 2.0
572 stars 114 forks source link

any option to blank screen at night and rewake in the morning #103

Closed zeltak closed 2 years ago

zeltak commented 3 years ago

Is your feature request related to a problem? Please describe. Hi, was wondering if anyone knows or created a method to blank screen at night and re-awake at morning and can share with the community?

Describe the solution you'd like an option to blank screen at night and re-awake at morning Describe alternatives you've considered tried using xset but that complains since i don't have a X session in place

Anonymousdog commented 3 years ago

That's outside the scope of this project, but it should be pretty simple to do as a cron job (not integrated with this system per-se).

Andy

On Tue, Aug 24, 2021, 6:36 AM zeltak @.***> wrote:

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Anonymousdog/displaycameras/issues/103, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIYIKJ3MRKULIS4P54UVZLT6NY27ANCNFSM5CWRJEHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

jayjayseal commented 2 years ago

This is very simple (though beyond this scope of project). I'm using the following setup.

Mind you i'm using this on a pi3. Whenever my homeautomations detect that no one is home i'll let it automatically SSh into the pi and execute the following line: vcgencmd display_power 0 that disables the HDMI output and let's the screen go into sleep mode. Then do a vcgencmd display_power 1 when person detection detects someone home again.

This works flawlessly every time and does not reaload the streams as it just disables the HDMI output and re enables it.

zeltak commented 2 years ago

wow @jayjayseal

this is exactly what i was looking for

thx so much!

Z

jayjayseal commented 2 years ago

Your welcome :-)