node-red-contrib-ui-led
node-red-contrib-ui-led copied to clipboard
led is grey if msg.socketid is set
Describe the bug If led node is given any data while msg.socketid is also set, then it is rendered as a grey led.
To Reproduce Set up an led that reacts to boolean. Add two injects, one with e.g. boolean true, one with boolean false. In one of the inject nodes set msg.socketid to some value, e.g. string 12345. Deploy, and test both injects. The one that sets msg.socketid will cause a grey led.
Expected behavior Naive assumption: led is not grey :-) But actually I'm not sure, maybe this is WAI and just needs better documentation?
Screenshots (n/a, trivial to replicate)
Versions
- node-red-contrib-ui-led: 0.4.11
- node-red: 2.0.6
- node-red-dashboard: 3.0.4
Platform
- OS: Windows, Mac
- Browser: Chrome
- Version: current
Additional context I ran into the same problem with the ui_control node in dashboard itself, filed node-red/node-red-dashboard#731