Making a warning light controlled by msg.payload?

Alex,
Thanks for the nice feedback!
BTW when you are playing with lights, there are some tutorials on our wiki. And - not sure if that is useful for you - an experiment with light sources in SVG...
Have fun with it!