You know to remember what is you project_id
used when you create credentials.json
file of MMM-GoogleAssistant
I create a command line for discover it ! (so don't have to search ahahah !)
try this in a Terminal:
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run project
result will be something like this:
~/MagicMirror/modules/MMM-GoogleAssistant$ npm run project
> MMM-GoogleAssistant@5.X.X project
> installer/check_ProjectID.sh
Your MMM-GoogleAssistant project_id is: XXXXXXXXX
---
Your SmartHome project_id is: credentials not found!
Open a note pad and past your MMM-GoogleAssistant project_id!
Note: Don't worry about credentials not found
for SmartHome, we will create it later!
username
and password
of MMM-GoogleAssistant
website configurationwhy ?
You will have access from internet to MMM-GoogleAssistant
so, for security, it's better to don't use default username
and password
This part will help and replace it by your own !
IP WAN
is your ip from Internet
IP LAN
is your device ip from your local network (inside your home)
a domaine sample it's like bugsounet.fr
a sub-domain it's like forum.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
--> if you have a dyndns domain name, verify if really redirect to your WAN adress
SmartHome need 2 ports:
80
: for create http server and initialize https protocol443
: for using https protocol with SmartHome and Google SmartHomeEnter inside your router setting and redirect this 2 ports to your raspberry pi LAN ip address
sub-domaine name: demo.bugsounet.fr
Open the webpage with your sub-domaine
name (or dyn-dns)
sample: http://demo.bugsounet.fr
(replace demo.bugsounet.fr
by yours)
If works: You must have the nginx
default page