Help appreciated: How do I configure two HAA lightbulb accessories each controlled with its own button type? #1683
vsevolod-volkov
started this conversation in
MEPLHAA Scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have got Shelly RGBW2 with two dual LED stripes on it:
first stripe on B and W lines (GPIO 4, 14);
second stripe is on R and G (GPIO 12, 15).
I want to achieve first stripe to be controlled with single press on GPIO 5 button and second stripe to be controlled with double press on the same button.
Unfortunately, I can not achieve that myself. While first stripe is successfully controlled with single button press, second one does not respond on double presses. What am I doing wrong?
My current config is:
{
"c": {
"n": "Kitchen-Window-LED",
"o": 6,
"b": [{ "g": 0, "t": 5 }]
},
"a": [
{
"t":30,
"sn": "LIGHT",
"n": 1,
"g": [4],
"b": [ {"g":5, "p":0} ],
"e": 0,
"es": [
{
"t":30,
"n": 1,
"g": [14],
"b": [ {"g":5, "p":0} ],
"e": 0
}
]
},
{
"t":30,
"sn": "STREETLIGHT",
"n": 1,
"g": [12],
"b": [ {"g":5, "t":2} ],
"e": 0,
"es": [
{
"t":30,
"n": 1,
"g": [15],
"b": [ {"g":5, "t":2} ],
"e": 0
}
]
},
{
"t": 1,
"sn": "SETUP",
"1": {
"i": 0.5,
"m": [[1,1]],
"s": [{ "a": 1}]
}
}
]
}
Beta Was this translation helpful? Give feedback.
All reactions