ThingsSpeak not receiving data from The Things Stack

4 次查看(过去 30 天)
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.

采纳的回答

Vinod
Vinod 2025-3-17
编辑:Vinod 2025-3-17
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 个评论
Kevin
Kevin 2025-3-19
编辑:Kevin 2025-3-19
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.

请先登录,再进行评论。

更多回答(0 个)

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 ThingSpeak 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by