In the repository ESPEasyPluginPlayground I discovered plugin event.

As an event source can be:

  • Boot
  • SensorValue
  • Timer
  • UserEvent
  • Clock

The picture shows a simple thermostat, which controls GPIO-15.

ESPEasy simple thermostat

For use just copy _P103_Event.ino file to a directory with a ESPEasy, compile and load into ESP8266.