lorawan:prelude

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lorawan:prelude [2021/12/21 18:26] – created aleksipirttimaalorawan:prelude [2022/01/10 15:48] (current) – [Optionals] aleksipirttimaa
Line 2: Line 2:
  
 Prelude is the given name of this format that we have used and extended over time. Prelude is the given name of this format that we have used and extended over time.
 +
 +The measurements are JSON, regardless of their source. The type of every value is “json number”. Some whole numbers, some floating point.
 +
 +===== DevEUI =====
 +
 +DevEUI is a 64-bit MAC-address like (EUI-64) value formatted like 'a8-17-58-ff-fe-03-0f-53'.
 +
 +|        ^ Property ^
 +^ DevEUI | deveui   |
 +
 +===== Timestamps =====
 +
 +|           ^ Property         ^ Unit            ^ ^
 +^ Timestamp | timestamp_parser | epoch seconds   | Timestamp of parser |
 +^ Timestamp | timestamp_node   | epoch seconds   | Timestamp of LoRaWAN GW |
 +^ Timestamp | time             | see influx docs | Provided by InfluxDB (not present over MQTT) |
  
 ===== Optionals ===== ===== Optionals =====
Line 10: Line 26:
 ^ Air temperature      | temperature             | [°C]           | ^ Air temperature      | temperature             | [°C]           |
 ^ Relative humidity    | humidity                | [% RH]         | ^ Relative humidity    | humidity                | [% RH]         |
-^ Light                | light                   | (linear index) | ERS *                    +^ Light                | light                   | (linear index) | ERS (all)                
-^ Passive infrared     | motion                  | (linear index) | ERS *                    |+^ Passive infrared     | motion                  | (linear index) | ERS (all)                |
 ^ CO2                  | co2                     | [ppm]          | ERS CO2                  | ^ CO2                  | co2                     | [ppm]          | ERS CO2                  |
 ^ Battery voltage      | battery                 | [V]            | ^ Battery voltage      | battery                 | [V]            |
 ^ Average SPL          | sound_avg               | [dB]           | ERS Sound                | ^ Average SPL          | sound_avg               | [dB]           | ERS Sound                |
 ^ Peak SPL             | sound_peak              | [dB]           | ERS Sound                | ^ Peak SPL             | sound_peak              | [dB]           | ERS Sound                |
-^ Soil moisture        | moisture                | [%]            |+^ Soil moisture        | moisture                | [%]            | ELT 2 with soil moisture |
 ^ Atmospheric pressure | pressure                | [bar]          | ELT 2 with soil moisture | ^ Atmospheric pressure | pressure                | [bar]          | ELT 2 with soil moisture |
-^ Acceleration (X)     | acceleration_x**        | [g]            | ELT 2                    | +^ Acceleration (X)     | acceleration_x*         | [g]            | ELT 2                    | 
-^ Acceleration (Y)     | acceleration_y**        | [g]            | ELT 2                    | +^ Acceleration (Y)     | acceleration_y*         | [g]            | ELT 2                    | 
-^ Acceleration (Z)     | acceleration_z**        | [g]            | ELT 2                    |+^ Acceleration (Z)     | acceleration_z*         | [g]            | ELT 2                    |
 ^ Occupancy            | occupancy               | (enum)         | EMS Desk, ERS Eye        | ^ Occupancy            | occupancy               | (enum)         | EMS Desk, ERS Eye        |
-^ Raw thermophile data | external_ir_temperature | [°C]           | EMS Desk                 |+^ Raw thermopile data  | external_ir_temperature | [°C]           | EMS Desk                 |
 ^ Door pulse count     | absolute_pulse_count    | (integer)      | EMS Desk                 | ^ Door pulse count     | absolute_pulse_count    | (integer)      | EMS Desk                 |
 ^ Door pulse count     | relative_pulse_count    | (integer)      | EMS Door                 | ^ Door pulse count     | relative_pulse_count    | (integer)      | EMS Door                 |
 ^ Door state           | digital                 | (integer)      | EMS Door                 | ^ Door state           | digital                 | (integer)      | EMS Door                 |
  
 +* = Influx provides this flat (as documented), from MQTT this is a nested object. 
  
  • lorawan/prelude.1640111167.txt.gz
  • Last modified: 2021/12/21 18:26
  • by aleksipirttimaa