cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.73k stars 404 forks source link

TTNV3 has no Converter og Decoder page #988

Closed JensBovbjergdk closed 1 year ago

JensBovbjergdk commented 1 year ago

TTNV3 has no Converter og Decoder page. Only Default uplink payload formatter.

This i a little confusing. Which one to use?

// Converter for device payload encoder "PLAIN" // copy&paste to TTN Console -> Applications -> PayloadFormat -> Converter

and // Decoder for device payload encoder "PLAIN" // copy&paste to TTN Console -> Applications -> PayloadFormat -> Decoder

cyberman54 commented 1 year ago

Look here how to create payload formatters in TTNv3.

An example template for a paxcounter decoder is included in the src directory here.

If you don't want or need to edit the example template, it's not necessary to install a decoder manually, because there is paxcounter predefined decoder available from the TTN repository. When you registrate a device in TTN,

Going this way the paxcounter payload decoder will be automatically installed during device registration.