Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bitcodr/esp8266-mqtt

MQTT subscription in ESP8266 board
https://github.com/bitcodr/esp8266-mqtt

c cpp esp8266 esp8266-arduino esp8266mqtt mqtt mqtt-broker

Last synced: 11 days ago
JSON representation

MQTT subscription in ESP8266 board

Awesome Lists containing this project

README

        

# MQTT subscription in ESP8266 board

## Configuration

> const char *ssid = "your wifi name";

> const char *password = "your wifi password";

> const char *serverHostname = "mqtt host name or use broker.hivemq.com for development";

> const char *topic = "mqtt topic name";

Compile the code to the board with VSCode PlatformIO or Arduino IDE, Publish a message like `on` to the MQTT broker you'll see the board built-in LED turns on and send `off` for turning off built-in LED