{"id":22868490,"url":"https://github.com/datavenueliveobjects/start-here-python","last_synced_at":"2025-03-31T10:50:54.881Z","repository":{"id":117578496,"uuid":"244597654","full_name":"DatavenueLiveObjects/Start-here-python","owner":"DatavenueLiveObjects","description":"LoRaMqttSample.py is a code sample for the MQTT protocol, written in Python","archived":false,"fork":false,"pushed_at":"2020-12-23T12:04:17.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T15:53:34.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://liveobjects.orange-business.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DatavenueLiveObjects.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-03T09:44:37.000Z","updated_at":"2020-12-23T12:04:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"8463f7e7-cbe4-49ed-8e1b-a8def6aa12f7","html_url":"https://github.com/DatavenueLiveObjects/Start-here-python","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/DatavenueLiveObjects%2FStart-here-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DatavenueLiveObjects%2FStart-here-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DatavenueLiveObjects%2FStart-here-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DatavenueLiveObjects%2FStart-here-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DatavenueLiveObjects","download_url":"https://codeload.github.com/DatavenueLiveObjects/Start-here-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458022,"owners_count":20780675,"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-12-13T12:35:21.929Z","updated_at":"2025-03-31T10:50:54.862Z","avatar_url":"https://github.com/DatavenueLiveObjects.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"LoRa MQTT Client Sample\n=======================\n\n__LoRa MQTT Client Sample__ is a code sample for the MQTT protocol, written in Python.\n\n## Quick start\n\n### Download\n\nclone from GitHub:\n\n```\n$ git clone https://github.com/Orange-OpenSource/LiveObjects-samples-python.git\n```\n\n### Prerequisites\n\nVersion of Python: tested with 2.7.10 and 3.5.2\n\nThis sample of code use the paho library. You should download the library with the `pip` tool\n\n\u003e pip install paho-mqtt\n\nIn order to retrieve data, a valide LoRa device must be provisioned on your account.\nYou should have a valid API-KEY with BUS_R role.\n\n### First use\n\n1. Open the LoMqttConf.py and replace the API-KEY with yours (with device profile to push data to LiveObjects, or application profile to read data from a FIFO)\n2. Open the LoRaMqqtSample.py. In the `on_connect()` function, comment, uncomment or modify subscriptions (all devices PubSub, specific device PubSub or FIFO).\n   Create a FIFO (see [Manual - Using FIFO](https://liveobjects.orange-business.com/doc/html/lo_manual_v2.html#BUS)), and update with the FIFO name (instead of \"myfifo\").\n   Create the message routing configuration (see [Manual - Message routing](https://liveobjects.orange-business.com/doc/html/lo_manual_v2.html#MESSAGE_ROUTING)). \n3. Run the LoRaMqttSample.py\n\n### Structure\n\nThis sample contains 3 files : \n* LoRaMqttSample.py: The main file, using the LoMqttClient class in order to retrieve LoRa data.\n* LoMqttConf.py: The configuration file, filled with your API-KEY\n* LoMqttClient.py: A class wrapping the Paho MQTT client, adding the Live Objects specifics. \n\n## License\n\nCopyright (c) 2015 — 2020 Orange\n\nThis code is released under the BSD3 license. See the `LICENSE` file for more information.\n\n## Contact\n\n* Homepage: [liveobjects.orange-business.com](https://liveobjects.orange-business.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatavenueliveobjects%2Fstart-here-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatavenueliveobjects%2Fstart-here-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatavenueliveobjects%2Fstart-here-python/lists"}