GitHub – 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. Tue, 31 Mar 2026 22:03:26 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 Add ThingSpeak Data Widgets to iOS Using Scriptable https://blogs.mathworks.com/iot/2022/01/14/add-thingspeak-data-widgets-to-ios-using-scriptable/?s_tid=feedtopost https://blogs.mathworks.com/iot/2022/01/14/add-thingspeak-data-widgets-to-ios-using-scriptable/#comments Fri, 14 Jan 2022 15:27:05 +0000 https://blogs.mathworks.com/iot/?p=2863

Starting with iOS 14, Apple introduced widgets for the iPhone and iPad. Widgets elevate information to the top of your device and offer information at a glance. They help you customize your device in... read more >>

]]>
Starting with iOS 14, Apple introduced widgets for the iPhone and iPad. Widgets elevate information to the top of your device and offer information at a glance. They help you customize your device in new ways. Wouldn’t it be awesome to have a ThingSpeak widget on your iPhone? Thanks to a new app called Scriptable you can put ThingSpeak data widgets on your iOS devices.

Scriptable allows you to write your own widgets using JavaScript and run the scripts on your iOS device. Anil Patro shared a starter template to create a ThingSpeak Graph widget using JavaScript on GitHub. You can use Anil’s code and modify it for your ThingSpeak channel and style.

Here are some steps to help you put a ThingSpeak widget on your iOS device:

  1. Install Scriptable
  2. Get the starter code on your device using iCloud sharing and edit on your desktop
  3. Add a new widget to your Home Screen
    1. From the Home Screen, touch and hold a widget or an empty area until the apps jiggle.
    2. Tap the Add button Gray add button in the upper-left corner.
    3. Select a widget, choose from three widget sizes, then tap Add Widget.
    4. Select the Scriptable app
  4. Customize the widget:
    1. Hold down on the widget and select Edit Widget.
    2. Enter a new parameter for your channel: CHANNEL_ID | FIELD_ID | results=X

iOS widgets refresh rate is controlled by the device. The widgets will update themselves on some schedule and eventually synchronize with recent ThingSpeak channel data.

Enjoy making custom widgets for iPhone and iPad thanks to Scriptable and Anil’s work. Anil also posted some widget code for CheerLights.

]]>
https://blogs.mathworks.com/iot/2022/01/14/add-thingspeak-data-widgets-to-ios-using-scriptable/feed/ 8
ThingSpeak Library for Arduino https://blogs.mathworks.com/iot/2019/02/12/thingspeak-library-for-arduino/?s_tid=feedtopost https://blogs.mathworks.com/iot/2019/02/12/thingspeak-library-for-arduino/#comments Tue, 12 Feb 2019 15:31:48 +0000 https://blogs.mathworks.com/iot/?p=2582

The ThingSpeak team has released an updated version of the ThingSpeak Communication Library for Arduino, ESP8266, and ESP32 devices. The ThingSpeak library is the easiest way to get Arduino devices... read more >>

]]>
The ThingSpeak team has released an updated version of the ThingSpeak Communication Library for Arduino, ESP8266, and ESP32 devices. The ThingSpeak library is the easiest way to get Arduino devices connected to ThingSpeak IoT services. The library now features a way to separate secret credentials from your main source code. This helps when you want to share your code but don’t want to share your WiFi credentials and ThingSpeak keys.

Installation

The Arduino IDE needs to have the ThingSpeak library installed in order for your devices to know how to send data to ThingSpeak. In the Arduino IDE, choose Sketch, Include Library, and Manage Libraries. Search for “thingspeak” and click Install.

Device Support

The ThingSpeak Communication Library supports many devices. Using the library makes the experience the same for each board type. When you learn one way to work with ThingSpeak, you will be to work with other devices in the same way.

  • Arduino or compatible using a WiFi Shield
  • Arduino or compatible using a WiFi Shield 101
  • Arduino or compatible using an Ethernet Shield
  • Arduino or compatible using a MKR ETH Shield
  • Arduino MKR1000 (use the WiFi101 library version 0.13.0 or older. WiFi101 library versions 0.14.0 and newer have a bug that stops this ThingSpeak library from working properly)
  • Arduino MKR1010
  • Arduino VIDOR 4000
  • Arduino GSM 14000
  • Arduino Yún (Rev1 and Rev2)
  • ESP8266 (tested with SparkFun ESP8266 Thing – Dev Board and NodeMCU 1.0 module)
  • ESP32 (tested with SparkFun ESP32 Thing)

Each supported device includes three ThingSpeak examples.

  • ReadField: Reading from a public channel and a private channel on ThingSpeak
  • WriteSingleField: Writing a sensor value to a single field on ThingSpeak
  • WriteMultipleFields: Writing sensor values to multiple fields and status in one transaction with ThingSpeak

