LSIR / gsn

Global Sensor Networks
GNU General Public License v3.0
58 stars 44 forks source link

Multiple value Sensor Deployment #73

Closed mvishnuprathap closed 8 years ago

mvishnuprathap commented 8 years ago

How can we implement a multiple value sensing sensor in GSN other than the example ones given in the GSN. I would like to deploy a sensor that measures pressure as well as temperature.

ebiiii commented 8 years ago

It depends if the measurements are synchronized or not. If you always measure the pressure at the same time as temperature, you can simply have two fields in your output stream (when defining the virtual sensor in the xml file). Otherwise, you may want to have separated virtual sensors and store the temperature and pressure separately.