Giter Club home page Giter Club logo

iot-appengine's Introduction

Project

The purpose of this project is to follow your pet's habits. Put in your cat or dog neckless the sensors and get some informations about them (how much do they walk per day (not yet implemented), temperature, etc).

iot website project

Software

The Data collection for Internet of Things run on Google App Engine.

Harware

iot website project

Three main folders

  • AppEngine : Source code for your application AppEngine
  • Contiki : Source code for your Z1 and Sensortag
  • Localserver : Source code for your RaspberryPi

1. Deploy you Local Server (RapsberryPi)

1.1 Setup

1.1.1 Requirements

sudo apt-get install python python-pip
sudo pip install flask
pip install urllib3
pip install requests

1.2 Deploy

  • Retrieve the sources from our repository
  • Copy the default directory
  • Modify the config.cfgg file
Property Description
auto_external Set it to false if you have a domain name and write your domain url in "external" field
external Your domain name (if you got one)
port Flask port. It need to be open by your firewall
distant_ip App Engine application URL
friendly_name A simple name for your server

Example:

[general]
auto_external: true 	
external: 
port: 1234 		
distant_ip: http://1.iot-pirate.appspot.com 
friendly_name: deruaz_home
  • Modify the main to add the sensors (virtual or real sensors) Example:
# Add a virtual sensor
tools.add_sensor(Sensor_tag_virtual( 'Lassie', '23fa8287-a719-4c1b-8177-7ec829f6e08r', '6Lowpan', 0, "2015-12-05 11:03:06"))
# Add a real sensor (Sensortag)
tools.add_sensor(Sensor_tag_real("Simba", '01111111-a719-4c1b-8177-7ec829d6e02a', '6Lowpan', 1, "2013-04-05 11:03:06", "http://[aaaa::c30c:0:0:1560]/"))

1.3 Running It

  • Make start.sh executable
sudo chmod +x start.sh
  • Modify start.sh to run the main with the right .cfg file
sudo nano start.sh
  • Run start.sh
./start.sh

2. Z1 and Sensortag

If you need more informations about how to set up Instant Contiki and compile your Zolertia Z1 or Sensortag -> Wiki

iot-appengine's People

Contributors

kamyh avatar michaelcaraccio avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.