Go Down

Topic: ThingSpeak Client to Connect Arduino to the Internet (Read 6 times) previous topic - next topic

spumanti

Looks promising.
Will definately give it a try, now that I got my ethernet shield :)

The things that I am interested in would be to
-store/view historical data of my setup.
-add alarm conditions to various signals that are monitored, and send notifications based on the alarm conditions.
-schedule actions / timed actions for home control etc (ie switching on the ligt at 7 am...)


Will get back to you when I test further :)

spumanti

Hi again.

So I have had a go at gathering some temperature data, and storing them on ThingSpeak.
Works great, so far... (except that for some reason, it stopped logging at 04:00 this morning)... anyway.   :smiley-fat:

If the developers over at ThingSpeak are listening in, I have a feature request:

Add a display, that will only show the latest reading from the chart/field. -and display it as a number in a little neat box (no graph).
That way, for any stored data on ThingSpeak, it would be possible to see the historical data, and also the most current value.

The same idea for digital values: make a text display, where you can assign some text for each value. Example: 0 = off  /  1 = on   etc...
That way it would be really easy to build up a webpage, and include all the info from ThingSpeak, to show current and historical status of whatever is monitored.


Nice service by the way  8)

willnue

Spumanti,
You can use the ThingSpeak API to get the last value for a given channel.
Quote
Retrieving the Last Entry in Channel Feed
Method: POST or GET
Feed URL: http://api.thingspeak.com/channels/(channel_id)/feed/last.(format)


For example to get the last value of my Outdoor temperature sensor (public channel #233) click the following link:
http://api.thingspeak.com/channels/233/feed/last

You could use some Javascript to go get the last value then parse the result and format it however you like on your web page. Note, if you don't want to make your channel public you can also generate a Read API key and pass that to the API. Check out the ThingSpeak API docs for more info:
http://community.thingspeak.com/documentation/api/

You could also use one of their existing plugins to render a Google Gauge. See the following post for more info:
http://community.thingspeak.com/tutorials/google/display-a-google-gauge-visualization-using-thingspeak-plugins/

willnue

Go Up