http GET/WRITE example (ThingSpeak)

by Seyhan Özen

Version 1 (November 1, 2024)

Download (19 downloads)

This flow gives a simple template example for HTTP GET/WRITE usage on ThingSpeak. At first, you must prepare your ThingSpeak channel settings from thingspeak.mathworks.com and set your Write-apikey and Channel Number using the Variable Set blocks in this flow.

To Write:
https://api.thingspeak.com/update?api_key={apikeyW}&field1={var1}&field2={var2}&field3={var3}
(Only supported up to 8 fields by ThingSpeak)

To Read from channel:
https://api.thingspeak.com/channels/{ChannelNo}/feeds.json?results=1
(For last n log, set result=n)

You can modify this flow for other http get/write services.