Notice: Undefined index: HTTP_REFERER in /var/www/html/wp-content/plugins/wp-cors/wp-cors.php on line 28 Notice: Undefined index: HTTP_ORIGIN in /var/www/html/wp-content/plugins/wp-cors/wp-cors.php on line 29 ChirpStack - A LoRaWAN Network Server to Make You Sing - Pycom

What can you do with LoRa 

A whole lot of things! 

In case you didn’t know, LoRa stands for Long Range radio, which is a wireless protocol developed by Semtech (you’ll find their SX127x chipset on our boards). To quote from Semtech’s website, LoRa is a spread spectrum modulation technique derived from Chirp Spread Spectrum (CSS) technology. CSS was originally used for military and space communications as it was capable of large communication distances and wasn’t easily interfered with. LoRa is the first low-cost commercial implementation of it.   

LoRa uses license-free radio frequency bands such as 868 MHz (Europe), 915 MHz (North America and Australia) and 923 MHz (Asia). In LoRa’s case, long range equals more than 30 miles in rural areas. LoRa covers the physical layer or layer 1 (of the OSI model of computer networking) and  LoRaWAN (Long Range Wide Area Network) covers the upper layers. 

For a LoRa network to work, the gateways need to connect to the internet in order to forward data to your chosen LoRa server.  

If you’ve begun to familiarise yourself with Pybytes, our newly revamped device management platform, you’ll know that we have ChirpStack offering. Which is fantastic news for those of you that want to get your own autonomous LoRa network set up.  

LoRaWan, Cellular and Wi-Fi BLE diagram

(Source: LoRa_Why_Range.png 

What’s ChirpStack 

ChirpStack is an open-source LoRaWAN Network Server stack. It was previously known as the LoRa Server and was renamed ChirpStack. (Rather catchy if you ask us.) It’s a solution that works out of the box, and as it has a modular structure, it neatly integrates with existing infrastructures.  

According to their website, ChirpStack provides ‘open-source components for LoRaWAN networks’. It allows you to set up a fully scalable, secure stack via MQTT and TLS.  

ChirpStack and Pybytes software interface(Source: https://www.chirpstack.io)

What features does it have? 

ChirpStack has a number of different features (from chirpstack.io):  

  • Class A support: Supports Class-A end-devices that allow for bi-directional communications. Each end-device’s uplink transmission is followed by two short down-link receive windows.  
  • Class B support: Supports Class-B end-devices. ChirpStack allows for Class-B devices to open extra receive windows at scheduled times.  
  • Class C support: Supports Class-C end-devices. Class C devices have almost continuously open receive windows.  
  • Adaptive data-rate: If the end-device has ADR enabled, the ChirpStack server ensures that the device operates using the most efficient data-rate and tx-power.  
  • Live frame-logging: Provides live frame-logging per gateway and device. It will display all the RX/TX meta-data, together with the raw LoRaWAN PHYPayload in a readable format. (Just like Wireshark for LoRaWAN.)  
  • Channel (re)configuration: Whether you want to use a sub-set of the LoRaWAN defined channels or configure additional channels, the ChirpStack LoRaWAN network-server will make sure the device stays in sync with the network configured channels.  
  • Multi-tenant: ChirpStack LoRaWAN application-server supports the creation of multiple user organisations to which administrator users can be assigned.  
  • APIs and Integration: All ChirpStack components provide gRPC and/or REST APIs for integration with external services. By default, all application data is published to a MQTT broker.  
  • LoRaWAN 1.0 and 1.1 compatible: The ChirpStack LoRaWAN network-server supports LoRaWAN 1.0 and LoRaWAN 1.1 devices simultaneously.  

To check out all of the features (yes, there’s more) head to the ChirpStack documentation 

internet of things solutions platform

(Source: https://www.chirpstack.io)

What does Pycom offer with ChirpStack? 

If you went about setting up your own LoRaWAN server independently, you’d have to host it on your own domain or infrastructure. Luckily for you, if you set-up ChirpStack via Pybytes, you’re provided with our own domain. Simply select from a set of LoRaWAN servers for different regions, and get your IoT project started!  

Not only that, you’ll be able to change the sidebar options so that you can easily find exactly what you want when you want it. 

At the moment, we support the ChirpStack Application Server and the ChirpStack Network Server.  

If you access the following link, https://loraserver.pycom.io/, you’ll be able to set up your own network settings. We’ll provide the options you can choose from!   

We currently only support the EU868 or the European area for ChirpStack. But don’t become too downhearted, as we are working on supporting more areas.  

internet of things solutions platform