Skip to content

Gitshaoxiang/ESP32-WIFI-MESH-SmartHome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-WIFI-MESH-SmartHome

Espressif ESP-IDF version:

Configure the project

idf.py menuconfig
//Example Connection Configuration:
Set Router SSID
Set Router Password
Set MQTT HOST
Set PUBLISH_TOPIC
Set SUBSCRIBE_TOPIC

config_01

Modify Control section

// Modify the action performed after receiving the data at the MQTT callback "MQTT_EVENT_DATA"
// mqtt_app.c :43

case MQTT_EVENT_DATA:
    ESP_LOGI(TAG, "MQTT_EVENT_DATA");
    ESP_LOGI(TAG, "TOPIC=%.*s", event->topic_len, event->topic);
    ESP_LOGI(TAG, "DATA=%.*s", event->data_len, event->data);

APP

The supporting uniapp supports MQTT communication, touch the control panel to send the specified topic to realize device control. Support custom adding topic.

app_01

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published