I’ve been struggling with a couple of these sensors for months now with similar problems. I’m new to all of this so I’ve been chalking it up to lack of experience. I’m using a Laird RG1xx for a gateway. I sometimes see messages on one of the sensors. I will reset the other and re-join then I will see the messages from the one that was reset but not the other.
Sounds to me like they use the same OTAA credentials in their code. (AppEUI, DevEUI and AppKey.) You’ll probably still see uplinks from both devices in the gateway’s Traffic page in TTN Console, but only the one that was reset last will know the correct secret session keys and the latest assigned DevAddr (which changes for each join), as given in the last OTAA Join Accept response.
(Also, the other device will use an uplink counter that is too high, since the join will have reset it to zero. But that’s irrelevant when it doesn’t even know the correct secrets.)
I don’t at the moment have a TTN sensor node in hand, but may in the next week or two be able to retrieve one that I have lent out. And I plan to order a TTIG and generic sensor(s) as soon as available.
The roofs both have long range views… I’ve included a picture of the location of one of those TTN gateways. On the Gateway Overview page that one says:
Last Seen: 3 seconds ago
Received Messages: 2104
Transmitted Messages: 367
But when I switch from Overview to Traffic, there’s no traffic at all visible. On that page, does traffic stop showing at a certain time after a transmission/reception? Does that expire after a while, or when there’s an outage, while the “Received” and “Transmitted” counts on the overview page survive a reboot?
Thanks greatly for your input.
The gateway’s Traffic in TTN Console does not show historical data; you’ll need to have that web page open to see the packets come in. (And when you leave it open for a long time, then at some point you’ll probably see an error about some expired session.)
(Same goes for an application/device’s Data page, though there one might see recent historical data when one has the Storage Integration enabled.)
Given the (great) location of the gateway I’d really expect to see some traffic…
Does anyone know if I should set Network ID on my sensor? If so, what is its MSB and LSB value for TTN? I would say that:
MSB = 00 00
LSB = 00 19
Is that correct?
The 7 bits NwkID is already included in the DevAddr, which is why a TTN DevAddr always starts with 0x26 or 0x27. So, there is no need to set anything else.
(For ABP, the DevAddr is hardcoded; for OTAA the DevAddr is derived from the Join Accept.)
Four additional “received messages” counted on one of the rooftop gateways within the past two days… which suggests that it may be functioning ok… just not seeing much LoRaWAN activity in the area (I doubt that the uplinks were from the KONA device).
Today I need to spend much of the day about 150 meters from the base of one of those buildings that has a TTN gateway on the rooftop. No line of site and it’s on the far edge of the roof from where I am now. I brought the Kona device with me and was surprised some hours later to see this below appear about an hour ago… I don’t know how to interpret it. That definitely is the device in the bottom of the join data… And the device is no longer flickering which it had done continuously for close to a week since I pulled out the plastic tape from the battery. I haven’t yet seen any gateway traffic though.
A little more action. I see now by opening up each line using the arrow on the left edge of each row that the item at the bottom in this picture was a join request, the next item up the list was a join accept. The next item was traffic from a non-TTN network (Senet). The top item is for TTN. I wonder if it might be my device that has been successfully given a new devaddr starting with 26? Or would that be someone else’s TTN device?
Later: While I was still at that location, I subsequently, every half hour or so, waved the Kona device around and saw corresponding traffic at the gateway.
So… next I’ll need to figure out how to translate the uplink payloads into sensor data that I understand. And will start with the decoder that @eggfriedrice kindly referenced on Jan 21 in this thread.
You can tell the current DevAddr from the device’s Overview page in TTN Console. Also, it might have shown in the orange Join Request in the screenshot, when scrolling to the right. (It surely does that when looking at a Join Request in the application/device’s Data page.)
Can I connect this device to TTN and see temperature from the internet?
If yes, on which website could I do that (see temperature data)?
“Can I connect this device to TTN and see temperature from the internet?”
If you are in the U.S., you should be able to use the device (Tektelic producte code T0004885) that I linked to above (Feb 25) to connect to TTN, presuming there’s an active TTN gateway within range, and then see temperature data using the TTN console.
I don’t yet know how easy it would be to have the traffic forwarded to a site like Cayenne to have a better dashboard for remote monitoring. https://mydevices.com/cayenne/features/lora/
If you want to be able to do it soon, you might consider instead using The Things Node, which I’m confident integrates relatively easily with a dashboard like Cayenne’s.
And if you’re not in a hurry, perhaps wait for the TTN generic node.
Hello,
to set up a TTN application one has to enter the following details to the form:
- Application ID
- Description
- Application EUI
- Application ID
With the sensor KONA All-in-one Home Sensor I did get the following data:
- Product code
- Serial Number
- DEVEUI
- APPEUI
- APPKEY
Could you please help me out by matching those details to each other!? Thanks a lot!
regards,
Suitbert
A device is registered to an application. So, first create an application; this does not (yet) use any of the values provided with your sensor so just use whatever you like. After creation, go into the application’s settings and select “EUIs”:
- APPEUI goes into “Add EUI”, for which you first need to click the pencil icon to customize the value; see Registration of node with pre-configured LoRaWAN keys
Next, add a device to that application. While doing that:
- DEVEUI goes into Device EUI
- APPKEY goes into App Key; first click the pencil icon again
- APPEUI is selected from the dropdown (as entered in the application above)
Product code and serial number are not used.
Hi. I have successfully registered a Kona Micro gateway to TTN (us-west.thethings.network). Successfully registered a Kona Home Sensor and Kona PIR sensor. When I start the sensor OTAA the first time, it attaches and sends a payload. But then I don’t get any more traffic unless I reset the sensor. What am I missing that is keeping the data from the sensor to keep being sent to TNN?
I only changed the basic constructs in the gateway via KonaFT [added gateway_ID, changed server address, added aes_key].
Thanks in advance.
Hi at all,
I just got my first Tektelic smart room sensor.
Al I have is a box and the sensor.
No link, no data about codes, nothing.
So I don’t know how to register the node in TTN.
Is that normal or is there something missing?
Regards - Mat
Hi @avaonis, I use Tektelic KONA sensors.
The sensors are pre-provisioned by Tektelic with a DevEUI, AppEUI and OTAA AppKey.
You need to get these 3 items of information from the vendor.
Then you will be able to register the device on a TTN application.
If it is the same device that I have you will also need to pull out the plastic spacer that keeps the battery isolated during travel and storage.
Hey @avaonis
If you ordered the device from Connected Things you should have an email of details from us, if not, drop us an email and we’ll resend.
Hi eggfriedrice,
many thanks for your reply.
You are right. In future I will read my mails first
regards from Germany
Hi,
I’ve recently bought one of these and have set it up with TTN. It works fine in there but I am trying to connect it to cayenne to get some useful info out of it & I don’t seem to be able to. There aren’t many steps so I’m not sure what I’ve done wrong/can do differently to make it work…so:
- I’ve selected “add device” from there I’ve selected the “LoRA” box
- I select TTN & then scroll through the various devices and select "Tektelic KONA All-In-One Smart Home/Office Sensor (2019)
- I enter the DevEUI. Activation mode is “already registered” (can’t be changed). In Location the only option is “device doesn’t move” in Address I enter the postcode I’m at. I press “Add”
- The dashboard appears with a pointer on the postcode I’ve entered and nothing else. No option to add widgets - nothing.
I also tried this by selecting “Tektelic Home Sensor” from the device list - some other widgets do appear on the dashboard but no option to do anything with them or add new ones (plus they don’t seem to relate to any data my little box is collecting).
What am I doing wrong?!
** Since I started writing this another device has just appeared in my device list! I certainly didn’t add it. I seem to be able to add widgets to that but when I try to it says “device is offline restart your device to add widgets” (or something to that effect.
I’m very confused… I thought this would be straightforward!! Any help appreciated