I too use a few ESP's with Leds. I set the colours with a switch and put the http request in "on action" (when you edit the switch from the switches menu).
Does that work for you too?
Hello, I am new to this forum, so please let me know if this topic should be put somewhere else. At this moment I use a Sonoff S20 with tasmota firmware and a BME280 sensor connected to it. I have no problems at all with this code (will show the problem in a bit!) I send a http request : http://192 ...