API – Internet of Things https://blogs.mathworks.com/iot Hans Scharler is an Internet of Things pioneer. He writes about IoT and ThingSpeak IoT platform features. Wed, 04 Aug 2021 15:23:24 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 ThingSpeak MQTT Update: Access Control and IoT Device Management https://blogs.mathworks.com/iot/2021/07/21/thingspeak-mqtt-update-access-control-and-iot-device-management/?s_tid=feedtopost https://blogs.mathworks.com/iot/2021/07/21/thingspeak-mqtt-update-access-control-and-iot-device-management/#comments Wed, 21 Jul 2021 21:36:11 +0000 https://blogs.mathworks.com/iot/?p=2819

ThingSpeak has released an update to the MQTT service that improves access control and device management for IoT projects. This new interface is available to all ThingSpeak users. Learn more in the... read more >>

]]>
ThingSpeak has released an update to the MQTT service that improves access control and device management for IoT projects. This new interface is available to all ThingSpeak users. Learn more in the ThingSpeak Doc.

If you have used ThingSpeak MQTT in the past, I wanted to mention one big change to how you access the service. The new MQTT service is available at the hostname: mqtt3.thingspeak.com.

If you decide that MQTT is right for your IoT project, you can start by adding a new device to your ThingSpeak account. This will set up the MQTT credentials needed for the device to connect to ThingSpeak. MQTT works well for low-power devices and low-latency applications.

ThingSpeak’s new MQTT support includes:

  • Improved access control
  • More concurrent subscriptions
  • Device management
  • Streamlined topic patterns to make coding easier

We’ve updated our documentation to include several new MQTT examples with code for the new interface. We have added a new example to secure the transmission of data between devices and ThingSpeak.

]]>
https://blogs.mathworks.com/iot/2021/07/21/thingspeak-mqtt-update-access-control-and-iot-device-management/feed/ 4
ThingView – Mobile App to See ThingSpeak Charts on Android Devices https://blogs.mathworks.com/iot/2016/04/21/thingview-mobile-app-to-see-thingspeak-charts-on-android-devices/?s_tid=feedtopost https://blogs.mathworks.com/iot/2016/04/21/thingview-mobile-app-to-see-thingspeak-charts-on-android-devices/#comments Thu, 21 Apr 2016 20:02:53 +0000 https://blogs.mathworks.com/iot/?p=1793

Cinetica has released to Google Play, a new app to see ThingSpeak charts on Android smartphones and tablets. The app is called ThingView and has already reached 5,000 installs on Android... read more >>

]]>
Cinetica has released to Google Play, a new app to see ThingSpeak charts on Android smartphones and tablets. The app is called ThingView and has already reached 5,000 installs on Android devices!

ThingView Android App for ThingSpeak Charts

Even if you do not have devices and sensors sending data to ThingSpeak, you can still use ThingView to see public channels. For example, if you want to see the charts created by sensors in my house, just add Channel ID 9 to ThingView. You see charts of light levels and temperature generated by my house.

Check out ThingView on Google Play!

]]>
https://blogs.mathworks.com/iot/2016/04/21/thingview-mobile-app-to-see-thingspeak-charts-on-android-devices/feed/ 5
Send Windows Server Data to ThingSpeak using PowerShell https://blogs.mathworks.com/iot/2015/03/13/send-windows-server-data-to-thingspeak-using-powershell/?s_tid=feedtopost https://blogs.mathworks.com/iot/2015/03/13/send-windows-server-data-to-thingspeak-using-powershell/#respond Fri, 13 Mar 2015 15:57:50 +0000 https://blogs.mathworks.com/iot/?p=1427 Do you maintain Windows Servers? If so, you might want to track server resources. ThingSpeak accepts data from anything and fits perfectly for server monitoring, visualization, and analysis.... read more >>

]]>
Do you maintain Windows Servers? If so, you might want to track server resources. ThingSpeak accepts data from anything and fits perfectly for server monitoring, visualization, and analysis. [NotHans] released a PowerShell Script to report Windows Server disk free space to ThingSpeak. Once in ThingSpeak, use a ThingSpeak to visualize server resources and send alerts to low disk space with ThingSpeak React. Use this PowerShell Script as a starter script to send data to ThingSpeak from Windows-based systems. Check out the open source script on GitHub.

[via GitHub]

]]>
https://blogs.mathworks.com/iot/2015/03/13/send-windows-server-data-to-thingspeak-using-powershell/feed/ 0
ThingSpeak Used to Track Luggage for Travel Internet of Things Applications https://blogs.mathworks.com/iot/2015/01/16/thingspeak-used-to-track-luggage-for-travel-internet-of-things-applications/?s_tid=feedtopost https://blogs.mathworks.com/iot/2015/01/16/thingspeak-used-to-track-luggage-for-travel-internet-of-things-applications/#comments Fri, 16 Jan 2015 23:01:41 +0000 https://blogs.mathworks.com/iot/?p=1378

