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.

    can MMM-Buttons and MMM-AssistantMk2 work together?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 1.4k 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.
    • X Offline
      xela
      last edited by

      Hello,
      I’m trying to call the MMM-AssistantMk2 by pressing a button but nothing is happening and I’m sure that i’m doing something wrong. the hardware is 100% fine as it works fine with my MMM-Carousel
      if someone can help it will be wonderful.
      Here is my code:
      {
      module: ‘MMM-Buttons’,
      config: {
      buttons: [
      {
      pin: 24,
      name: “carousel_control”,
      longPress: {
      notification: “CAROUSEL_NEXT”
      },
      shortPress: {
      notification: “CAROUSEL_NEXT”
      }
      },
      {
      pin: 22,
      name: “google_control”,
      longPress: {
      notification: “ASSISTANT_ACTIVATE”
      },
      shortPress: {
      notification: “ASSISTANT_ACTIVATE”
      }
      },
      ]
      }
      },

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @xela
        last edited by

        @xela
        you might need payload : {profile:"default"}. Is it available to send payload with MMM-Button? If not so, you can use MMM-NotificationTrigger to add payload to notification.

        1 Reply Last reply Reply Quote 0
        • X Offline
          xela
          last edited by

          thank you!
          I will try it tonight.

          1 Reply Last reply Reply Quote 0
          • 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