Skip to content

Code in NodeMCU ESP8266 CP2102, play in role of subscribing topic and controlling device

Notifications You must be signed in to change notification settings

VSC-FU2019/Smart-Home-Device-ESP8266

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smart-Home-Device-ESP8266

ESP8266 connect to MQTT broker, subscribe for topic corresponding to device ("light", "fan", ...)

When new message come, control device on/off based on message

IDE: Arduino IDE 1.8.7

Boards: - esp8266 by ESP8266 Community version 2.5.2

Configure board: - Board: "NodeMCU 1.0 (ESP-12E Module)" - Upload speed: "115200" - CPU Frequency: "80 MHz" - Flash size: "4M (3M SPIFFS)" - IwIP Variant: "v2 Lower Memory" - VTables: "Flash" - SSL Support: "All SSL ciphers(most compatible)" - Programmer: "Parallel Programmer"

Library: - PubSubClient by Nick O'Leary version 2.7.0 - ArduinoJson by Benoit Blanchon version 6.11.3 - Adafruit SleepyDog Library by Adafruit version 1.1.3

About

Code in NodeMCU ESP8266 CP2102, play in role of subscribing topic and controlling device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages