Skip to content

chikne97/wifiSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

WifiSwitch

  1. Make a simple webserver with timer and a switch.

  2. It helps in operating anything with esp8266 and a relay. NOT TESTED ON ESP32

  3. I am using it to operate my router switch.

  4. One major flaw is that, since it is dependent on the Wifi, so once you turn the router off via webserver, there is no way to turn it on as the webserver would be gone.

  5. I have added the timer to turn it back on at a specified time.

  6. In certain cases, router turns on but internet doesn't works. At that time we turn off the router and turn it back on again. That facility is also provided in the code, just in case.

  7. You can add a RTC if required (for timer operation, as internet would be off if you use this to turn off router). Since, I used a readily available Relay Module which didn't had any RTC, I used one of my ESP in Aquarium project (I'll add link soon) to send time to this module via ESP NOW technology.

  8. It can remember the timer state using SPIFFS memory on ESP8266

  9. Supports OTA Updates

Module I used:
chikne97 wifiswitch
ESP8266 10A DC 7-30V Network Relay WIFI Module

Demo Preview:
chikne97 wifiswitch