Chris Forsberg created an example Internet of Things project to track luggage using ThingSpeak, an Adafruit GSM Module, and an Arduino. He built a simple system to send data to ThingSpeak, such as... read more >>

]]>
Chris Forsberg created an example Internet of Things project to track luggage using ThingSpeak, an Adafruit GSM Module, and an Arduino. He built a simple system to send data to ThingSpeak, such as latitude, longitude, and status data. ThingSpeak exposes a data channel API for any system like this to being able to store data and then process the data.

ThingSpeak Travel IoT Project

The idea is that it is frustrating waiting for luggage at the airport and wondering where it is and why it is not on the baggage carousel. With this project, you can track luggage from start to finish. The advantages are not only for the traveler, the airlines could track luggage as well and get quality statistics for each airport. And, the base system has many applications outside of travel such as the Automotive Industry.

Chris explains the project really well on his blog and with a YouTube video.

]]>
https://blogs.mathworks.com/iot/2015/01/16/thingspeak-used-to-track-luggage-for-travel-internet-of-things-applications/feed/ 1
ThingSpeak Data Channels – Now With More Metadata https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/#comments Fri, 11 Jul 2014 19:35:49 +0000 https://blogs.mathworks.com/iot/?p=1269 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,... read more >>

]]>
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]

]]>
https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/feed/ 3
[Official Tutorial] Monitoring Linux Server Statistics https://blogs.mathworks.com/iot/2014/05/20/official-tutorial-monitoring-linux-server-statistics/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/05/20/official-tutorial-monitoring-linux-server-statistics/#comments Tue, 20 May 2014 19:32:23 +0000 https://blogs.mathworks.com/iot/?p=1244

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... read more >>

]]>
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:

 

]]>
https://blogs.mathworks.com/iot/2014/05/20/official-tutorial-monitoring-linux-server-statistics/feed/ 2
ThingSpeak Selects Phusion Passenger Enterprise to Power its Internet of Things API https://blogs.mathworks.com/iot/2014/05/09/thingspeak-selects-phusion-passenger-enterprise-to-power-its-internet-of-things-api/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/05/09/thingspeak-selects-phusion-passenger-enterprise-to-power-its-internet-of-things-api/#respond Fri, 09 May 2014 20:47:52 +0000 https://blogs.mathworks.com/iot/?p=1236

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... read more >>

]]>
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.

]]>
https://blogs.mathworks.com/iot/2014/05/09/thingspeak-selects-phusion-passenger-enterprise-to-power-its-internet-of-things-api/feed/ 0
New Spline Charts for IoT Data Visualizations https://blogs.mathworks.com/iot/2014/05/09/new-spline-charts-for-iot-data-visualizations/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/05/09/new-spline-charts-for-iot-data-visualizations/#comments Fri, 09 May 2014 20:15:18 +0000 https://blogs.mathworks.com/iot/?p=1227 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... read more >>

]]>
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

For complete ThingSpeak Charts documentation, check out ThingSpeak Docs.

]]>
https://blogs.mathworks.com/iot/2014/05/09/new-spline-charts-for-iot-data-visualizations/feed/ 3
Cigar Humidor Updates Twitter – Powered by ThingSpeak and Arduino https://blogs.mathworks.com/iot/2014/04/04/cigar-humidor-updates-twitter-powered-by-thingspeak-and-arduino/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/04/04/cigar-humidor-updates-twitter-powered-by-thingspeak-and-arduino/#comments Fri, 04 Apr 2014 19:11:56 +0000 https://blogs.mathworks.com/iot/?p=1178

CAVA 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... read more >>

]]>
CAVA 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 and ThingTweet to send messages to Twitter.

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

]]>
https://blogs.mathworks.com/iot/2014/04/04/cigar-humidor-updates-twitter-powered-by-thingspeak-and-arduino/feed/ 2
Introducing TalkBack, the New Internet of Things App to Control Things with the ThingSpeak Cloud https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comments Tue, 21 Jan 2014 16:55:13 +0000 https://blogs.mathworks.com/iot/?p=1152

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.... read more >>

]]>
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!

]]>
https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/feed/ 8
ThingSpeak Java Client for “Internet of Things Applications” https://blogs.mathworks.com/iot/2014/01/19/thingspeak-java-client-for-internet-of-things-applications/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/01/19/thingspeak-java-client-for-internet-of-things-applications/#respond Sun, 19 Jan 2014 17:57:01 +0000 https://blogs.mathworks.com/iot/?p=1122

[Andrew Bythell] created a ThingSpeak Java Client for the complete ThingSpeak API. This Java Client makes it really easy for Java (or Processing) developers to add cloud connectivity to applications... read more >>

]]>
[Andrew Bythell] created a ThingSpeak Java Client for the complete ThingSpeak API. This Java Client makes it really easy for Java (or Processing) developers to add cloud connectivity to applications and non-networked devices. “The purpose of the ThingSpeak Java client is to enable non-networked Device-to-ThingSpeak gateways and other applications for performing advanced analysis of data feeds,” said Andrew.

Java ThingSpeak Client IoT

So, by using Java, a simple “Hello World” app becomes this easy…

Channel channel = new Channel(channelNumber, apiWriteKey);
Entry entry = new Entry();
entry.setField(1, "Hello World");
channel.update(entry);

 

All of the source code and documentation are available on GitHub. Get started right away with building your Internet of Things with the Java Programming Language and the ThingSpeak Cloud.

Excellent work Andrew – thanks for contributing to the Open Source ThingSpeak Community!

[via Angry Electron / GitHub]

]]>
https://blogs.mathworks.com/iot/2014/01/19/thingspeak-java-client-for-internet-of-things-applications/feed/ 0
New API for Public ThingSpeak Channels Makes it Easy to Discover Open Data https://blogs.mathworks.com/iot/2013/12/18/new-api-for-public-thingspeak-channels-make-it-easy-to-discover-open-data/?s_tid=feedtopost https://blogs.mathworks.com/iot/2013/12/18/new-api-for-public-thingspeak-channels-make-it-easy-to-discover-open-data/#respond Wed, 18 Dec 2013 16:56:16 +0000 https://blogs.mathworks.com/iot/?p=1109 ThingSpeak is growing quickly these days. Our traffic is high and the user growth is soaring. Thanks to everyone for your interest and patience as we continue to stabilize, add more servers, and add... read more >>

]]>
ThingSpeak is growing quickly these days. Our traffic is high and the user growth is soaring. Thanks to everyone for your interest and patience as we continue to stabilize, add more servers, and add more features to help with your Internet of Things projects.

Question: How do I find ‘public’ ThingSpeak Channels?

In order to help developers find open data inside of ThingSpeak Channels, we created a new API for searching the public ThingSpeak Channels.

Here are the Public ThingSpeak Channels. We order the channels by activity and completeness. Channels may be tagged and this helps find data that you might find interesting for your application. We also have API commands that you can pass to the ThingSpeak Channel API to return the public ThingSpeak Channels in either JSON or XML format.

Here are some easy examples:

For support and questions, please use the ThingSpeak Forum.

]]>
https://blogs.mathworks.com/iot/2013/12/18/new-api-for-public-thingspeak-channels-make-it-easy-to-discover-open-data/feed/ 0
Indoor Environmental Quality Station https://blogs.mathworks.com/iot/2013/05/21/indoor-environmental-quality-station/?s_tid=feedtopost https://blogs.mathworks.com/iot/2013/05/21/indoor-environmental-quality-station/#respond Tue, 21 May 2013 20:31:57 +0000 https://blogs.mathworks.com/iot/?p=1054

[donmatito] created an Indoor Environmental Quality Station based on the Arduino platform and uses Bluetooth for connectivity to ThingSpeak cloud services. The great news is that... read more >>

]]>
[donmatito] created an Indoor Environmental Quality Station based on the Arduino platform and uses Bluetooth for connectivity to ThingSpeak cloud services. The great news is that Don completely documented the project at Instructables for others to learn from and add to. By using ThingSpeak he has made it easy to get access to the data with an app and share the data with other users.

ThingSpeak Air Quality Monitor

Indoor Environmental Quality (IEQ) is the measure of comfort and includes factors such as temperature, humidity, pressure, noise level, and indoor air quality. don’s original goal was to monitor the IEQ of his baby’s room, but he soon realized that his project has more applications around the house and for others.

Don published the full details of the project and submitted it to the Green Design Contest at Instructables. Great work!

[via Instructables]

]]>
https://blogs.mathworks.com/iot/2013/05/21/indoor-environmental-quality-station/feed/ 0
Unlocking Data from Twine by using ThingSpeak https://blogs.mathworks.com/iot/2013/03/28/unlocking-data-from-twine-by-using-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2013/03/28/unlocking-data-from-twine-by-using-thingspeak/#respond Thu, 28 Mar 2013 17:06:26 +0000 https://blogs.mathworks.com/iot/?p=1033

[Risto] from Supermechanical wrote a tutorial on how to use the Twine with ThingSpeak web services such as Data Logging and Charting. The tutorial explains how you can use the Twine’s... read more >>

]]>
[Risto] from Supermechanical wrote a tutorial on how to use the Twine with ThingSpeak web services such as Data Logging and Charting. The tutorial explains how you can use the Twine’s easy-to-use sensor module to trigger events and push data over to ThingSpeak. This opens up the data captured by Twine and allows for all kinds of new applications.

The Supermechanical team put this combination of Twine and ThingSpeak to use right away. They created a “Productivity Quantification” system to capture events around the office and try to determine how productive they are. They were able to track how much coffee they were drinking, snacks they were eating, toilets they were flushing, and things they were finishing. The results are a quantified picture of office productivity and a beautiful display of the data via the ThingSpeak API.

Twine Coffee Maker Monitor

Creating a Twine Action to push data to ThingSpeak is really easy to do. Here’s what it looks like…

Twine Action to ThingSpeak

To do more with ThingSpeak and Twine make sure to check out the tutorial on the Supermechnical blog.

