Advertising Magic Mirror
frag last edited by
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!!!
Ashidian last edited by Ashidian
I cannot find a module which does exactly what you want but maybe this module is a good way to start.
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.