I followed the instruction here: MultiTech Conduit Configure AEP model and successfully connected the Conduit to TTN Gateway.However, when i try to use LoRa demo on mDot Box, it shows ‘joining’ and doesn’t have any connection.
So i’m wondering could there be any problem with the TTN packet forwarder?
I’m new to LoRa network so let me know if you need more information.
Check the TTN console for the gateway to check i you are seeing any traffic. If there is traffic on that page, switch to the application and check for traffic there as well.
Check both show traffic (and the gateway traffic shows two colors lightning symbols). If it does we’ll go from there…
There is no traffic shown on the gateway… I checked it the first time I installed the ttn-pkt-forwarder and nothing showed up on traffic. I thought it was because i didn’t turn on the mDot box but when i use the mDOt box, they aren’t been able to connect…
Where on the globe are you located? Which frequency plan are you using?
LoRaWAN <> WiFi. Nodes do not connect to a gateway. Nodes transmit and any and all gateways within RF reach will get the data. If the CRC is valid the gateway will forward it to the back-end, in your case TTN. Check /var/log/lora-pkt-fwd.log to check the statistics and see if there are any percentages <> 0 in the line: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
I’m not sure which command i should use. But here is the result i got…
admin@mtcdt:~# tail /var/log/lora-pkt-fwd.log
15:19:28 INFO: Ghoststream data is disabled
15:19:28 INFO: Radiostream data is enabled
15:19:28 INFO: Statusstream data is enabled
15:19:28 INFO: Beacon is disabled
15:19:28 INFO: Packet logger is disabled
15:19:28 INFO: Flush output after statistic is disabled
15:19:28 INFO: Flush after each line of output is disabled
15:19:28 INFO: Watchdog is disabled
15:19:28 INFO: Contact email configured to "yc013@bucknell.edu"
15:19:28 INFO: Description configured to "Starter"
There should be a lot more output after those lines. Use ‘tail -f’ and keep the gateway running for some time. Look for a line with the text ‘INFO: [main] Starting the concentrator’ followed by ‘INFO: [main] concentrator started, radio packets can now be received.’.
That is encouraging as it shows the packet forwarder is running correctly.
If both node and gateway are using the same frequencies (sub band 1 == channels 8-15) you should see percentages <> 0.00% when the node is sending data.
Everything looks alright. Do you keep sufficient distance between the node and the gateway while testing? At least 7 feet?
Does the gateway have an antenna connected to the reverse SMA connector on the LoRaWAN card? (Not the cellular antenna on the main chassis, the connector on the inserted card)
Is this a ‘recent’ gateway or one that has been purchased some years ago? I’m asking because MultiTech had some issues with the LoRa cards at some point a few years ago where the range of the gateway suffered and was only a few feet.
Are you saying that after installing your packet forwarder, the lora network should still be able to connect?
I made some progress these days:
After i configure my mdot box and mdots, (By following these AT Command), they are seen on the application console.
However, they have only activation data file on the application console. There’s no other uplink or downlink data file shown.
I haven’t set up any flows on the Conduit node-red (I’m not sure how to). But when I tried to install the ttn nodes it shows:
npm WARN package.json mts-gpio@ No repository field.
npm WARN package.json mts-gpio@ No README data
npm WARN package.json mts-mcard@ No description
npm WARN package.json mts-mcard@ No repository field.
npm WARN package.json mts-mcard@ No README data
npm WARN package.json mts-serial@ No description
npm WARN package.json mts-serial@ No repository field.
npm WARN package.json mts-serial@ No README data
npm ERR! not a package /tmp/npm-13400-6z8QQDGg/github.com/thethingsnetwork/api
npm ERR! Error: ENOENT, open '/tmp/npm-13400-6z8QQDGg/github.com/thethingsnetwork/api-unpack/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.12.27r13
npm ERR! command "node" "/usr/bin/npm" "install" "node-red-contrib-ttn"
npm ERR! cwd /opt/node-red
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! path /tmp/npm-13400-6z8QQDGg/github.com/thethingsnetwork/api-unpack/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! not ok code 0
I don’t know what you are asking. If you are referring to the Lora network server on the conduit? That is not being used once you install MP forwarder. Neither is the MultiTech supplied packet forwarder. Using the setup pages for these components might result in MP forwarder not running correctly.
Yes, that’s what i meant. I’m having trouble receving uplink or downlink. No data is passed from the end-device to TTN server.
I’ve read this one but someone from MultiTech support said i should install nodes. I don’t know what to do with it. Instead of installing the nodes, what nodes should i use to transfer the data?