Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add adapter for ingesting data from TTN #8

Open
amotl opened this issue Jun 3, 2019 · 6 comments
Open

Add adapter for ingesting data from TTN #8

amotl opened this issue Jun 3, 2019 · 6 comments

Comments

@amotl
Copy link
Member

amotl commented Jun 3, 2019

@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
Copy link
Member Author

amotl commented Jun 3, 2019

@amotl
Copy link
Member Author

amotl commented Mar 3, 2020

@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
Copy link
Member Author

amotl commented May 24, 2023

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
Copy link
Member Author

amotl commented May 24, 2023

@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
}

Footnotes

  1. https://community.hiveeyes.org/t/pax-counter-mit-lopy4/4838

  2. https://community.hiveeyes.org/t/tts-ttn-daten-an-kotori-weiterleiten/1422/87

@ClemensGruber
Copy link

ClemensGruber commented May 24, 2023

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

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

@amotl
Copy link
Member Author

amotl commented May 24, 2023

No need to use bytes array.

Yes, my note is about properly ignoring it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants