...
Proposed CSV upload format
Sensor | ID | Name | Lat_long | TypeReading_types | Depths | Elevation | … |
---|---|---|---|---|---|---|---|
Description | The sensor’s unique id. This is the identity that will be used to register the sensor with external services. | How the sensor will be labelled in LiteFarm. | The latitude and longitude for the sensor, comma separated. | Comma delimited list of sensor reading types. Valid values to begin are:
| Assumed to be in cm, comma delimited if multiple depths. Must have at least 1 entry. | The elevation of ground level at the location where the sensor is mounted. | |
Required? | Required | Required | Required | Required | OptionalRequired | Optional | |
Example | “Sensor 1” | -31.362442522541148, -64.21047544487595 | soil_moisture, temperature | 10, 50, 100 |
Architecture
Sensor: The attributes describing the physical device and it’s location
sensor_parameter: The parameters that instruct LiteFarm on how to parse data read by the sensor but don’t change from reading to reading and also aren’t related to the physical nature of the sensor. May just be part of the sensor table!
sensor_reading: Readings from the sensor.
...
Sensor_reading | ID | Read_time | Transmit_time | Sensor_ID | sensor_parameter_id | Value |
---|---|---|---|---|---|---|
Description | A unique identifier for this reading. May have some meaning or traceability for Ensemble. | The timestamp when this reading was captured. | The timestamp when this reading was transmitted. | The sensor reporting the reading. | The calibration which instructs on how to interpret the value. Required since each sensor can have multiple types of readings, e.g. “Temperature” and “Moisture”. | The numerical value of the reading. |
Required? | Required | Required | Required | Required | Required | |
Example |
Questions:
What are the valid types of sensors to start withsensor (reading) types to start with?
How do we link up sensor_reading_types with a depth via csv upload?
How does ensemble tie a reading to a parameter when posting new sensor readings?
What is the format for registering an organization with ESCI?
What is the format for registering a callback address with ESCI?
What is the format for registering sensors with ESCI?
Are there any attributes above that are missing?
...