/espsemaphore

ESP8266 WiFi semaphore

Primary LanguageC++

ESP-01 SEMAPHORE

ESP-01 Wifi Semaphore

Red light = GPIO2
Green light = GPIO0

Usage:

  • change your ESP-01 name in auxiliar.ino on dweetThingName constant
  • change SSID's data with your own SSID and PSK in config.json
  • Compile skecth and upload to ESP-01
  • Upload Data folder to ESP-01. If plugin is not instaled on Arduino IDE, install it in https://github.com/esp8266/arduino-esp8266fs-plugin
  • If WiFi credentials are not set in config.json file, ESP will run WiFi Manager interface at start
  • Get your ESP-01 IP address: https://dweet.io/follow/your_dweetThingName or use hostname provided for ESP8266WEBSERVER library
  • Interact with your ESP-01: http://your_ip_address_or_hostname
    ESP Semaphore
  • GET requests returning Json: http://your_ip_address_or_hostname/set?green=on or red=on
  • Request status: http://your_ip_address_or_hostname/status