11
Jul 14

ThingSpeak Data Channels – Now With More Metadata

ThingSpeak user [DodBasim]  requested an additional field inside of the ThingSpeak Data Channel. We named this new field “metadata”. This field works like the “status” field, but allows you to post any type of extra data along with your ThingSpeak Data Channel. An example would be to use the “metadata” field to store a JSON object that you want to parse with your application.

POST https://api.thingspeak.com/update
     api_key=XXXXXXXXXXXXXXXX
     field1=73
     metadata={"officeTemp":73}

The full ThingSpeak Channels API is available on ThingSpeak Docs.

[via ThingSpeak Forums]



20
May 14

[Official Tutorial] Monitoring Linux Server Statistics

ThingSpeak can be used to easily monitor CPU usage %, memory usage %, and disk usage % on any Linux machine connected to the internet.

First, create a new Channel, and fill out the field names as follows: Field 1 = “CPU Usage (%)”, Field2 = “Memory Usage (%)”, Field 3 = “Disk Usage (%)”.

ThingSpeak Channel Settings

Next, add the open-source server statistics script to your server, which can be found at: https://raw.githubusercontent.com/iobridge/thingspeak/master/lib/server_stats.sh

Inside the script there’s an API Key variable, which should be replaced with your specific Channel’s API Key (leave the single quotes, and only replace the X’s): 

api_key='XXXXXXXXXXXXXXXX'

For the script to work properly, install the “bc” package via:

sudo apt-get install bc

Then make the script executable: 

chmod +x server_stats.sh

Finally, edit your crontab file:

crontab -e

Make the script execute every minute by adding this line to your crontab (make sure you use the proper path to the script): 

* * * * * /path/to/server_stats.sh

The script will then automatically POST server stats to the Channel specified by the API Key every minute.

You can see some of the ThingSpeak server statistics here:

 



09
May 14

ThingSpeak Selects Phusion Passenger Enterprise to Power its Internet of Things API

The servers behind ThingSpeak have been slammed with data from all kinds of IoT devices and applications. We recently upgraded the entire backend of ThingSpeak and increased capacity to support our growth. One of the key decisions in our redesign was to select Phusion Passenger Enterprise to power the ThingSpeak “Internet of Things” API. Phusion Passenger’s “hybrid evented, multi-threaded and multi-process design” is perfect for the Internet of Things pattern for applications.

ThingSpeak Phusion Passenger IoT Application

About Phusion Passenger

Phusion Passenger is a web server and application server for Ruby, Python, Node.js and Meteor web apps. It makes web app deployments a lot simpler and less complex, by managing your apps’ processes and resources for you.

What makes it so fast and reliable is its C++ core, its zero-copy architecture, its watchdog system and its hybrid evented, multi-threaded and multi-process design.



09
May 14

New Spline Charts for IoT Data Visualizations

Once your data gets into ThingSpeak, you than want to do something with it. A first step is to see the data. If the data are sensor values from a Nest thermostat for example, then you want to see it as a chart. We added a new way to visualize your data by adding Spline Charts! Spline Charts are super easy to create with ThingSpeak, just add “type=spline” to your ThingSpeak Chart API call. (And of course, once you have it as a chart, you may want to embed it on our ioBridge Dashboard application.)

Here’s what the new Spline Chart looks like:

Here’s a regular line chart:

And just as a reminder, here are all of the supported ThingSpeak Chart types:

  • type=bar
  • type=column
  • type=line
  • type=spline
  • type=step

For complete ThingSpeak Charts documentation, check out ThingSpeak Docs.



09
May 14

ThingSpeak Launches New Website

Things want to speak…

We keep hearing about how many Billions and Billions of things there will be connected. Just think about how much data that they will create! Yep, it’s Big Data, or even, Bigger Data. ThingSpeak is the only open data platform specifically designed for the Internet of Things available ‘in the cloud’ or on your own network to capture and distribute data from things.

A new homepage for ThingSpeak

When we look out into the Cosmos, we see Billions and Billions of stars and keep a fond memory of Carl Sagan in our hearts. As we connect this planet, we can’t but think of the scale and the magnitude that IoT will bring. Using this inspiration, we launched the new ThingSpeak.com!

ThingSpeak Homepage

Carl Sagan said, “We have lingered long enough on the shores of the cosmic ocean, we are ready at last to set sail for the stars.” We believe the same about the Internet of Things! Let’s get going!



06
May 14

[Official Tutorial] Connecting Electric Imp to ThingSpeak IoT Data Services

Build Open Data Applications with Electric Imp and ThingSpeak!

