Close
0%
0%

Tracking Environmental Data with TPS and Keen.IO

This tutorial uses Tibbit #30 (ambient humidity and temperature meter) to collect environmental data and store it on the Keen.IO server.

Similar projects worth following
Keen.IO is a modern cloud platform providing data collection and analysis services through the REST API. Keen offers SDKs for many programming languages, including Node.js and browser-side JavaScript.

About the Application

  • Keen.IO is a cloud platform that provides data collection and analysis services via the REST API. Keen offers SDKs for many programming languages, including browser-side JavaScript and Node.js.
  • In this tutorial we used Tibbit #30 (ambient humidity and temperature meter) for collecting environmental data and storing it on the Keen.IO server.
  • A very simple in-browser application is used for fetching data from Keen.IO and displaying charts in the browser window (the charts below have been received from Keen.IO, they are not static).
  • Data collection and representation are separated into device.js and server.js applications.

Beautiful charts, straight from Keen.IO

Proposed Tibbit configuration

Onboard Software

  • Node.js V6.x.x (pre-installed during production)

External Services

  • Keen.IO (you should create an account)

GitHub Repository

Name: keenio-tutorial

Repository page: https://github.com/tibbotech/keenio-tutorial

Clone URL: https://github.com/tibbotech/keenio-tutorial.git

Updated At: Fri Oct 14 2016

Read more at: http://tibbo.com/linux/nodejs/tracking-environmental-data.html

  • 1 × Linux TPS3 (LTPS3) board
  • 1 × TBP3 enclosure Optionally
  • 1 × Tibbit #10 (power supply)
  • 1 × Tibbit #18 (power jack)
  • 1 × Tibbit #00-3 (2 direct I/O lines with 5V and ground)*

View all 6 components

  • 1
    Step 1

    Setting Up External Services

    • Create a Keen.IO account (free for up to 50000 events per month);
    • Add your project;
    • Click on the title of the project to open an overview tab:
  • 2
    Step 2
    • Receive your projectID and API keys (you need read and write keys):

    Store the keys securely, especially the master one

  • 3
    Step 3

    Node.js Application

    Configuration and Installation

    git clone https://github.com/tibbotech/keenio-tutorial.git
    cd keenio-tutorial
    npm install .

View all 9 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates