Sample Apps

Get your M2X based project off the ground quickly using sample app code and deploy in one-step to platforms like Heroku and OpenShift.

M2X OpenShift Demo Apps (Ruby + Python)

ruby python

This Repo provides a Quick Start for an OpenShift application that contains several demo applications (Ruby and Python) that report data to AT&T M2X.

View Code

M2X Heroku Python Demo

python

This sample app provides a framework for a Heroku application with Python code that reports data to AT&T M2X. The application reports the current stock price of AT&T's stock every minute.

View Code Deploy

M2X Heroku Ruby Demo

ruby

This sample app provides a framework for a Heroku application with Ruby code that reports data to AT&T M2X. The application reports the current system load every minute.

View Code Deploy

M2X Heroku PHP Demo

php

This sample app provides a framework for Heroku with PHP code that reports data to AT&T M2X. The application reports the current system load every minute.

View Code Deploy

Citystats

python

This application runs on Heroku, collects data pertaining to various cities and reports the data to AT&T M2X.
Community code from: Kristin Peterson

View Code Deploy

M2X Vagrant Demo (Ruby + Python)

ruby python

This Repo provides a Vagrant virtual machine that contains several demo applications (Ruby and Python) that report data to AT&T M2X.

View Code

Sample Trigger App (Node)

node.js

This small node.js application shows a simple way of performing an action when an AT&T M2X Trigger is fired, in this case sending an email through the SendGrid API.

View Code

M2X Healthy Baby (iOS)

ios

Healthy Baby is an iOS application that demonstrates how a consumer facing health and wellness application can utilize the AT&T M2X service.
Community code from: Citrusbyte

View Code

Android Test App

android

This sample app demonstrates all calls that can be made by the M2X Android client library.

View Code

Pimotion

raspberry pi python

Pimotion is a motion detector application that runs on the Raspberry PI. It captures snapshots of movement and uploads the montage image to an M2X Device's data Stream.
Community code from: Citrusbyte

View Code

CleverFaucet

raspberry pi python

CleverFaucet is a Python application that runs on the Raspberry Pi and uses AT&T's M2X to log data about a faucet's water usage to a M2X Data Stream.

View Code

Node-Red M2X Node

node.js node-red

A node for IBM's Node-RED used to store time-series data in AT&T M2X. This node is also included out-of-the-box with AT&T Flow Designer.

View Code

M2X IBM Bluemix Python Demo

python

This demo app provides a framework for an IBM Bluemix application with Python code that reports data to AT&T M2X. The application reports the current stock price of AT&T's stock (ticker symbol "T") every minute.

View Code

M2X IBM Bluemix Ruby Demo

ruby

This sample app provides a framework for an IBM Bluemix with Ruby code that reports data to AT&T M2X. The application reports the current system load every minute.

View Code

M2X IBM Bluemix PHP Demo

php

This demo app provides a framework for an IBM Bluemix application with PHP code that reports data to AT&T M2X. The application reports the current stock price of AT&T's stock (ticker symbol "T") every minute.

View Code

PyFi

python

Wifi monitor that utilizes nmap and AT&T M2X to track devices connected to a local network.

View Code

Real-Time HR Tracker

javascript

Real-time HR Tracking web app built with AT&T M2X, Pusher & CanvasJS.

View Code