Skip to content

bernardpletikosa/droidcon-workshop-2016

Repository files navigation

relayr toilet demo example

Simple demo app to show how to use sensors to get information about toilet occupancy.

Hardware example uses: magnetic switch - door open/closed magnetometer - door locked/unlocked presence sensor - movement

ProtoIoT example uses: smartphone's' acceleration sensor - door open/closed

Modules

hardware - uses hardware with magnetic switch, magnetometer and presence sensor protoIoT - uses protoIoT app and phone's accelerometer sensor

How to get the project running

  1. clone this repository :)

  2. download ProtoIoT

  3. create an account on relayr dashboard

  4. create a project on developer dashboard

  5. copy APP ID / OAUTH CLIENT ID & OAUTH CLIENT SECRET to the relayrsdk.properties file in protoIoT module of the project

  6. replace DEVICE_ID constant with your ProtoIoT device id from the dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages