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:

    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?
    alt text

    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.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.