cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards

Home Page:https://cyberman54.github.io/ESP32-Paxcounter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTNV3 has no Converter og Decoder page

JensBovbjergdk opened this issue · comments

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

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,

  • select option Select the end device in the LoRaWAN Device Repository,
  • then brand Open Source Community Project,
  • then ESP32-Paxcounter.

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