Tutorials

To get you started, we’ve created a few video tutorials explaining the basics of some common tasks. The tutorials take you through the process in a logical order, starting with how you create a data source and then write data to it.  Then you’ll see how to retrieve data using PHP, making it readily available via the Web.  After that, we’ll show you how to make use of the data via three different technologies: JavaScript, Node-RED and Android.

Creating a New Data Source

1SThis tutorial shows you how to create a new data source on the Data Hub.  Once this is done, you will be able to send data to the Hub and read data from it for your source.

Onboarding Data

2SOnce you have created a new data source, you will undoubtedly want to start writing data to it.  This tutorial shows how to do that, using the example of an Arduino temperature sensor.

Retrieving Data using PHP

3SNow that you’re sending data to your feed, it’s time to start using it.  This tutorial explains how to read from the stream using PHP, ready for access via a JavaScript web application.

Graphical Interface using JavaScript

4SThis tutorial uses data read from the PHP script created in the previous tutorial to show temperature on a simple web page containing a guage.

Retrieving Data using Node-RED

5SNode-RED is a graphical, drag-and-drop interface for creating applications, and with the custom MK:Smart node, it’s easy to take and use data from the Data Hub.  This tutorial shows you how, in combination with InfluxDB and Grafana.

Retrieving Data using Android Application

6SIf you want to make your data available on the go, an Android application is an obvious choice.  This tutorial shows how to get information from the Data Hub and display it in an Android application.