Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lorawan:prelude [2021/12/21 18:26] – created aleksipirttimaa | lorawan: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 ' | ||
| + | |||
| + | | ^ Property ^ | ||
| + | ^ DevEUI | deveui | ||
| + | |||
| + | ===== Timestamps ===== | ||
| + | |||
| + | | ^ Property | ||
| + | ^ Timestamp | timestamp_parser | epoch seconds | ||
| + | ^ Timestamp | timestamp_node | ||
| + | ^ Timestamp | time | see influx docs | Provided by InfluxDB (not present over MQTT) | | ||
| ===== Optionals ===== | ===== Optionals ===== | ||
| Line 10: | Line 26: | ||
| ^ Air temperature | ^ Air temperature | ||
| ^ Relative humidity | ^ Relative humidity | ||
| - | ^ Light | light | (linear index) | ERS * | + | ^ Light | light | (linear index) | ERS (all) |
| - | ^ Passive infrared | + | ^ Passive infrared |
| ^ CO2 | co2 | [ppm] | ERS CO2 | | ^ CO2 | co2 | [ppm] | ERS CO2 | | ||
| ^ Battery voltage | ^ Battery voltage | ||
| ^ Average SPL | sound_avg | ^ Average SPL | sound_avg | ||
| ^ Peak SPL | sound_peak | ^ Peak SPL | sound_peak | ||
| - | ^ Soil moisture | + | ^ Soil moisture |
| ^ Atmospheric pressure | pressure | ^ Atmospheric pressure | pressure | ||
| - | ^ Acceleration (X) | acceleration_x** | + | ^ Acceleration (X) | acceleration_x* |
| - | ^ Acceleration (Y) | acceleration_y** | + | ^ Acceleration (Y) | acceleration_y* |
| - | ^ Acceleration (Z) | acceleration_z** | + | ^ Acceleration (Z) | acceleration_z* |
| ^ Occupancy | ^ Occupancy | ||
| - | ^ Raw thermophile | + | ^ Raw thermopile |
| ^ Door pulse count | absolute_pulse_count | ^ Door pulse count | absolute_pulse_count | ||
| ^ Door pulse count | relative_pulse_count | ^ Door pulse count | relative_pulse_count | ||
| ^ Door state | digital | ^ Door state | digital | ||
| + | * = Influx provides this flat (as documented), | ||