Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bitcodr/esp8266-mqtt
- Owner: bitcodr
- Created: 2020-08-21T15:29:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T16:18:46.000Z (over 4 years ago)
- Last Synced: 2024-12-22T18:02:53.011Z (about 2 months ago)
- Topics: c, cpp, esp8266, esp8266-arduino, esp8266mqtt, mqtt, mqtt-broker
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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