Skip to content

Generic LoRa application to consume TrackNet LNS events

Notifications You must be signed in to change notification settings

berghauz/appx_gpstracker

Repository files navigation

appx_gpstracker (WIP)

Generic LoRa application to consume and store TrackNet LNS events

Features

  • Network outages/disconnects tolerance
  • Support white list filters by DevEui and MsgType
  • Support regexp in white list filters
  • Support filters and inventory hot reloading (SIGHUP)
  • Instrumented with Prometheus
  • Both ws and secured wss supported
  • Dynamic TCIO autoconfiguration support
  • Pluggable decoders support
  • Backend storage: RethinkDB and ElasticSearch
  • big ints (>53bits) stored as strings
  • MQTT as backend remote reciever
  • Backend chaining

ToDo's

  • Track last FCntUp/Down and restart fetching from last state
  • etcd/zookeeper support
  • MongoDB support
  • Track last FCntUp/Down and restart mqtt after connection lost
  • list default options with -help command

Config example

appname: gpstracker

owner:
  id: "owner-1::"
  appx_bootstrap_uri: ws://lns.xxx:7000/owner-info
  storage_pref_list: [mongo]

  ssl:
  certificate: /etc/var/foo.crt
  public_key: /etc/var/foo.key
  trust_chain: /etc/var/trust_foo.crt

mongo:
  uri: "mongo://..."

filters:
  deveui:
    - ".*"
    #- 00-01-00-00-00-00-00-00
    #- 00-01-00-00-00-00-00-01
    #- 00-01-00-00-00-00-00-02
  msg_type: 
    - "*"

About

Generic LoRa application to consume TrackNet LNS events

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages