We provide two python libraries that facilitate the development and speed up the integration of Node Sensor into your IoT application.
This library (sensor_node.py), takes care of the encoding & decoding of the sensor Node’s LoRaWan Uplink and Downlink payloads. The module can be integrated to an existing project; it also contains a demonstration code to illustrate how to use the library.
The node manager (nodes_manager.py), connects to the MQTT broker of your LoRaWan gateway and manage all detected sensor nodes:
Before using the nodes manager, you need to fill up the configuration variables in config.py with the details of your MQTT server and LoRaWan gateway.
- Sends configuration to new nodes.
- Received and decode incoming sensor readings uplink.
- Publish decoded sensor readings values to MQTT server for easy integration.