Wemos D1 mini with reed contact #2353
Replies: 2 comments
-
{"c":{"io":[[4],6,1,1],[[12],2]]}, Hi, try this, I'm just trying it myself |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @putnik161 , thanks for your help, that was good first hint. with: {"c":{"io":[[[4],6,1,1],[[12],2]]}, it works like before. perfect. Thank you very much. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello community,
I have a light under my kitchen sink which was controlled with a reed contact on the door.
It's a wemos d1 mini with a little led strip connected to gpio 12 and a reed contact between gnd and gpio 4.
It worked perfect before HAA 12 update and unfortunately I don't have the old meplhaa script.
{"c":{"io":[[[4],6],[[12],2]]},"a":[{"0":{"r":[[12,0]]},"1":{"r":[[12,1]]},"b":[[4,1],[4,0]]}]}
This is my actual script with which I can control the light through the home app, but the reed contact don't work.
I hope you can help me
greetings Hanimaniac
Beta Was this translation helpful? Give feedback.
All reactions