Skip to content
A Drupal Feature module that parses sensor data and displays it. See the sensor_hub project page on Drupal.org for an issue queue and more info on further development.
PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
shub.context.inc
shub.features.content.inc
shub.features.inc
shub.info
shub.module
shub.quicktabs.inc
shub.strongarm.inc
shub.views_default.inc

README

This module will set up data structures to represent Sensor Boards, Sensor Board Data, Sensors, and Sensor Readings.  It also provides code that will parse Sensor Board Data nodes into Sensor Reading nodes.  For example, if your Sensor Board is emailing sensor data to a webserver, you can use the Mailhandler module to import those emails into Sensor Board Data nodes and the Sensor Hub module code will pars the data into Sensor Reading nodes.

INSTALLATION

For incoming data, make sure the string is in the following format:
{sensor board id} {first sensor reading position}, {second sensor reading position}, {etc...}

You need to prepare a Sensor Board node for each unique Sensor Board you have sending the webserver information.  You need to prepare a Sensor node for each sensor you have attached to your real live sensor board.  The sensor board must send over a string with its own unique identifier at the beginning of every transmission (as seen above).  As for each connected Sensor node, you must define the position in the string that the sensor board is sending over that corresponds with that sensor.

CREDIT

This Drupal Feature module was created by R.J. Steinert (rj@rjsteinert.com) and Dennison Williams for Mathew Lippincott's Rodent Resistent Composter project (http://www.cloacina.org/blog/2010/06/2nd-composter-finished/).
Something went wrong with that request. Please try again.