{"id":19758831,"url":"https://github.com/daq-tools/umqtt-example","last_synced_at":"2026-06-11T11:31:40.383Z","repository":{"id":47188382,"uuid":"404635315","full_name":"daq-tools/umqtt-example","owner":"daq-tools","description":"Examples to test the behavior of MicroPython's \"umqtt.simple\" module against Mosquitto","archived":false,"fork":false,"pushed_at":"2021-09-09T08:09:50.000Z","size":6,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T09:24:45.773Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/daq-tools.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2021-09-09T07:58:18.000Z","updated_at":"2023-12-27T10:44:06.000Z","dependencies_parsed_at":"2022-08-02T22:16:09.839Z","dependency_job_id":null,"html_url":"https://github.com/daq-tools/umqtt-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daq-tools/umqtt-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fumqtt-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fumqtt-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fumqtt-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fumqtt-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daq-tools","download_url":"https://codeload.github.com/daq-tools/umqtt-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fumqtt-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34197393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T03:26:10.255Z","updated_at":"2026-06-11T11:31:40.350Z","avatar_url":"https://github.com/daq-tools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#############\numqtt-example\n#############\n\n\nAbout\n=====\n\nConcise example to test the behavior of MicroPython's ``umqtt.simple`` against\nMosquitto 2.0.11 / 2.0.12.\n\nThe reason is to investigate a potential regression with Mosquitto 2.0.12,\nbeing more strict wrt. protocol compliance, which apparently breaks\n``umqtt.simple``.\n\nSee also:\n\n- https://github.com/micropython/micropython-lib/issues/445\n- https://github.com/hiveeyes/terkin-datalogger/pull/97\n\n\nNotes\n=====\n\nThere is a module ``umqtt.universal``, which is derived from ``umqtt.simple``.\nIt is compatible with both MicroPython and CPython.\n\n\nSetup\n=====\n\nInstall MicroPython::\n\n    brew install micropython\n\nAcquire sources::\n\n    git clone https://github.com/daq-tools/umqtt-example\n    cd umqtt-example\n\n\nUsage\n=====\n\nRun Mosquitto::\n\n    # Version 2.0.11\n    docker run -it --rm --publish=1883:1883 eclipse-mosquitto:2.0.11 mosquitto -c /mosquitto-no-auth.conf\n\n    # Version 2.0.12\n    docker run -it --rm --publish=1883:1883 eclipse-mosquitto:2.0.12 mosquitto -c /mosquitto-no-auth.conf\n\nInvoke tests, on both CPython and MicroPython::\n\n    make test\n\nIn order to individually invoke the tests, run::\n\n    # CPython\n    make test-cpython\n\n    # MicroPython\n    make test-micropython\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaq-tools%2Fumqtt-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaq-tools%2Fumqtt-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaq-tools%2Fumqtt-example/lists"}