[via Twine / SUPERMECHANICAL.BLOG]

]]>
https://blogs.mathworks.com/iot/2013/03/28/unlocking-data-from-twine-by-using-thingspeak/feed/ 0
Réaliser une courbe, un graphique avec ThingSpeak tutorial [French] https://blogs.mathworks.com/iot/2013/03/17/realiser-une-courbe-un-graphique-avec-thingspeak-tutorial-french/?s_tid=feedtopost https://blogs.mathworks.com/iot/2013/03/17/realiser-une-courbe-un-graphique-avec-thingspeak-tutorial-french/#respond Sun, 17 Mar 2013 05:21:50 +0000 https://blogs.mathworks.com/iot/?p=1029 [fredblabla] created a video tutorial on how to make a chart with ThingSpeak. This tutorial is in French and clearly explains how to setup a channel, post data to a channel, customize the charts, and... read more >>

]]>
[fredblabla] created a video tutorial on how to make a chart with ThingSpeak. This tutorial is in French and clearly explains how to setup a channel, post data to a channel, customize the charts, and add plugins to your ThingSpeak Channel page.

Merci beaucoup.

[via YouTube]

]]>
https://blogs.mathworks.com/iot/2013/03/17/realiser-une-courbe-un-graphique-avec-thingspeak-tutorial-french/feed/ 0
Open Source ThingSpeak Updates https://blogs.mathworks.com/iot/2013/02/19/open-source-thingspeak-updates/?s_tid=feedtopost https://blogs.mathworks.com/iot/2013/02/19/open-source-thingspeak-updates/#comments Tue, 19 Feb 2013 18:07:58 +0000 https://blogs.mathworks.com/iot/?p=1025

Thanks to the very active ThingSpeak community, we have been able to make some updates to the open source ThingSpeak API and web app. We also have a major new release coming. The latest updates allow... read more >>

]]>
Thanks to the very active ThingSpeak community, we have been able to make some updates to the open source ThingSpeak API and web app. We also have a major new release coming. The latest updates allow ThingSpeak to be installed without dependency on the Internet. This means you can run this on an embedded web server with no Internet connection. This is perfect for when you want to log sensor data behind a firewall and build apps that do not require (or have) remote connectivity.

GitHub ThingSpeak API

We want to send a special thanks to powermikoiotoshi, sekjal, and akinsgre for contributing new code and reporting bugs.

All of the latest code is available on GitHub, so start building your own Internet of Things today!

]]>
https://blogs.mathworks.com/iot/2013/02/19/open-source-thingspeak-updates/feed/ 1
Send Tweets using Arduino Ethernet [Updated Tutorial] https://blogs.mathworks.com/iot/2012/12/07/send-tweets-using-arduino-ethernet-updated-tutorial/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/12/07/send-tweets-using-arduino-ethernet-updated-tutorial/#comments Fri, 07 Dec 2012 05:36:46 +0000 https://blogs.mathworks.com/iot/?p=1022 We have updated our ThingTweet Tutorial to cover the Arduino Ethernet and the new Arduino IDE (v1 and above). ThingTweet is a ThingSpeak App that allows you to send Twitter status updates via your... read more >>

]]>
We have updated our ThingTweet Tutorial to cover the Arduino Ethernet and the new Arduino IDE (v1 and above). ThingTweet is a ThingSpeak App that allows you to send Twitter status updates via your Arduino microcontroller with an Ethernet shield or with Ethernet integrated onto one board. Our Arduino examples for ThingSpeak and ThingSpeak Apps have been moved to GitHub, so that you can easily download, modify, and contribute updates.

]]>
https://blogs.mathworks.com/iot/2012/12/07/send-tweets-using-arduino-ethernet-updated-tutorial/feed/ 4
EVE Alpha – Raspberry Pi Wireless Development https://blogs.mathworks.com/iot/2012/11/16/eve-alpha-raspberry-pi-wireless-development/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/11/16/eve-alpha-raspberry-pi-wireless-development/#respond Sat, 17 Nov 2012 00:27:57 +0000 https://blogs.mathworks.com/iot/?p=1010 Kickstarter over the past few months has been the platform of choice for new Internet of Things hardware being developed. Many projects are an Arduino and another thing attached to it. While some of... read more >>

]]>
Kickstarter over the past few months has been the platform of choice for new Internet of Things hardware being developed. Many projects are an Arduino and another thing attached to it. While some of those projects are cool, they are not pushing the Internet of Things forward. Recently, Kickstarter changed their policies about hardware projects and also opened up the platform to the United Kingdom. This is forcing the projecteers to come up with more developed and innovative ideas that help differentiate themselves from rehashed projects and ideas.

One that has piqued our interest is the EVE Alpha for the Raspberry Pi created by Ciseco from Nottingham, United Kingdom. Wireless is a key part of the Internet of Things as with wireless we can connect more things in a more seamless way, then bridge them to the Internet. EVE Alpha aims at giving you a lot of wireless options in a tiny form factor all connected to an integrated computer called the Raspberry Pi.

