ThingsSpeak not receiving data from The Things Stack

3 visualizaciones (últimos 30 días)
Kevin
Kevin el 13 de Mzo. de 2025
Editada: Kevin el 19 de Mzo. de 2025
I have a ERS Co2 sensor. It is connected to the TTN and the TTN is receiving the data. I want to connect it to ThingSpeak.
First, I used the payload uplink formatter recommended by the ELSYS company in the TTN (See the file attached: Elsys_Sensor.txt).
After I went through some ThingSpeak tutorials - I used the payload uplink formatter in the file Elys_Sensor_Adapted with the program returning the required data in Fields.
Still the ThingSpeak doesnt receive any data.
Note: I used the Channel ID and the Write API in the TTN to add ThingSpeak as webhook.

Respuesta aceptada

Vinod
Vinod el 17 de Mzo. de 2025
Editada: Vinod el 17 de Mzo. de 2025
My recommendation is to reach out to Elsys for a working example. They have access to the sensors and, considering you have paid for the sensor, they should be in a better position to provide support than any of the free services you're using. I am happy to work with you and the Elsys point of contact to create a demo, if they are able to provide a sensor.
  1 comentario
Kevin
Kevin el 19 de Mzo. de 2025
Editada: Kevin el 19 de Mzo. de 2025
Hello Vinod,
Thanks for the recommendation. But I was able to solve the problem.
Now I have sensor data being sent from The Things Network to ThingSpeak.
The problem was actually with the decoder itself. The output variables were named Co2, Temperature, Humidity, Light and Motion (Which were the sensor output). But for ThingSpeak - it can only fetch decoder output named Field 1, Field 2 .. etc. (as far as I understand)
So, I renamed the sensor data decoder output to Field 1, Field 2 .. etc.
And finally ThingSpeak started to recieve the data and plot them in the fields.
Hope this helps someone who is also starting with ThingSpeak, like me.

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre ThingSpeak en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by