Read the statement by Michael Teeuw here.
Advertising Magic Mirror
-
Hi everyone.
I am a beginner in programming and this field is difficult for me to understand some important details. I need your help, tips and advice.
I am interested in Advertising Magic Mirror as at the linked video: https://www.youtube.com/watch?v=396iob3-Bb0
I need that there were a folder with my video and pictures on my raspberry so that all these files were shown at the mirror with set intervals.
I need such an option. When a person comes close to a mirror the window should minimize to a right lower corner and the standart interface should appear (calendar, time, weather)
Should I use rip motion sensor as at the picture or other one?

Will you please advise whether there is such a module or can someone write coding for this purpose?
Thank you very much in advance for any help and information!!!
-
I cannot find a module which does exactly what you want but maybe this module is a good way to start.
https://github.com/PtrBld/MMM-Podcast
I don’t know how it works exactly because I don’t get how the omxplayer shows up but you can try this out since it plays videos what you require.The range of a PIR sensor maybe is too wide. I expect it detects anyone as soon as he enters the room so the adverts disappear before someone can have a look on it. I have a HC-SR501 for my own mirror and it reacts relatively fast.
I estimate a ultrasonic sensor is better for this task. I think of the HC-SR04 which just detects objects directly in front of it (max. distance ~ 3 meters). As long as no one stand in front of it, a mirror will be useless anyway.
I hope I could helped you a little bit and could give you a push in the right direction.
Edit: recently found this: https://forum.magicmirror.builders/topic/2094/youtube-embedded-youtube-on-your-magicmirror which may also help you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login