Shelly 1 with contact sensor on gpio3 #2195
Closed
spiccinocchi
started this conversation in
MEPLHAA Scripts
Replies: 1 comment 2 replies
-
{"c":{"io":[[[4],2],[[5],6,0,1],[[3],6,1]]}, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need help with the script to configure a Shelly 1 to act as a switch controlled by a button on gpio5 and with a contact sensor accessory with state controlled by gpio3.
Here is me script:
{"c":{"io":[[[4],2],[[3],6,0,1]]},
"a":[{
"0":{"r":[[4]]},
"1":{"r":[[4,1]]},
"b":[[5,0]],
"es": [
{
"t": 5,
"g1": [[ 3 ]]
}]
}]}
The switch work with gpio5 but the gpio3 not work and the contact sensor state never change. Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions