Leer datos del canal
Use las API REST y MQTT para leer canales usando software o dispositivos
ThingSpeak™ es una plataforma IoT que utiliza canales para almacenar datos enviados desde aplicaciones o dispositivos. Puede leer datos de sus canales ThingSpeak utilizando las llamadas HTTP y la API REST . Puede usar el método de suscripción MQTT para recibir mensajes siempre que se actualice el canal. Y puede usar thingSpeakRead
para leer datos de su canal en MATLAB de escritorio. Obtenga más información sobre cuándo Choose Between REST API and MQTT API para actualizar un canal.
API REST
API de MQTT
Funciones
Temas
Elija cómo leer datos
- Choose Between REST API and MQTT API
Learn when to use REST and MQTT to update a channel. - Publish and Subscribe to a Channel Using Desktop MQTT Client
This example shows how to use a desktop MQTT client to publish and subcribe to a channel.
Leer datos con Arduino o Particle Photon
- Prototyping with Sonar Proximity Sensor
This example shows how to prototype with ThingSpeak™ using a Wi-Fi connected Arduino® board.
Leer datos con ESP8266
- Post Temperature Data and Read from Channel
This example shows how to collect environmental data from a device and post it from your device to a ThingSpeak™ channel. - Moisture Sensor using HTTP POST Requests to Channel
This example shows how to post multiple fields of data to a ThingSpeak™ channel from a device that wakes from deep sleep. - Bulk-Update Using an Arduino or an ESP8266
This example shows how to use either an Arduino® MKR1000 board or an ESP8266 board connected to a Wi-Fi® network to continuously collect Wi-Fi signal strength and bulk-update a ThingSpeak™ channel.
Leer datos con ESP32
- Wireless Network Signal Strength with ESP32 with Arduino IDE
This example shows how to use the wireless network functionality of ESP32 to post data to ThingSpeak™.
Información relacionada
Solución de problemas
See the details of ThingSpeak REST API error messages and corresponding HTTP status codes.
Common mistakes and problem resolution for subscribing to ThingSpeak.