Bugsounet Coding

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

    Google Assistant not returning links

    Issues
    2
    4
    133
    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.
    • D
      derwolf Donators last edited by derwolf

      Hi,

      First of all: I really appreciate your work here and I’m happy I can use it for my mirror too.
      Therefore I sent you a small donation 💰 this morning.

      I recently upgraded to V3.0.1 and so far its working good.
      Unfortunately I’m having issues getting the links to work.
      I tried a few things and I think i’ve found the reason: I’m not recieving links in the response from google.

      When I ask for “Show me pictures of rabbits” (in german) this is the response in the log:

      [15.06.2021 08:46.48.893] [LOG]   [GA] ASSISTANT_RESULT {
        error: { error: null, message: null, audio: false },
        action: { requestId: '60c943c7-0000-23b5-a157-089e082f4050' },
        text: 'Schau dir mal diese Bilder an',
        screen: {
          text: '.show_text_container{width:100%;padding:41px 0px 41px 112px;box-sizing:border-box}.show_text_content{font-size:1em;line-height:1.4em;width:24.7em;white-space:pre-wrap;color:#ffffff}#scroll-up{background-image:url("https://www.gstatic.com/actions/devices_platform/expand-less.png");background-size:48px 48px;color:#FFFFFF;height:48px;width:48px;margin-bottom:24px;display:none}#scroll-up:focus{background-color:#8e4e76}#scroll-down{background-image:url("https://www.gstatic.com/actions/devices_platform/expand-more.png");background-size:48px 48px;color:#FFFFFF;height:48px;width:48px;display:none}#scroll-down:focus{background-color:#8e4e76}.scroll-bar{left:32px;position:absolute;display:flex;flex-direction:column;margin-top:48px}.scroll_active{background-color:#424242}.scroll_inactive{opacity:0.3}\n' +
            'Schau dir mal diese Bilder an',
          links: [],
          photos: [],
          path: '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/tmp/responseOutput.html',
          uri: 'tmp/responseOutput.html'
        },
        audio: {
          path: '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3',
          uri: 'tmp/lastResponse.mp3'
        },
        transcription: { transcription: 'zeig mir Bilder von Hasen', done: true },
        continue: false,
        volume: null,
        lastQuery: {
          type: 'MIC',
          key: null,
          lang: 'de-DE',
          useResponseOutput: true,
          useAudioOutput: true,
          status: 'standby',
          chime: true
        }
      }
      

      As you can see the links array is empty.
      I dont think its an configuration issue as everything else is working very well.

      However this is my config:

      {
      	module: "MMM-GoogleAssistant",
      	position: "top_left",
      	configDeepMerge: true,
      	config: {
      		debug: true,
      		assistantConfig: {
      			lang: "de-DE",
      			projectId: "spieglein", // Required to use gaction.
      			modelId: "spieglein-spieglein-1yjq6n", // (OPTIONAL for gaction)
      			instanceId: "spieglein", // (OPTIONAL for gaction)
      			latitude: 48.389130,
      			longitude: 11.740240,
      		},
      		recipes: ["WV_LichtAnAus.js", "WV_MMM-Pages.js", "WV_with-status.js", "WV_MMM-NewsFeed.js"],
      		micConfig: {
      			recorder: "arecord",
      			device: "plughw:2"
      		},
      		Extented: {
      			useEXT: true,
      			deviceName: "Spieglein",
      			stopCommand: "stop",
      			links: {
      				useLinks: true,
      				displayDelay: 30 * 1000
      			},
      			cast: {
      				useCast: true,
      				port: 8569
      			},
      			youtube: {
      				useYoutube: true,
      				youtubeCommand: "youtube",
      				displayResponse: true,
      				useVLC: false,
      				minVolume: 30,
      				maxVolume: 100
      			}
      		}
      	}
      },
      

      Any help would be appreciated 🙂

      I’m using a Raspberry Pi 4 4GB with Raspbian Buster.

      1 Reply Last reply Reply Quote 0
      • D
        derwolf Donators last edited by

        Everything is uptodate and MagicMirror Version is v2.15.0

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

          Hi, thanks for your donation.

          It’s a know issue. Google don’t return any links. I will working around soon.
          I want to finish new detector module before 😉 (see video on annonce section)

          1 Reply Last reply Reply Quote 0
          • D
            derwolf Donators last edited by

            Ok, good to know.
            Thanks for the fast response!

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