Garage door with 2 sensors, open state not working #2254
Closed
stepdes
started this conversation in
MEPLHAA Scripts
Replies: 1 comment
-
Solved, this worked: |
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
-
I have a D1 mini with relay board, i used the script from the wiki to operate my garage door and this is working with 1 (magnet) sensor, so i adjusted the script to work with 2 sensors but the "open" condition is not working, although the sensor is working correct. What is wrong with the script?
{ "c":{ "io":[[[4],2],[[0],6],[[14,16],6,1]], "l":13,"b":[[0,5]] }, "a":[{ "t":40, "d":18, "0":{"r":[[4,1,2]]}, "1":{"a":0}, "2":{"r":[[4,1,2],[4,0,2],[4,0,2]]}, "3":{"a":2}, "f2":[[16,0]], "f3":[[14,0]], "f4":[[14]], "f5":[[16]] }] }
Thnx for your help!
Beta Was this translation helpful? Give feedback.
All reactions