Request Status Codes

To get the best compatibility with ThingSpeak IoT services, we recommend using the ThingSpeak library. The library has extra features that help you troubleshoot and get visibility into any issues with requests to ThingSpeak. I find it useful to store the last status code from ThingSpeak. I can use this code to understand if the request succeeded or failed. Here’s an example of how to use the “getLastReadStatus” method.

 // Read in field 1 of the private channel which is a counter  
 long fieldValue = ThingSpeak.readLongField(myChannelNumber, myFieldNumber, myThingSpeakReadAPIKey);  

  // Check the status of the read operation to see if it was successful
 statusCode = ThingSpeak.getLastReadStatus();
 if(statusCode == 200) {
   Serial.println("Field Value: " + String(fieldValue));
 }
 else {
   Serial.println("Problem reading channel. HTTP error code " + String(statusCode)); 
 }

The code behind the ThingSpeak library is available on GitHub. Discover other MathWorks Open Source and Community Projects on The MathWorks GitHub page.

]]>
https://blogs.mathworks.com/iot/2019/02/12/thingspeak-library-for-arduino/feed/ 1
Official ThingSpeak Library for Arduino and Particle https://blogs.mathworks.com/iot/2015/10/09/official-thingspeak-library-for-arduino-and-particle/?s_tid=feedtopost https://blogs.mathworks.com/iot/2015/10/09/official-thingspeak-library-for-arduino-and-particle/#comments Fri, 09 Oct 2015 16:24:54 +0000 https://blogs.mathworks.com/iot/?p=1523 We are thrilled to announce the official ThingSpeak Communication Library for Arduino and Particle devices. This library enables an Arduino or other compatible hardware to write or read data to or... read more >>

]]>
We are thrilled to announce the official ThingSpeak Communication Library for Arduino and Particle devices. This library enables an Arduino or other compatible hardware to write or read data to or from ThingSpeak, an open data platform for the Internet of Things with built-in MATLAB analytics and visualization apps.

Arduino IDE Installation

In the Arduino IDE, choose Sketch/Include Library/Manage Libraries. Click the ThingSpeak Library from the list, and click the Install button.

Particle / Spark IDE Installation

In the Particle/ Spark Web IDE, click the libraries tab, find ThingSpeak, and choose “Include in App”.

Compatible Hardware

  • Arduino or compatible using an Ethernet or Wi-Fi shield (we have tested with Uno and Mega)
  • Arduino Yun running OpenWRT-Yun Release 1.5.3 (November 13th, 2014) or later.
  • Particle Core or Photon (Formally Spark)

ThingSpeak Examples

The library includes several examples to help you get started.

  • CheerLights: Reads the latest CheerLights color on ThingSpeak, and sets an RGB LED.
  • ReadLastTemperature: Reads the latest temperature from the public MathWorks weather station in Natick, MA on ThingSpeak.
  • ReadPrivateChannel: Reads the latest voltage value from a private channel on ThingSpeak.
  • ReadWeatherStation: Reads the latest weather data from the public MathWorks weather station in Natick, MA on ThingSpeak.
  • WriteMultipleVoltages: Reads analog voltages from pins 0-7 and writes them to the 8 fields of a channel on ThingSpeak.
  • WriteVoltage: Reads an analog voltage from pin 0, converts to a voltage, and writes it to a channel on ThingSpeak.

Complete open source code and examples for the ThingSpeak Library are available on GitHub. Discover other MathWorks Open Source and Community Projects on GitHub.

]]>
https://blogs.mathworks.com/iot/2015/10/09/official-thingspeak-library-for-arduino-and-particle/feed/ 22
Collecting Dust Levels with ThingSpeak and ESP8266 Wi-Fi https://blogs.mathworks.com/iot/2015/08/07/collecting-dust-levels-with-thingspeak-and-esp8266-wi-fi/?s_tid=feedtopost https://blogs.mathworks.com/iot/2015/08/07/collecting-dust-levels-with-thingspeak-and-esp8266-wi-fi/#comments Fri, 07 Aug 2015 16:32:50 +0000 https://blogs.mathworks.com/iot/?p=1460

Using the ESP8266 Wi-Fi module, [shadowandy] built a dust sensor to measure dust levels in his house. The project incorporates the Shinyei PPD42NS dust sensor to do the measurements and posts the... read more >>

]]>
Using the ESP8266 Wi-Fi module, [shadowandy] built a dust sensor to measure dust levels in his house. The project incorporates the Shinyei PPD42NS dust sensor to do the measurements and posts the data to his ThingSpeak channel from data collection and reaction to dust levels.

