I have an application in which I deleted a device. Now I need to add that same device back. However, communication never starts. I see from several forum posts that this is a common problem. I tried to re-register it using the CLI with a new Appkey, but still nothing.
Can somebody help me?
Re-adding a node should work without any issue if you handle it like a new node. So don’t try to recycle the previous AppKey, just add a new node with the same DevEUI and have TTN generate the new AppKey. Then make sure to program the node with the new AppKey (setting the AppEUI to make sure it matches won’t hurt either).
If you perform these steps, what happens? Does your node provide debug output you can check? Do you own a gateway close (but not too close, at least 3 meters away) to the node so you can check if the node transmits the OTAA request?
Is it required that TTN generate the AppKey? When I re-added the device I just changed the last digit in the old key.
Well, nothing happens. The sensor (Elsys ERSCO2) blinks orange which tells me it tries to join the network.
I have to indoor gateways in our offices and when i go to the TTN console and look at traffic and search for the last four digits in the DevEUI, I get nothing.
I also tried resetting the configuration of the sensor and create a new configuration for it. Same result.
Did you have TTN Console already open while the node tried to join? (The gateway Traffic page won’t show anything it received before you opened that page.)
I’m quite sure you should see all valid LoRaWAN packets in the gateways’ Traffic pages in TTN Console, even if TTN does not somehow know the devices. (It also shows packets from other network providers. I don’t expect traffic to be silently hidden from the gateway Traffic page if TTN runs into some error when handling a previously known device.)
Just to ask the obvious: was it working before you deleted it? Sounds to me that the device is not transmitting any OTAA Join Request, despite the LED apparently tells you it is. This is then unrelated to any registration with TTN.
All Elsys sensors are equipped with NFC (Near Field Communication) for easy configuration with an Android phone. With our application “Sensor Settings“, you can change sample rate, data rate, encryption keys, triggers, activation and much more.