A demo application to receive sensor data from LoRaWAN devices from an MQTT broker and visualise it on a realtime interactive map.
Install the dependencies:
pip install -r requirements.txtCreate a secrets.json file with the following structure:
{
"connections": [
{
"username": "...",
"password": "...",
"url": "...",
"port": 1234,
"topics": {
"topic-name-1": "...",
...
}
},
...
]
}Create an empty data file:
echo {} > data.jsonRun the app:
python3 main.pyThen visit http://127.0.0.1:8050/ in a web browser.
