{"id":21377227,"url":"https://github.com/softchef/lora-chirpstack-as923","last_synced_at":"2025-03-16T09:44:35.792Z","repository":{"id":104151384,"uuid":"249952600","full_name":"SoftChef/lora-chirpstack-as923","owner":"SoftChef","description":"Config-ready AS_923 chirpstack lora server","archived":false,"fork":false,"pushed_at":"2020-03-25T11:19:20.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T21:45:25.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoftChef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-25T10:48:23.000Z","updated_at":"2020-03-25T11:19:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a0fc382-f8ea-43eb-ab57-ad67c09c9cd7","html_url":"https://github.com/SoftChef/lora-chirpstack-as923","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Flora-chirpstack-as923","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Flora-chirpstack-as923/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Flora-chirpstack-as923/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Flora-chirpstack-as923/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftChef","download_url":"https://codeload.github.com/SoftChef/lora-chirpstack-as923/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852432,"owners_count":20358270,"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":[],"created_at":"2024-11-22T09:19:38.838Z","updated_at":"2025-03-16T09:44:35.762Z","avatar_url":"https://github.com/SoftChef.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lora-chirpstack-as923\n\n\n\n\n**Note:** 請確認安裝npm（node.js）、Docker並可執行docker-compose v3.7。\n\n## 運行步驟\n\n1. 切換目錄至chirpstack-lora此目錄\n```\ncd chirpstack-lora\n```\n\n2. 執行以下指令 (如果已經有請略過或將container stop\u0026rm 後docker remove mtrnet)。mtrnet 可以置換成你的名稱；目的是在於在docker container 與 container之間，再增加新的container後能在同一個網段中相互溝通，只是要在你的file 中service加上network，如同範例撰寫的。\n```\nsudo docker network create --subnet=172.19.0.0/16 mtrnet\n```\n\n3. 執行docker-compose指令，你將看到lora server 會運行\n```\nsudo docker-compose up\n```\n\n**Note:** during the startup of services, it's OKAY to see the following errors:\n\n* ping database error, will retry in 2s: dial tcp 172.20.0.4:5432: connect: connection refused\n* ping database error, will retry in 2s: pq: the database system is starting up\n\nAfter all the components have been initialized and started, you should be able to open http://YOUR_HOST:8080/ in your browser. E.g. http://localhost:8080/\n\n4. API 位置在http://YOUR_HOST:8080/api\n\n5. 請確認部署機器的port號是否打開能夠存取相對應的服務？（請見docker-compose-env）\n\n6. 嘗試增加自己的container，像是server、front-end； \n\n\n## Configuration\n\nThe ChirpStack stack components components are pre-configured to work with the provided\n`docker-compose.yml` file and defaults to the AS_923 LoRaWAN band. Please refer\nto the `configuration/chirpstack-network-server/examples` directory for more configuration\nexamples.\n\n## Device uplink topic\n\n```\napplication/{application_id}/device/{device_id}/rx\n\nor\n\napplication/#\n\n```\n\n## Device payload\n\n```\n{\n  \"applicationID\": \"1\",\n  \"applicationName\": \"R718WA_ABP_Test\",\n  \"deviceName\": \"R718WA_Dumpling\",\n  \"devEUI\": \"00137a10000081cb\",\n  \"rxInfo\": [\n      {\n      \"gatewayID\": \"000080029c2b2a47\",\n      \"uplinkID\": \"14510624-5d24-4600-8624-5ee3e940304b\",\n      \"name\": \"GemTekGW01\",\n      \"rssi\": -121,\n      \"loRaSNR\": -4.5,\n      \"location\": {\n        \"latitude\": 0,\n        \"longitude\": 0,\n        \"altitude\": 0\n       }\n      }\n   ],\n     \"txInfo\": {\n               \"frequency\": 923200000,\n               \"dr\": 2\n     },\n       \"adr\": true,\n       \"fCnt\": 72,\n       \"fPort\": 6,\n       \"data\": \"ATIBJAAAAAAAAAA=\",\n       \"object\": {\n        \"isLeak\": false,\n        \"voltage\": 3.6,\n        \"reportTime\": 155555555\n       }\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftchef%2Flora-chirpstack-as923","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftchef%2Flora-chirpstack-as923","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftchef%2Flora-chirpstack-as923/lists"}