LED does not follow the relay state - just blinks on every change #2325
seamaster101
started this conversation in
MEPLHAA Scripts
Replies: 2 comments 2 replies
-
LED is used as device status LED. To use as relay status LED, you must manage LED in the same way as relay (but inverted): {"c":{"io":[[[12,13],2],[[0],6]],"b":[[0,5]]},
"a":[{"0":{"r":[[12],[13,1]]},"1":{"r":[[12,1],[13]]},"b":[[0]]}]} |
Beta Was this translation helpful? Give feedback.
0 replies
-
@RavenSystem thank you for the reply. I did try your suggestion but unfortunately now the LED is on all the time regardless of the relay status. I did copy/paste directly form above, so I think i had it exactly as you suggested. please see the attached video |
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 have simple 1 channel Sonoff module and i run the following script:
{"c":{"io":[[[12,13],2],[[0],6]],"l":13,"b":[[0,5]]},
"a":[{"0":{"r":[[12]]},"1":{"r":[[12,1]]},"b":[[0]]}]}
everything works well, except the LED does not show me when the relay is on. it just blinks on every button press
How do I make LED turn on when relay is on?
Beta Was this translation helpful? Give feedback.
All reactions