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 784 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

      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

        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

          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

            check the Assistant2Display wiki

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              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