@640008915 Nothing wrong with answering your own question. Thanks for sharing your solution with the community. Mark the post as solved so that others may know that it has been resolved. Enjoy your mirror.
@planet4 Vad man blir glad att se svenskar:) Din sidan har jag hängt mkt på:) grymt bra.
har lyckats installera alexa, nu kommer det svåraste av allt att lösa confi.js det är lurigt… den är ju gansak så känslig på de:/ inte hittat några riktigt bra program, använder visual studio code…
I’m trying to make this project ( https://www.instructables.com/id/Raspberry-Pi-Based-Living-Portrait-Player-Intro/ ) into a Module.
The difficulty I have is that I’m using Simple-Swiper module to switch the pages of my mirror.
Here is what I’m trying to do :
the user can navigate on the different pages.
when he reaches the last page , omx player is displayed with the video but doesn’t play the video. It just display the first image. This is what is done in the Living-Portrait-Player.
if a move is detected, the video plays.
if the user switch the page, omx is killed and disappears.
I’m asking for your help because I have already started something but I can’t manage to make it work.
I’m getting inspiration from multiple modules for this project.
MMM-PIR which is the one I’m using as a main module and I’m modifying the code of that module.
MMM-pages to find out what is the current page
MMM-RTSPStream for methods related to omxplayer
I wonder if I can use the callback method in MMM-PIR to run the script when the user arrives on the page. I haven’t tried that yet. And also, how to kill omx when the user changes the page.
I’m also having difficulties to get the current page in the MM-PIR modules.
in the MMM-PIR.js but seems like MMM-pages doesn’t receive the notification.
I would be so thankful if someone could help me working on this.
The easiest way (I think) is to use IFTTT
Static IP/Domain or DDNS or ngrok or dataplicity.io(+nginx) for your MM
your mirror should be accessible from outside of your home network.
MMM-Remote-control or MMM-NotificationTrigger or some module which can be receive and interpret IFTTT message to some notifications for MM control. Or you can build your own
Give external accessible URL to your MM. (See the requirements)
Make an IFTTT recipe;
Google Assistant for THIS, Web Hook for THAT
Web hook url should be your MM’s URL
Set your MMM-Remote-Control or MMM-NotificationTrigger to receive IFTTT messages and translate it to control your MM.
You can make some orders like “Ok google, Turn off the screen”, “Hey Google, Next page.”
Harder way is to make Google Actions for MM. But not recommend personally. It would be VERY VERY HARD stuffs for non-developer. And you need to use Firebase or something similar cloud server or at least you should run your own dedicated server to host your action.
I built a MM running on Win10 for the kids showing agenda, weather, and news headlines. Now my wife would like one in the kitchen. Not a MIrror, but an information screen to replace our paper calendar.
What she’s asking for ideally is a calendar display, with a touch interface to show the daily agenda. If it could also somehow display a recipe on request that would be awesome.
Is something like this possible with MM on a PI, and what kind of hardware would I need?
I am looking into building a smart mirror within the next month and would like to have google home functionality integrated. I have been unable to find any information regarding a smart mirror using a pre-existing google home mini. I have only seen them using the google AIY voice kit. I am wondering if the same can be accomplished with my google home mini as has been done with the AIY kit.