From Camp 2011 Public Wiki
Linked Sensor Data | |
---|---|
collect, share, and analyze sensors data . More soon. | |
Contact | benoitc |
People | |
Village | DataVillage |
Contents |
What is the LinkedSensorData project
A number of individuals are collecting large amounts of data provided by environmental sensors. However, this data is too often underutilized by the greater community. The goal of this project is to build an open source tool that will allows to collect data and share them easily a distributed and decentralized manner.
Environment sensors can be collected via Arduino microcontrollers plugged to sensors, ZigBee/XBee sensor networks, mobile devices or plug computers.
Find the video showing our prototype developed during the hackathon here: http://vimeo.com/27662399.
Looking for volunteer
We are looking for:
- Coding the software, based on CouchDB , Erlang & Python.
- Design and Graphics of the Web Application and Web Site
- Advocacy of the projects, finding associations and organizations interested .
During the CCCAMP 2011 we would like to meet people to discuss use cases and hack / prototype open source tools to address those use cases.
Related projects
- W3C SSN: the W3C Semantic Sensor Networks working group defining vocabularies that can be reused for data interoperability
- JSON-LD: Linked Data in JSON (to express linked data respecting W3C vocabularies in JSON suitable for mobile devices and Ajax web interface)
- pachube.com: the most used platform for sharing sensor data (not open source)
Linked Sensor Data Source Code
Dump here the list of open source software projects that could be used to build of prototype of this:
Visualization layer:
- A JS library for geo data visualization: MapQuery
Arduino HTTP client library: potentially useful building blocks:
- EthernetDHCP & EthernetDNS: A library to automatically request an IP address and to look up server hostnames: arduino-ethernet
- Better randomization functions (could be useful to register on a server with a new device id): TrueRandom
Plug computer python client:
- instrumentalist python client code that reads XBee's serial data to push it as JSON on a couchdb or refuge database
- is using use python-xbee
Server side: refuge / couchdb instance running on a sheeva plug computer:
- http://81.162.68.150:5984/linkedsensordata (Direct JSON over HTTP API endpoint)
Arduino
Sensing data, sending JSON requests
- LinkedSensorData github repo
Frontend
an other idea:
- LinkedSensorDataVis (github repo)
- d3.js for drawing a timeline
- MapQuery for drawing a map
Model
Inspired by http://api.pachube.com/v2/ {
id: uuid description: String status: String location: { name: String lat: Float lon: Float elevation: String } datastreams: [ { id: uuid unit: { type: String label: String symbol: String } max_value: Float min_value: Float at: DateTime current_value: Float datapoints: [ { at: DateTime value: Float }, ... ] }, ... ]
}