Prologue: When the first unicorn appeared in the console after programming the TTN gateway, the real miracle was actually somehow something exciting, new and wonderful. And after almost three years of experience and development, the aforementioned unicorn is still the praise and confirmation of the success…. Do you wonder why this is being reported now?
News: Many hours of evening and night development work have now passed and we are proud to present you the current update for our Raspberry Pi Gateway. In the current departure from thethingsnetwork to the new v3.Stack, we are not only involved in development, but are actively shaping the future in cooperation with the “makers” of the scene. Data security and encryption are currently just as much a part of the requirements of an open, shared and free network as the simple and understandable installation of hardware and software. Since then, it has been clear to us to make the entry and expansion of the network as easy as possible for all interested parties - everything that is already known and above all tried and tested is welcome to be used again.
Today we are allowed to announce that we have built a Docker Compose from the previous Docker version and are using the Basicstation protocol for the gateway. To monitor the gateway variables, in addition to the actual GW software, there is also a collectd Docker that reads the status information from the RaspberryPi. An influx database would also be conceivable in order to be able to save measured values directly in another Docker.
The whole thing can be installed on RaspberryPi 3, 4 and also on a balena.Fin, our repo also supports different heads such as SX1301 (IMST ic880a or RAK2245) or SX1302 (RAK2287) - the installation can be done via the standard way ( a clone via Git is created and copied to the gateway, alternatively the gateway can be set up via Balena Cli. Here, too, we have included detailed instructions in the repository, which are based on the already known solutions and generally understand the way to your own LoRaWAN gateway With the Basicstation protocol, it is also very easy to switch between the old and new stacks at thethingsnetwork, in both directions.
The real advantage of the repository offered is the data encryption by the Basicstation protocol, which enables end-to-end encryption from the gateway to the network server via TLS. The status of your own living room window, the level of the cistern or the data from the environmental sensor are therefore “safe” during transmission through the cloud. Another advantage over the countless other solutions on the Internet is the management of a complete fleet of gateways. Updates or queries about the status of the individual gateways can be made online at any time via the balena.cloud.
… and how does it continue ? Take a look at our Github repository, where you can install your own gateway from scratch, in addition to the description of the hardware, you will also find the preparation and installation of the software step by step. Some of you have probably installed one or more gateways that are managed via the balena.cloud - we can now offer a simple option for migrating your gateways into the v3 stack AND the extension to the Basicstation protocol.
Repository GitHub - dasdigidings/basicstation: LoRa Basics™ Station - The LoRaWAN Gateway Software