daq-tools / kotori

A flexible data historian based on InfluxDB, Grafana, MQTT, and more. Free, open, simple.
https://getkotori.org/
GNU Affero General Public License v3.0
108 stars 17 forks source link

Add adapter for ingesting data from TTN #8

Open amotl opened 5 years ago

amotl commented 5 years ago

@thiasB asked the other day

Did I mention that TTN can also send the data to an HTTP endpoint [1]? It would be nice if Kotori would accept that, too.

[1] https://www.thethingsnetwork.org/docs/applications/http/

amotl commented 5 years ago

We are tracking this at

and others also asked about related things:

amotl commented 4 years ago

@thiasB added the appropriate implementation to https://github.com/daq-tools/ttnlogger the other day. Thanks!

At some point, we will port that into a corresponding decoder implementation for Kotori.

amotl commented 1 year ago

Hi again,

we made some progress by finally integrating GH-81. GH-132 is still a bit dormant, but GH-133 has further ideas on this topic, in order to generalize a corresponding implementation.

With kind regards, Andreas.

amotl commented 1 year ago

@ClemensGruber is working on ^1 and just shared the TTN payload of a Paxcounter device with us at ^2. Thank you.

We will have to check what happens with that data payload fragment, which contains a list of bytes, which are not quite typical telemetry/metric/measurement values.

"decoded_payload": {
  "ble": 1,
  "bytes": [
    1,
    0,
    1,
    0
  ],
  "pax": 2,
  "port": 1,
  "wifi": 1
}
ClemensGruber commented 1 year ago

We will have to check what happens with that data payload fragment,

No need to use bytesarray, I can avoid them via the TTN payload decoder, see https://community.hiveeyes.org/t/tts-ttn-daten-an-kotori-weiterleiten/1422/90 .

amotl commented 1 year ago

No need to use bytes array.

Yes, my note is about properly ignoring it.