flowthings.io Tutorials

Ruby Tutorial

Posted in Ruby, Internet of Things by Greg Meyer

This is a very simple example app for our Ruby Gem.

Do you remember Geocities? Sure you do! Remember those horrible counters that used to appear on their websites? Of course you do, and if you don't, here's a reminder:

geocities website counter

I bet you wish you could make one now! Well, that's what we're going to do, using Ruby, Sinatra and flowthings.io.


The flowthings.io Smart Coaster Hydration Monitoring App

Posted in Node, Intel® Edison, Internet of Things, IBM Bluemix by Matt Morten

Let's see how easily it is to build a scalable cloud application for IoT devices using flowthings.io

Consumer health is a multi-billion dollar industry, and one of the new trends in this area is IoT devices designed to track, analyze and promote personal wellbeing. By tracking their progress against a defined goal, users are motivated to live healthier lifestyles.

Maintaining an adequate intake of water is a recommendation for good health, especially for people with active lifestyles.

A Cup of water

So the software development team in Brooklyn decided that building a simple water-consumption tracker would be an excellent way to show off how simple and easy it is to use flowthings.io to process IoT device data in the cloud!


Using the flowthings.io Java Client to Create Smart Agriculture Applications

Posted in Java, Grails, Internet of Things by Matt Morten

We've released another new library to make interacting with flowthings.io a breeze, and this time it is for Java! It includes full flowthings.io object and WebSockets api support. Furthermore, we show how easy it is to create a Smart-Agriculture application using the new library and Grails.


Full Stack flowthings.io and Node: From Device to Client

Posted in Track GUI, Node, JavaScript, Arduino, Internet of Things, Angular, CylonJS, Heroku by Greg Meyer

This tutorial provides a broad overview of the flowthings.io solution stack from a connected Arduino devices, straight through a WebSockets powered Angular.js application. We’ll use an Arduino Uno that takes temperature measurements (real-world realtime data) we then enhance that data in realtime with information from the openweathermap API (institutional knowledge) and deliver all of the data to a server running the back end for our angular.js app. We then use the back end server to power a simple web app.


Getting started with flowthings.io & Raspberry Pi - Python Client

Posted in Python, Raspberry Pi by Miguel Pires

In this tutorial, we'll use the flowthings.io python client library with the Raspberry Pi. We'll create a simple python program to send telemetry from the Raspberry Pi to flowthings.io. We’ll then demonstrate how to use WebSockets to receive realtime updates of that data on another computer.


Getting started with flowthings.io - The Python Chat Example

Posted in Python, Websockets, JavaScript by Matt Morten

Using flowthings.io makes it easy to push, process and deliver information in real time, and what better way to demonstrate this than by building a simple chat application using the flowthings.io Python client library. This tutorial will show how to use the library to:

  • Set up a chat room
  • Generate restricted user tokens
  • Send and receive chat messages using the Web Sockets protocol

Furthermore, we'll introduce the concept of real time processing using flow.js to add message content filtering.