Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Unsolved Gateway / SmartHome Installation

    Gateway
    1
    1
    74
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bugsounet
      bugsounet Main Coder last edited by bugsounet

      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 assistant 🙂

      Process

      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 installation

      PreRequire

      • 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:

      e3b1925c-58e2-4c12-8a2a-dc9c5f934d55-image.png

      On the App:

      de922e18-9655-444c-a511-74de2ec33c47-image.png

      3780007a-8966-444c-a7e3-c7f1abeb9d62-image.png

      768a728d-dd06-441b-a987-cc0bf07e9073-image.png

      dc1389db-e7df-4f86-a4f4-1c2092b31099-image.png

      What can this plugin do?

      It’s able to control plugin 🙂

      • EXT-Screen: for Force turn on/off screen
      • EXT-Volume: for volume and mute/unMute control
      • EXT-Spotify: Play/previous/next/pause
      • EXT-CanvasLyrics: Force (or not) full screen lyrics
      • EXT-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 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/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 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

      [Under Writing]

      1 Reply Last reply Reply Quote 0
      • Locked by  bugsounet bugsounet 
      • First post
        Last post
      Powered by NodeBB | @bugsounet ©2022