EVE Alpha - Raspberry Pi Wireless Development

Members of the ThingSpeak team are backers of this project and many others. We love finding new ways to get data to and from web services. This is exactly what we are here to do! We are looking forward to connecting the EVE to a host of web services (and ones we haven’t even released yet). Another key feature is the suite of wireless technologies that we want to prototype with all on one board. At the timing of this writing the EVE Alpha Kickstarter campaign is close to being funded, so there are high chances that Ciseco will deliver the Swiss Army knife of wireless development platforms!

[via Kickstarter]

]]>
https://blogs.mathworks.com/iot/2012/11/16/eve-alpha-raspberry-pi-wireless-development/feed/ 0
μPLibrary – .NET Micro Framework Client for ThingSpeak Platform https://blogs.mathworks.com/iot/2012/10/30/%ce%bcplibrary-net-micro-framework-client-for-thingspeak-platform/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/10/30/%ce%bcplibrary-net-micro-framework-client-for-thingspeak-platform/#respond Tue, 30 Oct 2012 17:09:16 +0000 https://blogs.mathworks.com/iot/?p=1002 .NET Micro Framework Developer [paolopat] created a client for the ThingSpeak platform. This allows any device that supports the .NET Micro Framework to access ThingSpeak web services by using the... read more >>

]]>
uP Library Logo

.NET Micro Framework Developer [paolopat] created a client for the ThingSpeak platform. This allows any device that supports the .NET Micro Framework to access ThingSpeak web services by using the μPLibrary 1.8. The library is available on NuGet Gallery and abstracts the ThingSpeak API. The library works with the popular Netduino Plus and other devices running .NET Micro Framework.

Paolo says,

“With more and more embedded devices “smart” in the world, begins to take on an increasingly important concept of the Internet of Things (IoT), a neologism by which you want to express the capacity that these devices (brutally “things”) in order to connect to the world wide web and exchange information. In this come into play a number of online platforms that provide the service to upload and logging information in real-time making it available to other devices that request them. The architecture is oriented such that the platform is obviously RESTful where the data grouped into channels and feeds are accessible through the concept of URL.

One of the main platforms is certainly ThingSpeak, for which I have implemented a client for. NET Micro Framework and I have included in my library uPLibrary (now at version 1.8.0.0) present on CodePlex, namespace uPLibrary.IoT.ThingSpeak.”

Thank you, Paolo!

[via Embedded101]

]]>
https://blogs.mathworks.com/iot/2012/10/30/%ce%bcplibrary-net-micro-framework-client-for-thingspeak-platform/feed/ 0
The ThingSpeak API now has a Ruby Gem, code on GitHub too https://blogs.mathworks.com/iot/2012/07/02/the-thingspeak-api-now-has-a-ruby-gem-code-on-github-too/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/07/02/the-thingspeak-api-now-has-a-ruby-gem-code-on-github-too/#respond Mon, 02 Jul 2012 16:59:58 +0000 https://blogs.mathworks.com/iot/?p=972 If you use Ruby to write programs and apps, Daniel Treacy created a Ruby wrapper for the ThingSpeak API. This Gem makes it easy to access the ThingSpeak API inside of your Ruby code. For more... read more >>

]]>
If you use Ruby to write programs and apps, Daniel Treacy created a Ruby wrapper for the ThingSpeak API. This Gem makes it easy to access the ThingSpeak API inside of your Ruby code.

For more information, check out our tutorial and visit GitHub for the full source code. Thanks Daniel!

[via RubyGems.org]

]]>
https://blogs.mathworks.com/iot/2012/07/02/the-thingspeak-api-now-has-a-ruby-gem-code-on-github-too/feed/ 0
Accessing Historical Data on a ThingSpeak Channel https://blogs.mathworks.com/iot/2012/03/22/accessing-historical-data-on-a-thingspeak-channel/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/03/22/accessing-historical-data-on-a-thingspeak-channel/#comments Fri, 23 Mar 2012 04:17:29 +0000 https://blogs.mathworks.com/iot/?p=914 We have recently received a few email about accessing historical data. We even noticed some posts on other forums asking about older data. All ThingSpeak Channels are continuous logs of data. Using... read more >>

]]>
We have recently received a few email about accessing historical data. We even noticed some posts on other forums asking about older data.

All ThingSpeak Channels are continuous logs of data. Using API commands, you can access recent data and historical data. The default API parameters allow for easy access to recent data. To get access to older data, all you need to do is pass in a “start” and “end” parameter into a channel request.

Here is my feed from New Year’s Eve:

http://api.thingspeak.com/channels/9/feed.json?start=2011-12-31%2000:00:00&end=2012-01-01%2000:00:00

And remember, you can also do this with charts too:

http://api.thingspeak.com/channels/9/charts/2?start=2011-12-31%2000:00:00&end=2012-01-01%2000:00:00&average=60

Let us know if you need any more clarification on the many API parameters possible. Have fun!

