Unable to post to Thingspeak channel via TCP
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dear Mr.:
I've got problem for uploading data to my channe. I am not been able to post (via Get sentence) in my channel (949075) for trials, although I'm getting the right answer from your server. I can see that data is not uploading because it is not appearing in downloaded files. I have been able to post (same Get way) but I had to change Arduino sketch because it was not stable. Is now that it is stable, because I am getting the right sequence of messages from your server. It took a lot of time and trials before I have been able to upload data.
Could you, please, help me for solving issue?
Please, let me know if I should do anything by my side.
Thank you very much in advance.
Emilio Rubio.
1 comentario
Christopher Stapels
el 17 de En. de 2020
Editada: Christopher Stapels
el 21 de En. de 2020
How do you know the data is not uploading? When you look at the data in your channel, do you get no entires? You can use the format
To see the data in your channel. (replace the x with your read api key)
Do you see the data you posted there with that url?
If you are using an arduino, I reccomend the ThingSpeak communication Library for Arduino - it does most of the posting work for you and makes sure to get the sequences correct.
Respuestas (2)
Christopher Stapels
el 17 de En. de 2020
No problem. If you look at the code in the doc examples, the way I generally do it is to check the connection for each loop, but im my experience, the connection will stay unless you go out of wifi range. I would really reccomend using the ThingSpeak Arduino library to manage your connection.
0 comentarios
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
Categorías
Más información sobre Read Data from Channel en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!