Electric Imp is a connectivity platform for connecting Wi-Fi devices to cloud services, much like RealTime.io and Iota Wi-Fi modules and Spark.io. Some Electric Imp module’s come in an SD card form factor and adds Wi-Fi connectivity to what’s connected to the Electric Imp module. Access to the Electric Module happens via the Electric Imp cloud. While connectivity is simplified with the Electric Imp system, you will need a data service like ThingSpeak to complete the Internet of Things experience. Once data from Electric Imp devices are in ThingSpeak, you can easily build applications and interactivity with other devices and platforms.

Electric Imp to ThingSpeak Internet of Things

We put together a quick start tutorial for the Electric Imp and ThingSpeak, so you can quickly and easily get the Electric Imp talking to ThingSpeak. The tutorial uses parts from SparkFun – the Electric Imp Wi-Fi SD module, breakout board, and USB cable / power supply.

Get started now…  Check out the official Electric Imp and ThingSpeak Tutorial and source code on GitHub.



17
Apr 14

Battery-powered Temperature Logger with ThingSpeak + Electric Imp

[Marcus Olsson] of slickstreamer made a battery-powered temperature logger using ThingSpeak to store and visualize the data collected. He chose the Electric Imp Wi-Fi module for connectivity. The project is complete with a 3D printed case.

ThingSpeak Electric Imp Temperature Logger

All of the source code to connect Electric Imp to ThingSpeak and the 3D printer design files are available on Marcus’ blog ‘slickstreamer‘.

[slickstreamer / Dangerous Prototypes]



04
Apr 14

Cigar Humidor Updates Twitter — Powered by ThingSpeak and Arduino #iot

[C.A.V.A.] created a cigar humidor with a social life. A humidor stores cigars in a humidity controlled environment to maintain freshness, but this special humidor sends the humidity sensor value to ThingSpeak and alerts Twitter when you need to add water. The project uses a humidity sensor and an Arduino Ethernet to post the data to the ThingSpeak API.

ThingSpeak Cigar Humidor IoTMi Humidor de Cigarros conectado a Internet por medio de un Arduino.

C.A.V.A. has more info about the project, parts list, and photos on his website.

[via CAVA]



13
Feb 14

The Top 10 Internet of Things Countries According to ThingSpeak Stats

In 2013, ThingSpeak was used in 158 countries and territories. The vast majority of the traffic came from countries in North America, Europe, Australia, and South America. ThingSpeak is growing quickly around the world!

ThingSpeak IoT World Map

The Top 10 Internet of Things Countries*

  1. United States
  2. France
  3. Poland
  4. United Kingdom
  5. Germany
  6. Netherlands
  7. Australia
  8. Canada
  9. Italy
  10. Brazil

*According to ThingSpeak Usage Stats



21
Jan 14

Introducing TalkBack, the New Internet of Things App to Control Things with the ThingSpeak Cloud

Introducing… TalkBack!

We have developed a new ThingSpeak App and it is available now to all ThingSpeak Users.

The new TalkBack App allows devices to check ThingSpeak for commands to execute. TalkBack is perfect for battery-powered devices that need to sleep most of the time and wake up to see if there is anything to do and then go back to sleep, like a door lock for example. The lock is mostly going to be asleep to save battery power, but it can wake up periodically and check TalkBack or be woken up by a button press to see if it should be opened or not.

Devices powered by ThingSpeak and now with TalkBack will be able to both push sensor data to the ThingSpeak Cloud and check TalkBack if any commands are available all in one request. To get started, we have the complete TalkBack API Documentation and an Arduino Yún Tutorial available now.

ThingSpeak TalkBack to Cloud

Atmel-powered Arduino Yún Tutorial

With the release of TalkBack, we created a tutorial for the Arduino Yún. The “Yún” is a special combination of easy-to-program Arduino with an additional processor, an Atheros AR9331, running Linux and the OpenWrt wireless stack. Programming the Arduino via USB is identical to the Arduino Leonardo. Once the Arduino Yún is connected to Wi-Fi, the Arduino has full access to ThingSpeak Cloud Services and the TalkBack App and API. Check out the Controlling the Arduino Yún with TalkBack tutorial for a step-by-step way of controlling the Arduino Yún via TalkBack and the ThingSpeak Cloud.

Arduino Yun ThingSpeak TalkBack Tutorial

TalkBack is available now to all ThingSpeak Users and to new users by Sign Up for Free at ThingSpeak.com! Please feel free to share with us and the ThingSpeak Community with the awesome ways you use TalkBack with your ThingSpeak Projects!