HOW TO USE AN ESP8266 TO CONNECT TO QNAP QIOT SUITE LITE?

by sunnyyou in Workshop > Tools

1035 Views, 1 Favorites, 0 Comments

HOW TO USE AN ESP8266 TO CONNECT TO QNAP QIOT SUITE LITE?

3-7.jpg

In this tutorial, you will learn how to use MQTT to transmit and receive data to QIoT Suite Lite using an ESP8266. As the ESP8266 has different firmware, specifications and instructions, there are two common methods:

  • ESP8266 useing Arduino Core
  • ESP8266 useing AT Command combined with Arduino

Ready task (Using Arduino IDE to install the Library and establish IoT Application)

in This Example, We Use MQTT (for More Information, Visit Https://pubsubclient.knolleary.net/ ).

Add a New IoT Application (Refer to “How to Show DHT11 Data on QIoT Dashboard?

1-2.jpg

We use the “button“ and “led“ as examples (both Resource Name and Resource ID are “button“ and “led“).

. Go to the “Rule” Page, Connect Your Data From “button” to the Dashboard and Also Send the Status to Your Device.

104.jpg

Set Up QBroker Node: Set Up “button” Resource As “MQTT Message In”

104.jpg

Set Up QDashboard: Use the Name “Button”

1-5.jpg

Set Up Change Node: Move “msg.payload.value” to “msg.payload”

1-6.jpg

Set Up QBroker Node: Set Up “led” Resource As “MQTT Message Out”

1-7.jpg

Go to the “Dashboard” Page to See Your Button Status

1-8.jpg

For more examples of the json file, refer to the below link:

https://github.com/qnap-dev/qnap-qiot-sdks/blob/m...

Following steps could be available on official blog.

More Information About QNAP QIOT

More information about QNAP QIoT, please visit

https://www.qnap.com/solution/qiot-suite/en/

More Tutorial by visiting

https://www.qnap.com/en/how-to/tutorial