PS. Some big features coming soon!

]]>
https://blogs.mathworks.com/iot/2012/03/22/accessing-historical-data-on-a-thingspeak-channel/feed/ 3
CheerLights: Connecting Lights Together to Bring Us Closer https://blogs.mathworks.com/iot/2011/12/07/cheerlights-connecting-lights-together-to-bring-us-closer/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/12/07/cheerlights-connecting-lights-together-to-bring-us-closer/#respond Wed, 07 Dec 2011 13:17:51 +0000 https://blogs.mathworks.com/iot/?p=866 It’s that time of year… holiday time and family time. I was inspired this time to create a project that brings us a little closer. Lights are a big part of the holidays and with... read more >>

]]>
It’s that time of year… holiday time and family time. I was inspired this time to create a project that brings us a little closer. Lights are a big part of the holidays and with CheerLights you can connect your lights to other lights via Twitter with a little help by ThingSpeak Apps.

Since the project release, there has been much activity. A part from CheerLights being discussed on blogs like MAKE and Lifehacker, the community has created some interesting bits of tech that extend the project further than lights. So if you don’t have a way to connect your lights together with CheerLights, you can connect your mobile phone, browser, and web sites together by subscribing to the CheerLights feed. Right now you can check the latest CheerLights color with an Android App created by @ChrisLeitner. Another really neat thing is a browser plugin for Chrome designed by Josh Crumley. So, in the top corner of your web browser you can see the latest color in an unassuming way. It’s a little reminder that we are connected.

To join CheerLights, all you have to do is build something that subscribed to the CheerLights ThingSpeak Channel or access the data using JSON and XML. You can also use the apps, browser plugins, or web widgets to see the colors. Visit the CheerLights website hosted on Tumblr for details on making a controller with Arduino, ioBridge, or Digi’s ConnectPort.

To control CheerLights, just send a Tweet to @CheerLights and mention a color.

Just think when you send this Tweet that you are updating 1000’s of lights, apps, browsers, and widgets all at the same time.

Spread some cheer…

[via MAKE / Lifehacker / CBC / ioBridge Projects]

]]>
https://blogs.mathworks.com/iot/2011/12/07/cheerlights-connecting-lights-together-to-bring-us-closer/feed/ 0
ThingSpeak visits the Pittsburgh Ruby Users Group https://blogs.mathworks.com/iot/2011/11/29/thingspeak-visits-the-pittsburgh-ruby-users-group/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/11/29/thingspeak-visits-the-pittsburgh-ruby-users-group/#respond Tue, 29 Nov 2011 20:48:39 +0000 https://blogs.mathworks.com/iot/?p=863 Hans Scharler is stopping by the monthly meeting of the Pittsburgh Ruby Users Group. The topic on the agenda is ThingSpeak, an open source Ruby on Rails application for the Internet of Things. The... read more >>

]]>
Hans Scharler is stopping by the monthly meeting of the Pittsburgh Ruby Users Group. The topic on the agenda is ThingSpeak, an open source Ruby on Rails application for the Internet of Things. The meeting is scheduled for December 1, 2011 and starts at 7:30pm.

Topics on the agenda:

  • Switch over to Ruby on Rails 3.1
  • ThingSpeak v2.0
  • Active ThingSpeak Projects
  • Adding modularity and tests to the GitHub repository
  • …btw, we’re hiring!

Background on ThingSpeak:

ThingSpeak is an open source web application and API to manage devices, to create device interactions, and to store data. Users can use the hosted version of ThingSpeak or setup instances on their own servers by getting the source code from GitHub. The technology behind ThingSpeak is Ruby 1.9.2, Rails 3.0, EventMachine, Phusion Passenger, Nginx, and Memcached to form a highly scalable infrastructure for the emerging Internet of Things and its data model requirements.

You use ThingSpeak to Send and Receive “data” via simple HTTP requests, much like going to a web page and filling out a form. Data can be from
anything — Blood Sugar Levels measured by a glucose meter, Server Usage and Uptime reported by servers, or Location Info from a mobile phone. Once the data is in ThingSpeak, you can build applications that retrieve the data, use the data for process decision-making, and reporting.

[via Pittsburgh Ruby Users Group]

]]>
https://blogs.mathworks.com/iot/2011/11/29/thingspeak-visits-the-pittsburgh-ruby-users-group/feed/ 0
Arduino 1.0 to ThingSpeak Sketch https://blogs.mathworks.com/iot/2011/10/17/arduino-to-thingspeak-sketch/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/10/17/arduino-to-thingspeak-sketch/#comments Mon, 17 Oct 2011 20:47:19 +0000 https://blogs.mathworks.com/iot/?p=838 The Arduino team recently released the release candidate of Arduino 1.0 on Google Code. It’s a available for Windows, Mac, and Linux. Version 1.0 of Arduino’s IDE includes enhancements to... read more >>

]]>
The Arduino team recently released the release candidate of Arduino 1.0 on Google Code. It’s a available for Windows, Mac, and Linux. Version 1.0 of Arduino’s IDE includes enhancements to the GUI and additions and changes to the Arduino Hardware API. Since the release, we have been beta testing Arduino 1.0-rc1 and find the updates to be spot on. This is definitely a step forward. A big change that affects ThingSpeak Arduino Sketches is the inclusion of DHCP and DNS support to the Ethernet library, which was integrated by Adrian McEwen. We are able to use the new Arduino 1.0 to make it as easy as possible to connect the Arduino platform to the Internet. Download the latest Arduino IDE on Google Code.

