11-06-2020, 03:00 AM
Dear Admin
I have installed the ui-led.
i have followed the example but my led won't change color when i OFF the relay.
There is a Java Script in the Function Node which i copied from your example.
The output of the relay is: RELAY-SET-255,1,1,OK which i have output on the debug screen.
Can the Java Script change the RELAY-SET-255,1,1,OK into LED status?
Maybe need to modify the Java Script as this is more for "True" or "False" but debug shows "1" for "ON" and "0" for "OFF"
I have installed the ui-led.
i have followed the example but my led won't change color when i OFF the relay.
There is a Java Script in the Function Node which i copied from your example.
The output of the relay is: RELAY-SET-255,1,1,OK which i have output on the debug screen.
Can the Java Script change the RELAY-SET-255,1,1,OK into LED status?
Maybe need to modify the Java Script as this is more for "True" or "False" but debug shows "1" for "ON" and "0" for "OFF"
Thank You
Regards
Subas
Regards
Subas

