The ThingSpeak IoT platform enables clients to update and receive updates from channel feeds via the ThingSpeak MQTT broker. MQTT is a publish/subscribe communication protocol that uses TCP/IP sockets or WebSockets. MQTT over WebSockets can be secured with SSL. A client device connects to the MQTT broker and can publish to a channel or subscribe to updates from that channel.
Learn about the publish/subscribe architecture for connecting bandwidth and power-constrained devices over wireless networks.
Learn when to use REST and MQTT to update a channel.
This example shows how to use a desktop MQTT client to publish and subcribe to a channel.
This example shows how to use WebSockets on port 80 to publish to a ThingSpeak channel using a Raspberry Pi board that runs Python.
This example shows how to use a Particle Photon board to subscribe to channel updates from the CheerLights channel.