Read the statement by Michael Teeuw here.
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”
}
},
]
}
}, -
@xela
you might needpayload : {profile:"default"}
. Is it available to sendpayload
with MMM-Button? If not so, you can use MMM-NotificationTrigger to add payload to notification. -
thank you!
I will try it tonight.