https://iotcircuithub.com/esp8266-firebase-iot-project-relay-control/
ESP8266 Firebase IoT Project – Relay Control via Web-UI, Switch & EEPROM