charts – 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, 22 Sep 2021 19:24:43 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 [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
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
Battery-powered Temperature Logger with ThingSpeak + Electric Imp https://blogs.mathworks.com/iot/2014/04/17/battery-powered-temperature-logger-with-thingspeak-electric-imp/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/04/17/battery-powered-temperature-logger-with-thingspeak-electric-imp/#respond Thu, 17 Apr 2014 23:38:08 +0000 https://blogs.mathworks.com/iot/?p=1186

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

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

]]>
https://blogs.mathworks.com/iot/2014/04/17/battery-powered-temperature-logger-with-thingspeak-electric-imp/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
Solar Panel Data Logging to ThingSpeak https://blogs.mathworks.com/iot/2012/08/29/solar-panel-data-logging-to-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/08/29/solar-panel-data-logging-to-thingspeak/#respond Wed, 29 Aug 2012 16:36:32 +0000 https://blogs.mathworks.com/iot/?p=975 ThingSpeak user, “SolarInKrimpen”, from Rotterdam, Netherlands, created a solar power monitoring system that reports data collected by solar panels and feeds the data to web services such... read more >>

]]>
ThingSpeak user, “SolarInKrimpen”, from Rotterdam, Netherlands, created a solar power monitoring system that reports data collected by solar panels and feeds the data to web services such as ThingSpeak, Cosm, and PVoutput. They are collecting data such as, AC Wattage collected by a Pulse Counter, Total KWH per day, temperature of the solar panels, and the carbon offset.

UPDATE

Over at the Netduino forums, we found the source code for the Netduino and HTML for the ThingSpeak gauges for embedding the solar panel data on a website. Awesome!

]]>
https://blogs.mathworks.com/iot/2012/08/29/solar-panel-data-logging-to-thingspeak/feed/ 0
Smart Home Project with ThingSpeak, Arduino, chipKIT, and Drupal https://blogs.mathworks.com/iot/2012/05/11/smart-home-project-with-thingspeak-arduino-chipkit-and-drupal/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/05/11/smart-home-project-with-thingspeak-arduino-chipkit-and-drupal/#comments Fri, 11 May 2012 07:29:20 +0000 https://blogs.mathworks.com/iot/?p=941 Via Twitter, we caught wind of a project by a group of Rutgers University SCI ITI students. As their final project, the team built a working model of a smart home using sensors connected to... read more >>

]]>
Via Twitter, we caught wind of a project by a group of Rutgers University SCI ITI students. As their final project, the team built a working model of a smart home using sensors connected to ThingSpeak cloud services via Arduino and chipKit. They were able to embed their data and integrate with their Drupal-based website and show a live demonstration of the smart house. Lots of cool technology went into their project including a small scale model complete with balsa wood and Popsicle sticks. This proved to be a great way to show how their project works with other students and faculty.

This video that we discovered on YouTube is the team’s presentation. You will get to see ThingSpeak in action, live in front of an audience about halfway thru…

We hope you got an “A” on the project (do they still give letter grades?)!

]]>
https://blogs.mathworks.com/iot/2012/05/11/smart-home-project-with-thingspeak-arduino-chipkit-and-drupal/feed/ 1
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
Connect Sensors to ThingSpeak via Teracom https://blogs.mathworks.com/iot/2011/11/23/connect-sensors-to-thingspeak-via-teracom/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/11/23/connect-sensors-to-thingspeak-via-teracom/#respond Wed, 23 Nov 2011 05:18:33 +0000 https://blogs.mathworks.com/iot/?p=851 [david] from Toute la Domotique adapted the Teracom box to connect to ThingSpeak web services for data logging of sensors. In his article, Suivi de Température”, David covers the ThingSpeak... read more >>

]]>
[david] from Toute la Domotique adapted the Teracom box to connect to ThingSpeak web services for data logging of sensors. In his article, Suivi de Température”, David covers the ThingSpeak integration in a 6 part tutorial written in French.

Teracom temperature monitoring with ThingSpeak

The Teracom box allows for 1-wire connections to sensors. David connected a temperature sensor to the 1-wire bus, an Ethernet connection, and customized the controller to push data to ThingSpeak for data logging of environmental sensor data. The tutorial also includes great photos clearly showing the setup for others to repeat.

]]>
https://blogs.mathworks.com/iot/2011/11/23/connect-sensors-to-thingspeak-via-teracom/feed/ 0
DIY Weather Station with Arduino, Processing, and ThingSpeak https://blogs.mathworks.com/iot/2011/09/01/diy-weather-station-with-arduino-processing-and-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/09/01/diy-weather-station-with-arduino-processing-and-thingspeak/#respond Thu, 01 Sep 2011 21:58:48 +0000 https://blogs.mathworks.com/iot/?p=810 [lars] created a weather station from scratch using sensors and bits from SparkFun and Adafruit. Lars wanted to log weather data and access it from remotely. He built the weather station using... read more >>

]]>
[lars] created a weather station from scratch using sensors and bits from SparkFun and Adafruit. Lars wanted to log weather data and access it from remotely. He built the weather station using humidity, temperature, pressure, and light sensors collecting data from his apartment in Ithaca, NY. Originally, Lars was collecting data with his own web application created with PHP and MySQL. He has since started publishing his data to ThingSpeak where others can view the data and potentially build applications.

