This repository contains code for ESP8266(NodeMCU 1.0 Black) to control two relays from a web server hosted in local network.
In ( Relay 1 ) ==> D1
VCC ( Relay 1 ) ==> 3V
GND ( Relay 1 ) ==> G
In ( Relay 2 ) ==> D2
VCC ( Relay 2 ) ==> 3V
GND ( Relay 2 ) ==> G