2017年10月22日 星期日

Use MQTT to Send IoT Data to ThingSpeak


Use MQTT to Send IoT Data to ThingSpeak 4

Posted by Hans Scharler
MQTT is a common protocol used in IoT systems to connect low-level devices and sensors. MQTT is used to pass short messages to and from a broker. ThingSpeak has recently added an MQTT broker so devices can send messages to ThingSpeak. A message might contain the current temperature in an office collected by a sensor. ThingSpeak takes the message and stores its content in a ThingSpeak channel. Once the data is in a channel, you can easily visualize and analyze the data with MATLAB code.
The ThingSpeak MQTT broker is available now to all ThingSpeak users!
To help users get started using MQTT to send data to ThingSpeak, we have created some examples for common devices and applications that support MQTT.
If your device or application is not able to use MQTT directly, we have also enabled WebSockets. Using MQTT over WebSockets allows devices to use the MQTT protocol to send messages behind a firewall. We also support secure sockets to encrypt the messages that are being sent to ThingSpeak.
To learn how to use MQTT with ThingSpeak, please review our documentation. Let us know what you build with this new capability.

沒有留言:

張貼留言

Messaging API作為替代方案

  LINE超好用功能要沒了!LINE Notify明年3月底終止服務,有什麼替代方案? LINE Notify將於2025年3月31日結束服務,官方建議改用Messaging API作為替代方案。 //CHANNEL_ACCESS_TOKEN = 'Messaging ...