ThingSpeak Weather Station

Behind the scenes, Lars uses the Arduino microcontroller to collect data from the sensors and uses Processing to publish data to his ThingSpeak Channel.

From Lars’ project site:

The goal of this project is to log some weather data and be able to access it from anywhere. There is some sensor data (temperature, relative humidity, pressure, and ambient light) and some computed data (dew point). You can see the weather condition in my apartment in Ithaca, NY at my ThingSpeak Channel 346. You can also look at the Google Chart of my own MySQL solution, which I no longer maintain.

Check out a detailed breakdown of the Weather Station project and more awesome projects on Lars’ project site, called “make.larsi.org“.

]]>
https://blogs.mathworks.com/iot/2011/09/01/diy-weather-station-with-arduino-processing-and-thingspeak/feed/ 0
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
ThingSpeak Charts are Internet Explorer 6 Approved https://blogs.mathworks.com/iot/2011/08/30/thingspeak-charts-are-internet-explorer-6-approved/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/08/30/thingspeak-charts-are-internet-explorer-6-approved/#respond Tue, 30 Aug 2011 06:43:40 +0000 https://blogs.mathworks.com/iot/?p=802 You may not use Internet Explorer 6 anymore, but maybe a family member or a customer still uses it. And, you want them to be able to see your sensor data and applications. We also wanted to have the... read more >>

]]>
You may not use Internet Explorer 6 anymore, but maybe a family member or a customer still uses it. And, you want them to be able to see your sensor data and applications. We also wanted to have the widest compatibility possible for the biggest audience. Our charts use JavaScript to give the viewer much more detail behind the data points themselves vs. static charts. However, we are dependent on what a user uses to see the charts. We have made some enhancements and now all versions of Internet Explorer since version 6 work great with ThingSpeak. Of course the charts work great on all other modern desktop / iPhone and Android mobile browsers.

ThingSpeak is Internet Explorer Approved

]]>
https://blogs.mathworks.com/iot/2011/08/30/thingspeak-charts-are-internet-explorer-6-approved/feed/ 0
You Can Learn from Sensor Data https://blogs.mathworks.com/iot/2011/06/02/you-can-learn-from-sensor-data/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/06/02/you-can-learn-from-sensor-data/#comments Fri, 03 Jun 2011 04:14:23 +0000 https://blogs.mathworks.com/iot/?p=679 Something stuck me today. You can learn from your sensor data. Why go to all of the trouble of logging data without ever taking a look at it and make adjustments? For example, knowing your energy use... read more >>

]]>
Something stuck me today. You can learn from your sensor data. Why go to all of the trouble of logging data without ever taking a look at it and make adjustments? For example, knowing your energy use only helps if you can lower your power use. This is why most power monitoring apps grow stale. In some cases there is little you can do about your power use or you’re not given the tools to make an impact. Our goal with ThingSpeak is to make it super easy to connect things, collect data, share data, and make sense of it all. We wanted to re-confirm our commitment to you. We were spurred on by a recent Tweet from @WaterSim.

[Elad Salomons] of OptiWater noticed that his house water pressure was 9 bars and this set him on a collision course with the Internet of Things. In his research he discovered ioBridge and ThingSpeak. He was able to connect sensors to the web, visualize the data, and come up with a few ah-ha’s in the process.

Gauge showing water pressure

Elad is enjoying the process so much that he wanted to share the learning experience with you. He has created a contest based on some sensor data he has collected. You can look at the data and download historical data over at his Water Simulation blog to see if you can explain the correlations. You have until June 30, 2011 to figure it out. Visit Elad’s blog for more information or look him up on Twitter. $100 to learn something? That’s awesome!

[via Water Simulation / ioBridge]

]]>
https://blogs.mathworks.com/iot/2011/06/02/you-can-learn-from-sensor-data/feed/ 1
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
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
Integration with ioBridge Dashboard Applications https://blogs.mathworks.com/iot/2011/03/23/integration-with-iobridge-dashboard-applications/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/03/23/integration-with-iobridge-dashboard-applications/#respond Wed, 23 Mar 2011 05:57:35 +0000 https://blogs.mathworks.com/iot/?p=456 ioBridge just added a new feature that allows you to add custom apps and widgets to the ioBridge Dashboard application. This means you can aggregate data from many sources and one of the examples... read more >>

]]>
ioBridge just added a new feature that allows you to add custom apps and widgets to the ioBridge Dashboard application. This means you can aggregate data from many sources and one of the examples is embedding a ThingSpeak chart. You can also embed ThingSpeak Plugins and external video and truly have a custom dashboard. The new HTML App allows for HTML, CSS, and JavaScript to create web service mashups without having to run another web server to build applications. SSL is included in both ioBridge and ThingSpeak applications, so everything is secure and ready to go out of the box.

ThingSpeak Charts and Plugins on ioBridge Dashboard

[via ioBridge News and Projects]

]]>
https://blogs.mathworks.com/iot/2011/03/23/integration-with-iobridge-dashboard-applications/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