Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Solved MMM-GoogleAssistant ft MMM-Detector ft MMM-GABackground issues

    Issues
    2
    3
    104
    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.
    • O
      orion26 last edited by

      Hi everybody I’m new to the forum.

      Following the instructions on the wiki of each project, I’ve installed first MMM-GoogleAssistant and then MMM-Detector and MMM-GABackground, now I’m writing this post asking for an help because of “problems” in each module.

      MMM-GoogleAssistant: assistant didn’t listen after wake up

      I’ve add into the MagicMirror config file every module config like suggest in the wiki, but now when I run the mirror and wake up assistant he ask me “how can i help you” and then stop listening.
      I’ve checked again OAuth credentials, tokens runs correctly (assistant reply correctly me by command line when run npm run tokens)

      MMM-Detector: custom logo not shown

      According to wiki I add --> myLogo: “jarvis.png” in the config file after uploading jarvis.png under ./MMM-Detector/resources but when i run the mirror it doesn’t show anything about my logo.

      MMM-GABackground: background not shown when assistant wake up

      I’ve installed the modules as show in the wiki and set “var model = old” instead of jarvis under the ‘withBackgroundStatus.js’ file, i’ve add into recipes in config file but it seems like the mirror didn’t read this filed.

      Instead of “old” is shown google assitant default screen in fullscreen.

      I tried to explain all my problems, I hope this discussion may help other people that like me are having poroblems

      Thank you so much 🙂

      my config file:

      {
      module: “MMM-Detector”,
      position: “top_left”,
      configDeepMerge: true,
      config: {
      debug: false,
      autoStart: true,
      useLogos: true,
      micConfig: {
      recorder: “arecord”,
      device: “default”,
      // only for snowboy:
      audioGain: 2.0,
      applyFrontend: false // When you use only snowboy and smart_mirror, false is better. But with other models, true is better.
      },
      newLogos: {
      myLogo: “jarvis.png”
      },
      detectors: [
      {
      detector: “Snowboy”,
      Model: “jarvis”,
      Sensitivity: null,
      Logo: “jarvis”,
      autoRestart: false,
      onDetected: {
      notification: “GA_ACTIVATE”
      }
      },
      ],
      NPMCheck: {
      useChecker: true,
      delay: 10 * 60 * 1000,
      useAlert: true
      }
      }
      },

      {
      module: “MMM-GoogleAssistant”,
      position: “top_left”,
      configDeepMerge: true,
      config: {
      debug: false,
      assistantConfig: {
      lang: “it-IT”,
      latitude: #########,
      longitude: ########
      },
      responseConfig: {
      useFullscreen: true,
      useResponseOutput: true,
      useAudioOutput: true,
      imgStatus: {
      listen: “listen.gif”,
      standby: “standby.gif”
      },
      micConfig: {
      device: “default”
      },
      Extented: {
      useEXT: false,
      youtube: {
      useYoutube: false,
      youtubeCommand: “youtube”,
      displayResponse: true,
      useVLC: false,
      minVolume: 30,
      maxVolume: 100
      },
      links: {},
      photos: {},
      volume: {},
      welcome: {},
      screen: {},
      touch: {},
      pir: {},
      governor: {},
      internet: {
      showAlert: true
      },
      cast: {},
      spotify: {
      useSpotify: false,
      visual: {},
      player: {}
      },
      },
      recipes: [“with-BackgroundStatus.js”],
      NPMCheck: {}
      }
      },
      }

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        can you try this:

        {
          module: "MMM-Detector",
          position: "top_left",
          configDeepMerge: true,
          config: {
            debug: false,
            autoStart: true,
            useLogos: true,
            newLogos: {
              myLogo: "jarvis.png"
            },
            detectors: [
              {
                detector: "Snowboy",
                Model: "jarvis",
                Sensitivity: null,
                Logo: "myLogo",
                autoRestart: false,
                onDetected: {
                  notification: "GA_ACTIVATE"
                }
              }
            ],
          }
        },
        
        {
          module: "MMM-GoogleAssistant",
          position: "top_left",
          configDeepMerge: true,
          config: {
            debug: false,
            assistantConfig: {
              lang: "it-IT",
              latitude: #########,
              longitude: ########
            },
            responseConfig: {
              useFullscreen: true,
              imgStatus: {
                listen: "listen.gif",
                standby: "standby.gif"
              },
            }
            Extented: {
              useEXT: false,
              youtube: {
                useYoutube: false,
                youtubeCommand: "youtube",
                displayResponse: true,
                useVLC: false,
              },
              links: {},
              photos: {},
              volume: {},
              welcome: {},
              screen: {},
              touch: {},
              pir: {},
              governor: {},
              internet: {
                showAlert: true
              },
              cast: {},
              spotify: {
                useSpotify: false,
                visual: {},
                player: {}
              },
            },
            recipes: ["with-BackgroundStatus.js"],
          },
        },
        
        1 Reply Last reply Reply Quote 0
        • O
          orion26 last edited by

          Hi, this work for me, I see the “myLogo” image and the background.
          I only have to change a comma just before “Extended:{”

          […]
          responseConfig: {
          useFullscreen: true,
          imgStatus: {
          listen: “listen.gif”,
          standby: “standby.gif”
          }
          },
          Extented: {
          useEXT: false,
          youtube: {
          […]

          The only problem now was the microphone that “shutdown” after the assistant activation, by the way i will order the microphone that you suggest me and try again.

          I will let you know, thanks a lot 🙂

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