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

Screen not blanking on startup #2

Open
ascaryplace opened this issue Jul 21, 2023 · 2 comments
Open

Screen not blanking on startup #2

ascaryplace opened this issue Jul 21, 2023 · 2 comments

Comments

@ascaryplace
Copy link

Hello,

This is a brilliant solution to a problem I have and it ticks every one of my boxes.

My only problem is that when the process is called from rc.local on boot it will still show the console inbetween switching the videos. I've tried adding cls to the initial script and also adding os.system('clear') to the .py file but it doesn't seem to make a difference. Maybe I'm not putting the clear command in the right place? I'm using the GPIO version.

If the script is run form the command line it works fine - unfortunately when and where this setup will be deployed I won't be in a position to start it from the command line.

Thanks in advance

@JesseCake
Copy link
Owner

Hmmm I'm not completely sure what that would be, I don't currently have a Raspberry Pi set up to test this all out for you right now I'm sorry.

When I do, I'll be sure to either update the readme, or find a new way.

I'm just happy people are still using this!

@ascaryplace
Copy link
Author

Hi Jesse,

Thanks so much for replying.

I found the issue, I missed the ampersand off the end of the command in the rc.local – my own oversight. Now it works great but I’ve not got around to updating the ticket.

I am having trouble with a floor trigger though. It’s to go into a scare maze, when the victims tread on the floor trigger a scary, ghostly little girl plays on a wall. It works great but the only issue is the video resets as soon as the next person steps on the trigger. Being a dark and scary place the groups stay close together and even though the video is just 7 seconds long it’s not long enough and resets every time.

I tried adjusting the gpiobounce setting to slightly longer than the video length but that just introduced a weird situation where the amount of time between triggers became random, between 30 to 09 seconds.

Would you have any insight into this?

Regards,

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