Foreword
Use Basics section of this code tests
https://www.cnblogs.com/yangfengwu/p/11760590.html
According to the article, please test good communication control
prompt
Equipment subscribed threads user / Wi-Fi MAC address
Advertised topics device / Wi-Fi MAC address
Column such as:
Then my
Equipment subscribed threads: user / dc: 4f: 22: 10: b8: 42
Advertised topic: device / dc: 4f: 22: 10: b8: 42
Subscribe to publish web pages and fill in the corresponding
http://47.92.31.46/MqttDebugWeb This is my,
Now the end of the page MQTT debugging assistant on access to the temperature and humidity data sent by the device
Control relay
{"data":"switch","bit":"1","status":"1"}
Control relay off
{"data":"switch","bit":"1","status":"0"}
Remote control home appliances using the web
Maximum support 10A, pay attention to safety!
Ali cloud platform connected
Eat in ...