{"id":13816130,"url":"https://github.com/lrswss/sensorcamp-munich","last_synced_at":"2025-05-15T14:33:17.819Z","repository":{"id":215983456,"uuid":"221757189","full_name":"lrswss/sensorcamp-munich","owner":"lrswss","description":"Docker stack to setup a LoRaWAN infrastructure including a FROST-Server on a Raspberry Pi","archived":false,"fork":false,"pushed_at":"2021-08-25T16:41:47.000Z","size":611,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-19T13:37:09.636Z","etag":null,"topics":["lorawan","node-red","sensor-network","sensorthings","smartcity"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lrswss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-11-14T17:59:33.000Z","updated_at":"2023-03-10T13:41:52.000Z","dependencies_parsed_at":"2024-01-07T20:01:51.740Z","dependency_job_id":null,"html_url":"https://github.com/lrswss/sensorcamp-munich","commit_stats":null,"previous_names":["lrswss/sensorcamp-munich"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrswss%2Fsensorcamp-munich","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrswss%2Fsensorcamp-munich/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrswss%2Fsensorcamp-munich/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrswss%2Fsensorcamp-munich/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lrswss","download_url":"https://codeload.github.com/lrswss/sensorcamp-munich/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254359103,"owners_count":22058046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lorawan","node-red","sensor-network","sensorthings","smartcity"],"created_at":"2024-08-04T05:00:35.409Z","updated_at":"2025-05-15T14:33:17.504Z","avatar_url":"https://github.com/lrswss.png","language":"Shell","funding_links":[],"categories":["Tools"],"sub_categories":["Example Query"],"readme":"## Docker stack including all software components to run a private LoRaWAN infrastructure on a Raspberry Pi\n\nIt's based on the docker-compose.yaml from the [ChirpStack](https://github.com/brocaar/chirpstack-docker).\nproject but also includes [Node-RED](https://nodered.org) and the [FROST-Server](https://github.com/FraunhoferIOSB/FROST-Server)\nwhich the OCG [SensorThings API stanadard](https://www.opengeospatial.org/standards/sensorthings) to store\nsensor data 'the right way'.\n\nThe ChirpStack and the FROST-Server are sharing the included [PostgreSQL 11](https://postgresql.org) instance.\nNode-RED is basically used to turn the sensor data published via [MQTT](https://en.wikipedia.org/wiki/MQTT)\nby the ChirpStack application server into [observations](https://docs.opengeospatial.org/is/15-078r6/15-078r6.html#31)\nwhich are then posted via REST API to the FROST-Server. You need to setup the corresponding flows yourself!\nA flow consists of a MQTT source connected to the ChirpStack application server, a function node to decode\nthe binary sensor payload and a HTTP output node to post an observation as JSON to the FROST-Server.\n\nTo run the stack on your Raspberry Pi just clone the repository, open the file `docker-compose.yaml`\nwith a text editor and replace the ip address for the option `serviceRootUrl` with the ip address\nof your Raspberry Pi. Start the docker stack with `docker-compose up` in this directory and\ngrab a coffee. Docker will first download all required docker images (about 1.5 GB) and then\nstart eight services altogether. Don't worry about intermediate `ping PostgreSQL database` errors\nduring the initial setup process, it takes a while to create and configure a PostgreSQL instance\non a Raspberry Pi. Same holds true for the initial deployment of the FROST-Server (Java11/Tomcat9).\n\nEventually, when the load on your Raspberry Pi has settled (check with `top` in another terminal window),\nyou can connect to the ChirpStack UI with your favourite webbrowser at `http://\u003cip_addr_raspi\u003e:8000/`\nreplacing `\u003cip_addr_raspi\u003e` with the current ip address of your Raspberry Pi. The network-server is\nconfigured for EU868 by default. Use a different configuration file from ``examples`` directory\nif you need to switch to a different frequency band like US915. The FROST-Servers RESTful API is\n available at `http://\u003cip_addr_raspi\u003e:8080/FROST-Server/` and Node-RED at `http://\u003cip_addr_raspi\u003e:1880`.\n\nIf the stack was started successfully and all services are online (see above), hit Ctrl-C to stop\nit followed by ``docker-compose start`` to restart it in the background. You should see only green\n``done `` messages when restarting the stack.\n\nThe subdirectory `helper` contains a few shell scripts to reset the stack if you want to start\nfrom scratch, to remove it altogether including all docker images and to grand the stack components\nfull access to the internet, for example if you need to install additional Node-RED nodes.\n\nThis stack was originally composed for a [barcamp](https://barcamptools.eu/SensorCamp/) session on\nLoRaWAN infrastructure presented on the \"2. Fachtagung Sensordaten\" on the 13./14.11.2019 in Munich\nand updated to recent ChirpStack components, FROST 1.14 and PostgreSQL/Postgis 11/2.5.1 in July 2021.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrswss%2Fsensorcamp-munich","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flrswss%2Fsensorcamp-munich","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrswss%2Fsensorcamp-munich/lists"}