Skip to content

Relay Control via Web UI using MQTT protocol over WiFi-ESP8266 module

Notifications You must be signed in to change notification settings

Biged2017/esp8266-mqtt-relay-control

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relay Control via Web UI using MQTT protocol over WiFi-ESP8266 module

Requirements:

  • ESP8266 Module
  • Arduino core for ESP8266 (version 2.2.0 minimum)
  • Basic knowledge of the Arduino environment (upload a sketch, import libraries, ...)

Run MQTT Server:

Docker mode:

  • Build image and run container (first time)
make run
  • Start container on interactive mode
make start-i
  • Start container on detached mode (background)
make start-d
  • Stop container
make stop

Prepare ESP8266 Module:

Install Arduino Client for MQTT

  • Download PubSubClient library
  • Load the .zip with Sketch → Include Library → Add .ZIP Library

Upload Sketch

Access to Web UI

Navigate to http://localhost

About

Relay Control via Web UI using MQTT protocol over WiFi-ESP8266 module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 39.3%
  • JavaScript 36.4%
  • HTML 16.2%
  • Makefile 8.1%