Read the statement by Michael Teeuw here.
MMM-Buttons problem - Help please?
-
I’m having an issue with MMM-Buttons.
Connecting a button like the image attached, and using the config attached, no matter how I press a button, I get the long press effect… can someone help me figure out what’s wrong?
Thanks!

{ module: 'MMM-Buttons', config: { minShortPressTime: 0, maxShortPressTime: 1000, minLongPressTime: 1500, bounceTimeout: 1000, buttons: [ { pin: 18, name: "test", longPress: { notification: "SHOW_ALERT", title: "title", message: "Long Press", }, shortPress: undefined, }, ] }, }, -
@BKeyport
Your config looks wrong, to much commas here in there. Try standard config of MMM-Buttons (Readme) and just change pin.If you watch MM in your browser, hit F12 then you should see, if a button press was send.
AxLED
-
I’m aware there’s too many commas by ‘traditional thinking’ - but I kept getting config errors without it.
This was the default config, modified for testing.
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