ThingSpeak Charts can be embedded into a WordPress blog by using the “embed” block.This allows you to embed a chart in blog posts, pages, and widgets.
Steps
- Find the ThingSpeak Chart that you want to embed.
- Click on the bubble icon next to the chart and copy the embed code
- On WordPress, add a new block and select the “Embed” type
- Paste the ThingSpeak embed code and click Embed
That was easy to do. Thanks.
This is a cool service, thanks for being so open!
Sadly, the wordpress.com web sites do not support iframes or javascript.
I guess that plugin will only work with the self-hosted wordpress.
I tried it; i see the chart but i don’t see the plotted point of my temperature sensor.
I used this code
[iframe_loader src=”https://api.thingspeak.com/channels/6007/charts/Temperature?round=2&average=60″]
Make a small change to the src link:
https://www.thingspeak.com/channels/6007/charts/1?round=2&average=60
ok it works!
I used for dynamic:
https://www.thingspeak.com/channels/6007/charts/1?dynamic=true
but i want to know why i had to use 1 as charts and not Temperature….and than why i had to change api.thingspeak.com in http://www.thingspeak.com
“api” will forward to “www” – charts act like a webpage and not necessarily as an API call. Either way will work though.
Also, each channel has 8 fields, we identify the fields by numbers, so charts/1 gives you the data for field 1 of the channel.
Glad it works. Let us know if you need anything else.
Hans
Hi again(i posted this in the other section but i didn’t have an answer),
now i would like to plot my float temperature values…i saw that “updateThingSpeak”expects a “String” as input, therefore i did a cast:
String temp = String(temper());
temper() returns a float but it doesn’t work; if i change the return of function temper() in int, it works, obviously.
How can i do to fix it?
i need to download the csv file of my channel in my android app.how can i do it?can you prefer me some links or tutorials to do it.