Unsolved Gateway / SmartHome Installation
-
SmartHome Installation
I think do you know the Google Home app of your smartphone
It is used to control the connected devices
We are therefore going to create the extension in order to control Jatvis from this application!
Naturally… when done, you can therefore control it by voice from another device that uses the google assistantProcess
SmartHome needs to receive and send data
Send data it’s not a problem
Receive data in live from google Server in live get a little more complex
And again… it’s use https protocal
So I tried to simplify as much as possible (as usual) the installationPreRequire
- Domaine name or DynDNS (or equivalentq) account
- a Router
- an Google Account: same like
MMM-GoogleAssistant
, Google Home app, SmartPhone account
Screenshot
Google Home
Jarvis
icon:On the App:
What can this plugin do?
It’s able to control plugin
EXT-Screen
: for Force turn on/off screenEXT-Volume
: for volume and mute/unMute controlEXT-Spotify
: Play/previous/next/pauseEXT-CanvasLyrics
: Force (or not) full screen lyricsEXT-FreeboxTV
: display FreeboxTV and control it with CH +/-EXT-Pages
: change the page with source- Naturally …
stop
command is available too !
(… More features will be added (again) soon!)
Installation
Project_id
You know to remember what is you
project_id
used when you createcredentials.json
file of MMM-GoogleAssistantI create a command line for discover it ! (so don’t have to search ahahah !)
try this in a Terminal:cd ~/MagicMirror/modules/Gateway npm run project
result will be something like this:
~/MagicMirror/modules/Gateway$ npm run project > Gateway@3.0.1 project > installer/check_ProjectID.sh Your project_id is: XXXXXXXXX
Domaine name with fixed WAN ip address or DynDNS
What’s IP WAN /IP LAN ?
IP WAN
is your ip from Internet
IP LAN
is your device ip from your local network (inside your home)what’s a domain name and a sub-domain ?
a domaine sample it’s like
bugsounet.fr
a sub-domain it’s likeforum.bugsounet.fr
(forum
is the sub-domain)If you have a domaine name and an fixed WAN ip address:
create a sub-domaine and redirect it to your WAN ip[Under Writing]
-
bugsounet