https://www.geekcraftery.com/building-an-iot-relay-control-system-with-esp8266-and-firebase/