WebThingsIO / schemas

A Web of Things schema repository
https://webthings.io/schemas/
5 stars 8 forks source link

Add support for plant sensors #62

Open createcandle opened 4 years ago

createcandle commented 4 years ago

A good plant health sensor would have:

benfrancis commented 4 years ago
  • the temperature of the soil
  • the temperature of the air

These could both use TemperatureProperty.

  • the lumen level falling on the plant

We just added a ColorSensor capability, but I guess this is different. We do have a BrightnessProperty but that's a percentage. Maybe something like a LuminanceProperty with a unit of lumen?

  • the moisture percentage in the ground
  • the conductivity of the soil

These are definitely new. Are there SI units for moisture and conductivity?

Not sure whether this should be a PlantSensor capability or separate TemperatureSensor, MoistureSensor and LightSensor. Or maybe we could do both.

createcandle commented 4 years ago

Maybe something like a LuminanceProperty with a unit of lumen?

I believe that would be correct.

Moisture would be a percentage.

I'm not sure about conductivity.

Here is a professional device: https://www.metergroup.com/environment/articles/meter-legacy-soil-moisture-sensors/

Their website has many details: https://www.metergroup.com/environment/articles/soil-electrical-conductivity-beginners-guide-measurements/

It mentions:

The SI unit for electrical conductance is the Siemen, so electrical conductivity has units of S/m.

createcandle commented 4 years ago

I don't think a capability is required, unless that makes it easier to create advanced displays.

mrstegeman commented 4 years ago

The UI builds displays based on the exposed capabilities. That goes for things, properties, actions, and events.