Thingspeak API - multiple fields
-
Hello,
I'm stuck on a problem sending data on the thingspeak platform (ENV â…£ Unit).
I can't send multiple data at the same time on thingspeak. On the other hand, only one data works.Examples (url_thingspeak):
1. only one send works:
http://api.thingspeak.com/update?api_key=AS000000001&field6=1
2. Multiple data sends do not work, I tried several solutions:
http://api.thingspeak.com/update?api_key=AS000000001&field6=' + pression + '&field7=' + temperature + '&field8=' + humidity
http://api.thingspeak.com/update?api_key=AS000000001&field6= + pression + &field7= + temperature + &field8= + humidity
This may be a basic question, but I can't find the solution as a beginner :-(.
Thanks for your help

-
Hello @m5oss
try something like below:

or try using an
Execute Codeblock with this content:url_thingspeak = 'http://api.thingspeak.com/update?api_key=A00000056&field1=' + str(pression) + '&field2=' + str(temperature) + '&field3=' + str(humidity)Thanks
Felix -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login