OpenIotOrg / openiot

The Open Source Project for the Internet of Things
458 stars 189 forks source link

Support for multiple sensors of the same type at the same lat/long #47

Open charvolant opened 10 years ago

charvolant commented 10 years ago

The soil moisture sensors that I'm using are installed as clusters of identical sensors, each buried at different depths within the soil.

At the moment, I'm configuring a work-around where the depth is included as a property in the observation.

stavrosp commented 10 years ago

I am not sure I understand this one. Is your goal to show all these sensors on the map? If that is the problem then you can't, the scheduler will report back only sensor type. It will not show the location of the physical sensor on the map.

If there is something else please let me know.

charvolant commented 10 years ago

It's more that if I want to do a (SPARQL) query for data for a sensor of a specific type with a specific lat/long, I need to be able to distinguish between data from sensors at specific depths, since they measure different features.

(More generally, I think I should be able to describe a sensor using a complete RDF graph and then be able to query for a sensor that matches complex criteria but that's for another issue. This is just a symptom.)

stavrosp commented 10 years ago

I think that this indeed seems to be a more general issue but for now what you can do is register the sensors as sensors of a different type based on depth value (this would be partially correct since they measure different features as you say). I am not sure that this is a solution for you.

This is something that needs to be generally discussed by the other members of the project too. I am also tagging this as an enhancement.

hylkevds commented 10 years ago

The same problem exists for sensors in buildings. For the SmartCampus scenario we model our reservations as sensor events. In that case I need to be able to select the sensors in room x, or search for sensors on floor y. I think we need a way to select a feature of interest, and then get all sensors that measure data of a certain type for that feature of interest.