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 - Will register and Would generate a data feedfeed, but is being used by Ensemble for testing and so can’t be registered

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.

...