Arduino 1.0 and ThingSpeak Examples

We have created a new ThingSpeak Sketch for Arduino 1.0 that you can use for the Arduino and Ethernet Shield or the Arduino Ethernet all-in-one. All you have to do is add your ThingSpeak Write API Key to the sketch, upload to the Arduino, and connect to your network. The sketch includes automatic network configuration with DHCP, domain name resolution using DNS, a watchdog / reset function to keep the Arduino online, and a function to update ThingSpeak Channels. The new sketch has been running without hiccup in our lab for few weeks. We hope that you get the same reliability. Go ahead and copy, transform, and combine…

View Arduino 1.0 –> ThingSpeak Sketch on GitHub

]]>
https://blogs.mathworks.com/iot/2011/10/17/arduino-to-thingspeak-sketch/feed/ 1
Home Automation System HomeVisionXL adds ThingSpeak Plugin https://blogs.mathworks.com/iot/2011/08/31/home-automation-system-homevisionxl-adds-thingspeak-plugin/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/08/31/home-automation-system-homevisionxl-adds-thingspeak-plugin/#respond Thu, 01 Sep 2011 04:43:58 +0000 https://blogs.mathworks.com/iot/?p=806 HomeVisionXL adds a ThingSpeak Plugin for environmental data logging to their home automation controller. HomeVisionXL “is a cross-platform tool for developing schedules for the HomeVision... read more >>

]]>
HomeVisionXL adds a ThingSpeak Plugin for environmental data logging to their home automation controller. HomeVisionXL “is a cross-platform tool for developing schedules for the HomeVision integrated home controller.” The plugin was created by ThingSpeak user bgardner and adds data logging capability to the HomeVision home automation system.

ThingSpeak HomeVisionXL Plugin

Visit the ThingSpeak Plugin page for more information on how to use this plugin with your HomeVision home automation system.

]]>
https://blogs.mathworks.com/iot/2011/08/31/home-automation-system-homevisionxl-adds-thingspeak-plugin/feed/ 0
Seamless Twitter Integration [API Update] https://blogs.mathworks.com/iot/2011/07/08/seamless-twitter-integration-api-update/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/07/08/seamless-twitter-integration-api-update/#respond Fri, 08 Jul 2011 16:29:53 +0000 https://blogs.mathworks.com/iot/?p=739 We recently updated the ThingSpeak Channel API to allow you to update a channel feed and send Tweets all in one request. All you have to do is send your Twitter username that’s linked to... read more >>

]]>
We recently updated the ThingSpeak Channel API to allow you to update a channel feed and send Tweets all in one request. All you have to do is send your Twitter username that’s linked to ThingTweet and what you want to Tweet with a standard update to your ThingSpeak Channel. You can update Twitter, track the location, and add status context all with one API call. Use this feature when you want to highlight certain data and share it with your friends and family. Visit the ThingSpeak API Documentation for more information.

]]>
https://blogs.mathworks.com/iot/2011/07/08/seamless-twitter-integration-api-update/feed/ 0
ProgrammableWeb Includes the ThingSpeak API https://blogs.mathworks.com/iot/2011/06/19/programmableweb-includes-the-thingspeak-api/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/06/19/programmableweb-includes-the-thingspeak-api/#respond Sun, 19 Jun 2011 17:36:12 +0000 https://blogs.mathworks.com/iot/?p=724 Big news! The mashup community ProgrammableWeb indexed the ThingSpeak API and the ThingSpeak Chart API. We entered the category of “Other”. Just imagine what web developers will create... read more >>

]]>
Big news!

The mashup community ProgrammableWeb indexed the ThingSpeak API and the ThingSpeak Chart API. We entered the category of “Other”. Just imagine what web developers will create now that they have the Internet of Things at their fingertips.

[via ProgrammableWeb]

]]>
https://blogs.mathworks.com/iot/2011/06/19/programmableweb-includes-the-thingspeak-api/feed/ 0
ThingSpeak Microsoft .NET Class https://blogs.mathworks.com/iot/2011/04/21/thingspeak-microsoft-net-class/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/04/21/thingspeak-microsoft-net-class/#respond Thu, 21 Apr 2011 19:10:12 +0000 https://blogs.mathworks.com/iot/?p=607 If you are building an app using Microsoft .NET / C#, you don’t have to start from scratch. [Brett] created a Microsoft .NET class for the entire ThingSpeak API. He included the general data... read more >>

]]>
If you are building an app using Microsoft .NET / C#, you don’t have to start from scratch. [Brett] created a Microsoft .NET class for the entire ThingSpeak API. He included the general data fields, as well, as geolocation and status updates. You can download the class on Brett’s blog to help you get started with a ThingSpeak App very quickly.

