Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 116820

Running TTN back-end locally reports gateway errors

$
0
0

Thanks again @htdvisser

I have followed your tips, my local config file looks like this

$ cat ~/TTNbackend/config.ttnctl.yaml
app-eui: 70B3D57ED0000159
debug: true
mqtt-broker: localhost:1883
ttn-account-server: https://account.thethingsnetwork.org
ttn-handler: localhost:1782
ttn-router: localhost:1700

And making using of the ttnctl with such as configuration, I have added a personalized device

$ ./ttnctl-linux-amd64 applications --config "$HOME/TTNbackend/config.ttnctl.yaml"
Using config file: /home/lorabackbone/TTNbackend/config.ttnctl.yaml
  INFO Found 3 application(s)                  
EUI                 Name                Owner                  Access Keys                                     Valid
70B3D57ED0000159    testLocal           ndarkness@gmail.com    F6yfFcOUpzLLJdxXGkgGh/GDGIGqQYPwBpQAo0VXIZ0=    true 
70B3D57ED0000161    testLoraLocal       ndarkness@gmail.com    F4e25OwT/svegmKXZn5SVYivQYM+L3akKhcdmwrvBNE=    true 
70B3D57ED0000163    0000000000000000    ndarkness@gmail.com    uLjas+2206geUmo/oAp9vsZBbF7i+Ylw/vYi/95oTBw=    true 
$ ./ttnctl-linux-amd64 devices info 02010103 --config "$HOME/TTNbackend/config.ttnctl.yaml"
Using config file: /home/lorabackbone/TTNbackend/config.ttnctl.yaml
Personalized device:

  DevAddr: 02010103
           {0x02, 0x01, 0x01, 0x03}

I am using node red to make some upload data as explained here but I get an error in the handler like this one

handler_1 | WARN Received message on invalid Downlink topic adapter=handler-mqtt error=Invalid topic format topic=70B3D57ED0000159/devices/02010103/down

Any hint?

PS my node red scheme is this


Viewing all articles
Browse latest Browse all 116820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>