Dust Sensor sending data to ThingSpeak

The sensor records the PM10 and PM2.5 dust levels to get an accurate indication of the dust in the air. This project is a great example of how a little sensor could turn into something important for protecting machine shops, construction sites, and garages.

[via shadowandy / GitHub]

]]>
https://blogs.mathworks.com/iot/2015/08/07/collecting-dust-levels-with-thingspeak-and-esp8266-wi-fi/feed/ 2
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
Internet of Things #throwbackthursday #tbt #iot https://blogs.mathworks.com/iot/2014/08/28/internet-of-things-throwbackthursday/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/08/28/internet-of-things-throwbackthursday/#respond Thu, 28 Aug 2014 18:23:05 +0000 https://blogs.mathworks.com/iot/?p=1280

It’s Throwback Thursday! We have come a long way since building cloud platforms for connected devices – now known as “The Internet of Things”. Here’s what our first... read more >>

]]>
It’s Throwback Thursday!

We have come a long way since building cloud platforms for connected devices – now known as “The Internet of Things”. Here’s what our first website for the ThingSpeak project looked like 5 years ago…

First ThingSpeak Website

Get started with IoT now:
Visit ThingSpeak.com or fork the project on GitHub!

]]>
https://blogs.mathworks.com/iot/2014/08/28/internet-of-things-throwbackthursday/feed/ 0
[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
[Official Tutorial] Connecting Electric Imp to ThingSpeak IoT Data Services https://blogs.mathworks.com/iot/2014/05/06/connecting-electric-imp-to-thingspeak-iot-data-services/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/05/06/connecting-electric-imp-to-thingspeak-iot-data-services/#respond Tue, 06 May 2014 21:18:29 +0000 https://blogs.mathworks.com/iot/?p=1219

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

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

]]>
https://blogs.mathworks.com/iot/2014/05/06/connecting-electric-imp-to-thingspeak-iot-data-services/feed/ 0
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
Store, Share, and Visualize Sensor Data using the BrickPi, Raspberry Pi, and ThingSpeak https://blogs.mathworks.com/iot/2013/11/15/store-share-and-visualize-sensor-data-using-the-brickpi-raspberry-pi-and-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2013/11/15/store-share-and-visualize-sensor-data-using-the-brickpi-raspberry-pi-and-thingspeak/#respond Fri, 15 Nov 2013 18:05:29 +0000 https://blogs.mathworks.com/iot/?p=1094

Dexter Industries launched a very successful Kickstarter campaign this past summer to build and release the BrickPi. The BrickPi turns the Raspberry Pi computer into a robotics and sensing platform... read more >>

]]>
Dexter Industries launched a very successful Kickstarter campaign this past summer to build and release the BrickPi. The BrickPi turns the Raspberry Pi computer into a robotics and sensing platform for LEGO® MINDSTORMS®. Since the wrap up of the campaign, users have jumped on board making cool projects using the BrickPi including a step-by-step tutorial using ThingSpeak to store, share, and visualize sensor data.

BrickPi Weather Station using ThingSpeak and the Raspberry Pi

Check out the tutorial, “ThingSpeak Temperature with Raspberry Pi“, to learn how to send sensor data using the BrickPi, a Raspberry Pi computer, and a temperature sensor for the LEGO® MINDSTORMS® NXT. The project uses ThingSpeak to store, share, and visualize sensor data collected by BrickPi-enabled projects. The Python code for the Raspberry Pi is available on GitHub and the entire project is open source!

[via  Dexter Industries]

]]>
https://blogs.mathworks.com/iot/2013/11/15/store-share-and-visualize-sensor-data-using-the-brickpi-raspberry-pi-and-thingspeak/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
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
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 and ThingSpeak Examples are Now on GitHub https://blogs.mathworks.com/iot/2011/10/16/arduino-and-thingspeak-examples-are-now-on-github/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/10/16/arduino-and-thingspeak-examples-are-now-on-github/#respond Sun, 16 Oct 2011 20:02:07 +0000 https://blogs.mathworks.com/iot/?p=830 We are moving our Arduino Examples to GitHub to make it easier to copy, modify, and combine with your ideas. If you want to collaborate on creating the very best source code and examples for Arduino,... read more >>

]]>
We are moving our Arduino Examples to GitHub to make it easier to copy, modify, and combine with your ideas. If you want to collaborate on creating the very best source code and examples for Arduino, feel free to contact us. We will be releasing our brand-new Arduino 1.0 sketches shortly. GitHub Speaks…