Brett says,

ThingSpeak is a cool application that allows you to send it any kind of data you want graphed.  Your imagination is the limitation. Some ideas of what can be graphed:

  • How many beers you drank last night
  • The temperature of your office during the day
  • The CPU load of your server
  • The number of calories you’ve consumed
  • The number of calories you’ve burned

These are great ideas and applications!

[via The Cobwebs of My Mind]

]]>
https://blogs.mathworks.com/iot/2011/04/21/thingspeak-microsoft-net-class/feed/ 0
Hidden API Commands https://blogs.mathworks.com/iot/2011/04/13/hidden-api-commands/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/04/13/hidden-api-commands/#respond Wed, 13 Apr 2011 06:08:03 +0000 https://blogs.mathworks.com/iot/?p=545 When you are retrieving data from a ThingSpeak channel you have many options and formats to choose from. We wanted to highlight a few options that are easily overlooked. Last.txt Let’s say you... read more >>

]]>
When you are retrieving data from a ThingSpeak channel you have many options and formats to choose from. We wanted to highlight a few options that are easily overlooked.

Last.txt

Let’s say you have an Arduino and you want to get the last value in a channel. You could get your feed and then write some parsing code to extract the data that you are looking for. It’s a waste of code space and also fills your finite buffers on your microcontroller. Let the cloud do the work and give you just the value you are looking for.

Here’s how you would get our light levels: Live Demo

[cce]http://api.thingspeak.com/channels/9/field/1/last.txt[/cce]

Modifying the response

You can even add data to the response. Maybe you have Twilio reading back your temperature. It would not be much fun if Twillio says to you, “80”. Sensor data without context is noise!

Here are two optional parameters when returning the last data on a ThingSpeak Channel:

  • prepend=[text to add before the API response]
  • append=[text to add after the API response]

Live Demo

[cce]http://api.thingspeak.com/channels/9/field/1/last.txt?prepend=Your%20light%20level%20is%20&append=.%20Is%20someone%20in%20your%20room?[/cce]

Check out the ThingSpeak Documentation for more information.

]]>
https://blogs.mathworks.com/iot/2011/04/13/hidden-api-commands/feed/ 0
Dynamic JavaScript Charts (new feature) https://blogs.mathworks.com/iot/2011/04/09/dynamic-javascript-charts-new-feature/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/04/09/dynamic-javascript-charts-new-feature/#respond Sat, 09 Apr 2011 23:28:57 +0000 https://blogs.mathworks.com/iot/?p=528 If you look at our homepage, you will see a chart dynamically updating itself with the latest data from a light sensor. We did this by using a combination of our feed API and the Highcharts package.... read more >>

]]>
If you look at our homepage, you will see a chart dynamically updating itself with the latest data from a light sensor. We did this by using a combination of our feed API and the Highcharts package. We decided to make this an option in our Charts API. So, all you have to do is say, “dynamic=true” and the charts will automatically add new data from your channel to the chart. It’s almost magic if it was not all JavaScript! Visit the ThingSpeak Documentation for the Charts API for more information on this feature and all of the other options for your charts.

]]>
https://blogs.mathworks.com/iot/2011/04/09/dynamic-javascript-charts-new-feature/feed/ 0
ThingSpeak is (Open) https://blogs.mathworks.com/iot/2011/02/16/thingspeak-is-open/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/02/16/thingspeak-is-open/#comments Wed, 16 Feb 2011 10:30:03 +0000 https://blogs.mathworks.com/iot/?p=289 Our things can tell us a story…if they have a voice…if they are connected. What can our things tell us? How about how much power they use? How about if someone is in your house? How about... read more >>

]]>
Our things can tell us a story…if they have a voice…if they are connected. What can our things tell us? How about how much power they use? How about if someone is in your house? How about your toaster updating Twitter? A new generation of products and services for “connected things” are being created as we speak. Be a part of the story…

ThingSpeak is an open web of things platform to allow devices to interact with web services, apps, and things. ThingSpeak is open to any type of data from devices and applications.  ThingSpeak is a cloud service…things-as-a-service (TaaS)? ThingSpeak is open now.

ThingSpeak Overview

Features:

  • Open API – connect devices and applications via the Internet to send and receive data
  • Multiple Data Types – numbers (decimal and comma) and alphanumeric strings
  • Real-time Data Processing – time scaling, averaging, median, summing, and rounding
  • Time and Location – localized time, geolocation, latitude, longitude, and elevation
  • Social Context – augment data with status updates
  • Charts – instant visualization and embed tools
  • Apps – built-in apps to connect things to web services
  • Plugins – sandbox to create mashups, visualizations, and apps

Get started by signing up and creating your own channel for your anything you can imagine. We are excited by what you will come up with and the direction that you will take this project.

]]>
https://blogs.mathworks.com/iot/2011/02/16/thingspeak-is-open/feed/ 1