More data acquisition payload formats for Kotori

People are asking for more data formats on the ingress data acquisition path.

Support for Airrohr

Introduction

@clemens is already diverting output from a vanilla Airrohr device to weather.hiveeyes.org over HTTP transport. You can follow the stream by invoking

mosquitto_sub -h weather.hiveeyes.org -p 1883 -t 'umwelt/testdrive/luftdaten.info/#' -v

Data format

This device yields JSON data payloads like:

{
  "esp8266id": 12041741,
  "sensordatavalues": [
    {
      "value_type": "SDS_P1",
      "value": "35.67"
    },
    {
      "value_type": "SDS_P2",
      "value": "17.00"
    },
    {
      "value_type": "BME280_temperature",
      "value": "-2.83"
    },
    {
      "value_type": "BME280_humidity",
      "value": "66.73"
    },
    {
      "value_type": "BME280_pressure",
      "value": "100535.97"
    },
    {
      "value_type": "samples",
      "value": "3016882"
    },
    {
      "value_type": "min_micro",
      "value": "77"
    },
    {
      "value_type": "max_micro",
      "value": "26303"
    },
    {
      "value_type": "signal",
      "value": "-66"
    }
  ],
  "software_version": "NRZ-2018-123B"
}

Support for batch readings

Introduction

@wtf asked for submitting multiple readings in batches.

Data format

The proposed data format would simply encapsulate multiple readings into a list structure, so it would look like

[
  {"time": 0815, "temperature": 42.42, "humidity": 84.84},
  {"time": 4711, "temperature": 43.44, "humidity": 85.99}
]

See also: TTN-Daten an Kotori per HTTP/Post weiterleiten.

Support for TTN

Together with @Thias, we would like to unlock ingesting telemetry payloads from https://www.thethingsnetwork.org/.

See also

1 Like

Support for Tasmota

Together with @roh, we’ve unlocked decoding telemetry data originating from devices running the Tasmota Firmare the other day. Read all about it on Sonoff-Tasmota Decoder — Kotori 0.22.7 documentation.

See also