You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ruel Tmeizeh df67da69d4 Initial Commit 7 years ago
README.md Initial Commit 7 years ago
mqtts_esp8266_sw_quad.ino Initial Commit 7 years ago

README.md

Warning: messy code!

This code is for an ESP8266 based IoT smartswitch, which connects to an MQTT server (via WiFi) and listens for instructions. The code is based on the example Arduino code for MQTT communication from the Adafruit MQTT library.

For this particular implementation, I used an ESP-01 module, and since it only gives 2 outputs (GPIO 0 and GPIO 2), I also used the serial TX/RX pins to give 2 more outputs. The serial code is still there, but commented.