MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

can MMM-Buttons and MMM-AssistantMk2 work together?



  • 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”
    }
    },
    ]
    }
    },


  • Module Developer

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



  • thank you!
    I will try it tonight.


Log in to reply