• 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.

can MMM-Buttons and MMM-AssistantMk2 work together?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 1.5k 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 Aug 12, 2019, 4:01 AM

    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 Aug 12, 2019, 7:20 AM Reply Quote 0
    • ? Offline
      A Former User @xela
      last edited by Aug 12, 2019, 7:20 AM

      @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 Aug 15, 2019, 9:21 AM

        thank you!
        I will try it tonight.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          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