ThingSpeak on GitHub

]]>
https://blogs.mathworks.com/iot/2011/10/16/arduino-and-thingspeak-examples-are-now-on-github/feed/ 0
Instructables Make it Tweet Contest https://blogs.mathworks.com/iot/2011/06/28/instructables-make-it-tweet-contest/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/06/28/instructables-make-it-tweet-contest/#respond Tue, 28 Jun 2011 23:34:10 +0000 https://blogs.mathworks.com/iot/?p=727 [willnue] of NUEwire created a project for the “Make it Tweet Contest” over on Instructables.com sponsored by Adafruit. The contest is simple: make something tweet. If you use our... read more >>

]]>
[willnue] of NUEwire created a project for the “Make it Tweet Contest” over on Instructables.com sponsored by Adafruit. The contest is simple: make something tweet. If you use our ThingTweet app, sending a Tweet could not be easier. And, if you have an Arduino setup as a device on your ThingSpeak account, ThingTweet generates the Arduino sketch for you automatically. Here is the tutorial to help you get started with ThingTweet and Arduino: Update Twitter with ThingTweet and Arduino + Ethernet Shield.

willnue added the ability to tweet to his GE Wireless Control Center Alarm system. He added an Arduino with Ethernet Shield and uses the ThingTweet app to connect the alarm to Twitter. Check out his detailed Instructables to learn more, build your own social thing, and enter the contest.

NUEwire Tweeting Alarm System

wilnue says,

This project will add tweeting capabilities to the GE 45142 Choice-Alert Wireless Control Center Alarm system. The alarm system allows you to connect up to 16 different sensors across 4 zones and with the addition of the Arduino powered AlarmingTweet you can enable it to keep you informed of its status anytime anywhere.

Good luck with the contest!

]]>
https://blogs.mathworks.com/iot/2011/06/28/instructables-make-it-tweet-contest/feed/ 0
Computer Resource Monitor with Python and ThingSpeak https://blogs.mathworks.com/iot/2011/04/19/computer-resource-monitor-with-python-and-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/04/19/computer-resource-monitor-with-python-and-thingspeak/#comments Tue, 19 Apr 2011 06:10:13 +0000 https://blogs.mathworks.com/iot/?p=588 [Chris Lee] of Australian Robotics created a project that uses ThingSpeak as a resource monitor for a computer. His project explains how he uses Python to send HTTP POST requests to a ThingSpeak... read more >>

]]>
[Chris Lee] of Australian Robotics created a project that uses ThingSpeak as a resource monitor for a computer. His project explains how he uses Python to send HTTP POST requests to a ThingSpeak Channel. The data that he is sending is CPU and memory usage. This application could be used for monitoring servers and verifying uptime.  Chris also makes use of the ThingSpeak Charts API to visualize the data in real-time.

The latest Python code to interface to ThingSpeak is available on GitHub.

[via Australian Robotics]

]]>
https://blogs.mathworks.com/iot/2011/04/19/computer-resource-monitor-with-python-and-thingspeak/feed/ 1
ThingSpeak API Source Code on GitHub https://blogs.mathworks.com/iot/2011/03/28/thingspeak-api-source-code-on-github/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/03/28/thingspeak-api-source-code-on-github/#comments Mon, 28 Mar 2011 17:09:25 +0000 https://blogs.mathworks.com/iot/?p=482 The ThingSpeak API is now on GitHub! You can setup the application on your local network or on a web server in the cloud and run the full ThingSpeak API dedicated for your application. With everyone...ThingSpeak source code is now on GitHub]]> The ThingSpeak API is now on GitHub! You can setup the application on your local network or on a web server in the cloud and run the full ThingSpeak API dedicated for your application. With everyone being able to spin their own web of things, we look forward to seeing how the API evolves and the changes you make.

Support for ThingSpeak is available on the ThingSpeak Community site which features a BlogForumDocumentation, and Tutorials. The documentation is the same for the open source release of the ThingSpeak API as the hosted web service on ThingSpeak.com.

ThingSpeak API on GitHub

What is ThingSpeak?

ThingSpeak is an open source “Internet of Things” application and API to store and retrieve data from “things” using HTTP over the Internet or via a Local Area Network. With ThingSpeak, you can create sensor logging applications, location tracking applications, and a social network of things with status updates.

In addition to storing and retrieving numeric and alphanumeric data, the ThingSpeak API allows for numeric data processing such as timescaling, averaging, median, summing, and rounding. Each ThingSpeak Channel supports data entries of up to 8 data fields, latitude, longitude, elevation, and status. The channel feeds support JSON, XML, and CSV formats for integration into applications.

The ThingSpeak application on GitHub also features time zone management, read/write API key management and JavaScript-based charts from Highslide Software / Torstein Hønsi.

]]>
https://blogs.mathworks.com/iot/2011/03/28/thingspeak-api-source-code-on-github/feed/ 1