Read the statement by Michael Teeuw here.
Control MM with a Google Home
-
@retroflex
1 . You can use DDNS service to connect your local device from outside. Or you can make SSH tunnel via ngrok or dataplicity. Anyway there could be open port issue what you worry.3 . Your guessing is right.
The usual way to control device via Google Home is to make google Action (a small application or conversation set on Assistant), but it is not easy for non-developer. Frankly said, I don’t recommend.
The most easy way would be using IFTTT none the more. I think you can install nginx or apache to control accessible URL as your expectation. You can block weak URLs with nginx.
-
@Sean Thanks. I have DDNS setup, I just prefer to keep all ports closed if possible. I also have VPN server setup in my router, but that really doesn’t help here.
From what I understand google action requires you to say to google home: “I want to speak to magicmirror” before you can trigger any command. Then the whole point with using voice to simplify is gone imo.
I will look into MMM-AlexaOnOff more and post if I succeed in connecting my google home.
-
@retroflex
Via google home, that is usual way.
If your device uses embedded google assistant, you can order to device directly. -
@retroflex Yesterday I Tried MMM-AlexaOnOff but Google Home didn’t find the Fauxmo (emulated Belkin Wemo) device.
-
Got any solutions? I have the same situation. The mirror and google home (mini) are in the same room, if I install the assistent in the mirror, both will respond to the command “ok google”
-
I use the Alexa cloud function in homeassistant to control mine. I created switches that are tied to command line calls which use the remote module to control the mirror. The homeassistant switches are discovered by alexa as smart home devices. Then you can create routines to do whatever you want as long as the remote module allows it and you create a script to call that function. I use mine to turn the monitor on at night when my sons blood sugar goes out of a desired range. I use homeassistant to grab the BG info and post it as a sensor. My mirror uses the MMM-HASS module to display the BG reading. When I address the issue I can say a command and a light and my mirror monitor turn off.
I can elaborate if you are interested, its not that simply and does require homeassistant running on a home server and i use the paid alexa homeassistant integration service (I believe there is a google home service as well). There is a way free way to do it, but honestly the paid service is cheap and allows you to do so much.
-
@madseason41
I have my homeassistant running with google home mini. I was unable to integrate the MMM-homeassistant-sensors module (with token). Any tips? (
Sorry for leaving the subject of this topic.) -
@felipemfa I didn’t have any luck with it either. I used the MMM-HASS module instead.
-
@madseason41 with api password or long token?
-
@felipemfa API Password.
There is a token option but I haven’t tried it yet.
I just got it working yesterday. I was using MMM-iFrame to display a web page which showed my desired info. Once i updated the webpage repo and updated to the latest mirror version, that stopped working and I couldn’t get it to work so I swapped to the MMM-HASS method.