Tl;Dr: I'm unable to view uplink or send downlink packets from the web console, ttnctl, or the Node.js SDK. The last-seen counter is working, but only updates when I refresh the page, leading me to believe that there is a problem with the part of the TTN stack that sends out live data. My best guess is the MQTT broker.
What do you want to do?
I want to send downlink and receive uplink data from the console and Node.js SDK.
What steps did you take?
Log in to TTN.
Select "Console"
Click "Applications"
Select my application.
Switch to the "Devices" tab.
Choose my device.
Switch to the "Data" tab.
Set the filters to show all types of packets.
I also tried viewing packets via
What went wrong or what is missing?
No packets are visible, though the logs from my LoRa gateway show that it's successfully forwarding packets. The last-seen field only updates when I refresh the page. (e.g. right now it's at 6 minutes, but when I reload it will jump back to 2 seconds and count down from there.)
I also tried the ttn cli but nothing shows there either. I can even manually schedule a downlink from the TTN console but still nothing shows up on the data view.
It was working fine earlier, then suddenly stopped. What I did just before it stopped:
I modified some unrelated application code on my Murata LoRa module. I reverted my changes but TTN still seems not to be working.
I selected "reset frame counters" but clicked cancel after I read the scary message. Maybe that messed everything up?
Do you have Screenshots?
Sure do!
Status & Frame Counters
After leaving the page open for 8 minutes:
After a reload:
Data view
For a specific device:
For the entire application:
For the gateway:
What my gateway shows:
Serial output from my device:
What kind of OS/Browser/Gateway are you using? Which version?
LoRa Module: Murata CMWX1ZZABZ-078
Dev Board: Tlera Grasshopper
Gateway: Laird Sentrius RG191
My computer: MacOS 10.13.5
Browser: Firefox 63, but I also tried Chromium 61, the ttn cli, and the Node.js SDK with identical results.
What are the IDs and EUIs of your Device/Gateway? (if applicable)
This is a bug report for the backend.
Tl;Dr: I'm unable to view uplink or send downlink packets from the web console, ttnctl, or the Node.js SDK. The last-seen counter is working, but only updates when I refresh the page, leading me to believe that there is a problem with the part of the TTN stack that sends out live data. My best guess is the MQTT broker.
I want to send downlink and receive uplink data from the console and Node.js SDK.
I also tried viewing packets via
No packets are visible, though the logs from my LoRa gateway show that it's successfully forwarding packets. The last-seen field only updates when I refresh the page. (e.g. right now it's at 6 minutes, but when I reload it will jump back to 2 seconds and count down from there.)
I also tried the ttn cli but nothing shows there either. I can even manually schedule a downlink from the TTN console but still nothing shows up on the data view.
It was working fine earlier, then suddenly stopped. What I did just before it stopped:
I modified some unrelated application code on my Murata LoRa module. I reverted my changes but TTN still seems not to be working.
I selected "reset frame counters" but clicked cancel after I read the scary message. Maybe that messed everything up?
Sure do!
Status & Frame Counters
After leaving the page open for 8 minutes:![screen shot 2018-07-26 at 8 32 41 am](https://user-images.githubusercontent.com/8680147/43265508-8a667c6e-90ae-11e8-8074-a91af6d2c1b8.png)
After a reload:![screen shot 2018-07-26 at 8 33 48 am](https://user-images.githubusercontent.com/8680147/43265539-a524f04e-90ae-11e8-8119-a6bf8944f514.png)
Data view
For a specific device:![screen shot 2018-07-26 at 8 34 42 am](https://user-images.githubusercontent.com/8680147/43265585-c882926c-90ae-11e8-9b38-c7d494038825.png)
For the entire application:![screen shot 2018-07-26 at 8 35 38 am](https://user-images.githubusercontent.com/8680147/43265616-e502bce6-90ae-11e8-8ad1-829c4c42d855.png)
For the gateway:![screen shot 2018-07-26 at 8 36 22 am](https://user-images.githubusercontent.com/8680147/43265650-00724a6e-90af-11e8-8d1b-9b9567725038.png)
What my gateway shows:
Serial output from my device:
LoRa Module: Murata CMWX1ZZABZ-078 Dev Board: Tlera Grasshopper Gateway: Laird Sentrius RG191 My computer: MacOS 10.13.5 Browser: Firefox 63, but I also tried Chromium 61, the ttn cli, and the Node.js SDK with identical results.
Gateway ID: au-test-1 Device ID: au-aio-valves-revc-1 Device EUI: 000964CE3AE1AF8E
Gateway Configuration
![screen shot 2018-07-26 at 8 48 24 am](https://user-images.githubusercontent.com/8680147/43266296-aef3f514-90b0-11e8-808a-2b8e9dac6210.png)
The keys are blanked out, of course, but I double-checked them.
Device Configuration
This is the exact code I'm using: (with the appKey removed, of course)
See the screenshots.
Probably not.