• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Assistant2Display doesn´t show any photos

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 583 Views 2 Watching
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.
  • K Offline
    Klinge
    last edited by Klinge Jun 22, 2020, 12:20 PM Jun 22, 2020, 12:16 PM

    Hello,
    I installed the modules MMM-GoogleAssistant and MMM-Assistant2Display.

    But I have a problem with displaying photos.

    When I sayed, “JARVIS, show me a video from the soccer game Brazil vs Germany”, a Youtube-Video will be shown.

    But when I sayed, “JARVIS, show me a photo from a tree”, only a google-Link will be shown.

    Here you can see my config file

    var config = {
            address: "localhost", // Address to listen on, can be:
                                  // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                  // - another specific IPv4/6 to listen on a specific interface
                                  // - "0.0.0.0", "::" to listen on any interface
                                  // Default, when address config is left out or empty, is "localhost"
              electronOptions: {
                     webPreferences: {
                          webviewTag: true
                        }
                      },
            port: 8080,
    .
    .
    .
     {
                     module: "MMM-GoogleAssistant",
                      position: "fullscreen_above",
                      config: {
                        debug: true,
                        assistantConfig: {
                          lang: "de-DE",
                          projectId: "", // Required to use gaction.
                          modelId: "", // (OPTIONAL for gaction)
                          instanceId: "", // (OPTIONAL for gaction)
                          latitude: XX.XXXXX,
                          longitude: X.XXXXXXX,
                        },
                        responseConfig: {
                          useScreenOutput: true,
                          screenOutputCSS: "screen_output.css",
                          screenOutputTimer: 5000,
                          activateDelay: 250,
                          useAudioOutput: true,
                          useChime: true,
                          newChime: false
                        },
                        micConfig: { // put there configuration generated by auto-installer
                          recorder: "arecord",
                          device: "plughw:1",
                        },
                        customActionConfig: {
                          autoMakeAction: false,
                          autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not.
                          actionLocale: "en-US", // At this moment, multi-languages are not supported, sorry. Someday I'll work.
                        },
                        snowboy: {
                          audioGain: 2.0,
                          Frontend: true,
                          Model: "jarvis",
                          Sensitivity: null
                        },
                        A2DServer: {
                          useA2D: true,
                          stopCommand: "stop"
                        },
                        recipes: [ "with-MMM-TelegramBot.js" ]
                      }
                    },
    .
    .
    .
                    {
                    module: "MMM-Assistant2Display",
                      position: "fullscreen_above",
                      config: {
                        debug:true,
                      },
                    photos: {
                          usePhotos: true,
                          displayDelay: 10 * 1000
                            },
                spotify: {
                          useSpotify: true,
                          connectTo: null,
                          playDelay: 3000,
                          minVolume: 10,
                          maxVolume: 100
                                }
                    },
    
    

    I enabled the debugging. But I don´t know, where I can find the logs.

    Unfortunately I didn´t found something in this forum.

    It would be great if someone could help me.

    Thanks in advance.
    Klinge

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User
      last edited by Jun 23, 2020, 1:41 PM

      Hi,
      usePhotos functionality is for displaying your own google photos album
      So it’s not for displaying web-links, you can use links module for this

      1 Reply Last reply Reply Quote 0
      • K Offline
        Klinge
        last edited by Klinge Jun 24, 2020, 9:53 AM Jun 24, 2020, 9:50 AM

        Hi,
        thank you for your response.

        Then I obviously got it wrong. I searched for the links module, but unfortunately I couldn’t find it or anything like this.

        Please, can you give me a tip, which module you mean exactly.

        Thanks in advance.

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by Jun 24, 2020, 3:11 PM

          check the Assistant2Display wiki

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy