API explanation
  • 31 Mar 2023
  • Contributors
  • Dark
    Light
  • PDF

API explanation

  • Dark
    Light
  • PDF

Article Summary

Warning

This documentation is showing api V1, please see Documentation for v2.
Api v1 is being depricated

sensorStream:

image.png

sn: Sensor serial number
time: Timestamp from gateway when sample was received. (Milliseconds since Unix Epoch​)
added _seconds: Timestamp when sample was added to database (Seconds since Unix Epoch​)
added _nanoseconds: Decimal of timestamp when sample was added to database
status: Status of sample. 100 - Button pressed, 105 - Critical data transmission
values: Array of sensor values
pv: What is the primary value in the values array
rssi: Sensor to gateway signal strength in dBm. More positive value equals better connection
rawValues: Array of sensor values, before possible calculation
gatewaySn: Serial number of gateway that sent the sample
si: Array of the SI units of the sensor values

SI Units

The SI base units are the standard units of measurement defined by the International System of Units for the seven base quantities of what is now known as the International System of Quantities: they are notably a basic set from which all other SI units can be derived.

latestSamples:

image.png

node: What antenna or node of the gateway that retreived this sample
type: What type of sensor this is
alias: Sensors nick-name in your system


What's Next