@AdySan need to ask you again something lol - for off state in your sketch you are not expiclitly sending and off mqtt comannd. So how frequent does then the on command need to be sent for the light to remain turned on. How is it with the duration of shown color light? And how is it in my slightly modified sketch :), I can send you pastebin if you will look at it within 24h then this link is valid - http://pastebin.com/zczMnL30
@Makuna there isn't any strip.Stop() function right? http://pastebin.com/zczMnL30 I'm curious about the on and off state here, since its off when else is true, which means when mqtt on is not sent, but then at what time frequency does mqtt message sent need to be sent for the lights to remain on. Same goes for the HSL values. Hope you get me what I want to ask
The lights will stay at what ever state you last set them to. They do not automatically turn off. So when you call 'show()' they will remain at that color until you call 'show ()' again or they are powered off.
' if(pub.payload_string() == "on")', so if any other payload than "on" comes through, you set all the pixels to black or off. I don't think this is correct, you should only turn them off if you get an "off" command.