Turn on led with web server

Good evening, I have a software in python that when there is a problem sends me a notification on the mobile through the WEBHOOKS server with IFTTT. I also want to make a led light up with an ESP-32 / ESP-8266 when python sends the notification. How can I do?

set up a basic esp webserver
make a resource available to switch on / off a led
send from any client the command to switch on / off the led - this can be a webhook from IFTTT.

randomnerd has a ton of free examples

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.