Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sensors are a generic term for any device that takes measurements from its environment and records them for observation. There are numerous use cases on a farm where sensors can be useful. Perhaps most top of mind is measuring rainfall in order to better understand how much water your crops are getting.

...

Sensor_reading

reading_id

location_id

Read_time

created_at

reading_type

value

unit

valid

Description

A unique identifier for this reading.

The location that represents the sensor that created this reading.

The timestamp when this reading was captured on the integrated device.

The timestamp when this reading was created in the LiteFarm database.

The reading type which (should) corresponds with a partner_reading_type

The numerical value of the reading.

The unit that when combined with the value represents the reading.

Boolean value on whether this reading has passed some sort of external QA process.

Required?

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Example

“ce7c5f2c-c77c-11ed-86ec-0242ac120002”

“2ec78a8a-a993-11ed-ac8f-0242ac120002”

2023-03-20 23:55:21.739103+00

2023-03-21 00:10:37.243388+00

“temperature”

20.191444

“Celsius”

FALSE

Notes

Why doesn’t this reference a partner_reading_type?

The above architecture could probably be streamlined.

...

  • QLCD8Q - Will register, but no data feed

  • 5GFLSS - Will register, but no data feed

  • D36B32 - Will register, but no data feed

  • SHJ44V - Will register, but no data feed

  • 7XZPYL - Will register and generate a data feed

  • LTEXWC - Will register and generate a data feed

  • MBZ69B - Would generate a feed, but is being used by Ensemble for testing and so can’t be registered

  • JRVALF - Will register and generate a data feed (claimed by Joyce / on beta)

  • BDCDKN - Will register and generate a data feed

  • TEE2TG - Will register and generate a data feed (Claimed by Denis on BETA)

  • 9MP6V9 - Will register and generate a data feed (claimed by Joyce / local)

  • 9XF8Z5 - Will register and generate a data feed

  • GSUU4U - Will register and generate a data feed (claimed by Joyce / local)

  • AW72KG - Will register and generate a data feed(claimed by Mwaya)

Note

Please note that a sensor can only be registered to ONE ORGANIZATION at a time, so you’ll need to coordinate which sensors should exist on each farm.

...

Case

Response

No validation error when the user uploads the soil_water_content sensor

200 - Successful upload

Although the user is not able to upload a sensor with depth more than 1000 via API , the user can manually change the depth of the sensor to 10000 using the APP.

The user is able to upload the sensors with the longitude / latitude consists more than 10 decimals.

Questions:

See Question and answers

Requirements

Jira Legacy
serverSystem JIRA
serverId815f41e5-e5fb-3402-8587-82eccc3ffab0
keyLF-2338

...