Shelly PM2 stateless buttons problem #2303
Unanswered
BartoszGan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I wanted to create a configuration for the Shelly PM2 to work as a “Switch with external push button and stateless button” to manage scenes with double and long presses. According to the configuration below, everything works correctly on the first button, but the second button doesn’t turn on the light—it only functions as a stateless button.
{"c":{"io":[[[4,15,0],2],[[2],6],[[5,13],6,0,1]],"l":0,"b":[{"g":2,"t":5}],"ic":[[14,12,100]]},"a":[{"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"es":[{"0":{"m":[[-1,4]]},"t":3,"f0":[[13]],"f1":[[13,2]],"f2":[[13,3]]}]},{"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"es":[{"0":{"m":[[-1,15]]},"t":3,"f0":[[5]],"f1":[[5,2]],"f2":[[5,3]]}]}]}
However, when I add the b configuration for the second button, the light works, but it behaves differently than the first button. It always responds to button presses, even with a double-click, it turns on the light. For the first button, it works as expected, turning on the light only when I press it once.
{"c":{"io":[[[4,15,0],2],[[2],6],[[5,13],6,0,1]],"l":0,"b":[{"g":2,"t":5}],"ic":[[14,12,100]]},"a":[{"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"es":[{"0":{"m":[[-1,4]]},"t":3,"f0":[[13]],"f1":[[13,2]],"f2":[[13,3]]}]},{"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"b":[{"g":5,"p":0,"i":1,"t":0}],"es":[{"0":{"m":[[-1,15]]},"t":3,"f0":[[5]],"f1":[[5,2]],"f2":[[5,3]]}]}]}
Beta Was this translation helpful? Give feedback.
All reactions