Thanks to the expertise of many community members and the effort of our core development team (@KtorZ, @htdvisser, @Thomas and myself), I’m proud to announce the staging environment of TTN back-end 1.0.
Features
Support for over-the-air-activation (OTAA) with custom security key per device
Support for activation-by-personalization (ABP) with custom security key pair per device
Support for confirmed uplink messages
Support for unconfirmed downlink messages for Class A devices
Deduplication of uplink messages
Command line interface for managing users, applications, devices and testing connectivity
Duty cycle calculations and best gateway selection for downlink
MQTT authentication and authorization
Support for EU 863-870 MHz frequency plan
Designed for public community networking, private connected networking and private offline networking
This is a staging environment which is much like a public beta that we update continuously. Do not use this environment for production. It is advisable, however, to migrate from Croft to the staging environment.
See GitHub for the list of issues. Issues that worth mentioning here:
Support for EU 433 MHz, US 902-928 MHz, China 470-510 and 779-787 MHz and Australia 915-928 MHz (issue #119 and #120)
If you find any issues, please raise an issue on GitHub. That allows for easy communication with the core team, assignment of labels and milestones, reference issues and commits, and follow progress.
Future Developments
Web dashboard as alternative to ttnctl (in progress)
@johan After joining OTAA the node will be assigned a DevAddr (I assume). Will this DevAddr be recycled at some point in time if a node does not send any data? (Looking at the MultiTech network-server it has a default of 1440 minutes until a join expires)
In fact, DevAddr may be used by different nodes at the same time. The back-end tries the NwkSKeys it has for the concerning DevAddr.
We may want to purge the activated devices after some time, but this expiration time should be long. Afaik there’s no expiration specified in LoRaWAN 1.0. There are many use cases possible where activated devices only send a couple of messages per year.
@w4estaging.thethingsnetwork.org. Will clarify that, thanks!
@cambierr no more storage unfortunately. That doesn’t scale well and becomes expensive. It may be an additional, optional service. Also, we’re considering a free cache of an hour or so. It is recommended to use MQTT.
Edit: @cambierr you will get to manage everything with a dashboard too. I thought you were referring to the REST API to get data.
Thanks to all involved in getting this next phase of TTN out of the lab. Really impessive to notice what has been done and I think it might be good we say: ‘thanks all of you guys’. It looks amazing. Well done.
I’m pointed my gateway at the new backend and now trying to configure a Multitech MDOT-BOX to use this.
I’ve created a user and a new application fine. However, the following command fails:
$ ttnctl devices register DevEUIAccess Key
I’m assuming that the Access Key that is associated with an application upon creation is the same as the AppKey required when registering a device, since I cannot see any other key associated with the application.
The error I get is “FATAL Invalid AppKey: Invalid input”.
I also can’t see any way to manipulate the Access Keys associated with an application.