{"id":27857429,"url":"https://github.com/jockdarock/clbarc-iot-protocols","last_synced_at":"2026-01-24T15:32:23.934Z","repository":{"id":99518470,"uuid":"168360230","full_name":"JockDaRock/clbarc-iot-protocols","owner":"JockDaRock","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-31T13:58:00.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-04T13:40:59.259Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/JockDaRock.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,"zenodo":null}},"created_at":"2019-01-30T14:53:16.000Z","updated_at":"2019-01-31T13:58:02.000Z","dependencies_parsed_at":"2023-07-30T15:46:00.181Z","dependency_job_id":null,"html_url":"https://github.com/JockDaRock/clbarc-iot-protocols","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JockDaRock/clbarc-iot-protocols","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JockDaRock%2Fclbarc-iot-protocols","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JockDaRock%2Fclbarc-iot-protocols/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JockDaRock%2Fclbarc-iot-protocols/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JockDaRock%2Fclbarc-iot-protocols/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JockDaRock","download_url":"https://codeload.github.com/JockDaRock/clbarc-iot-protocols/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JockDaRock%2Fclbarc-iot-protocols/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28730319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-05-04T13:20:21.713Z","updated_at":"2026-01-24T15:32:23.929Z","avatar_url":"https://github.com/JockDaRock.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# clbarc-iot-protocols\n\n## Workshop Guide for IoT Protocols\n\n### Websockets\n\nIn your browser open the following url `http://www.hivemq.com/demos/websocket-client/`\n\nUse `broker.hivemq.com` for our host for Websockets\n\n### MQTT from the CLI\n\nOpen a Terminal window using iTerm or basic mac Terminal.\n\nFirst we will subscribe to specific topic that we will test on.\n\n`mosquitto_sub -h broker.hivemq.com -p 1883 -t devnetzone/topic`\n\n`mosquitto_pub -h broker.hivemq.com -p 1883 -t devnetzone/topic -m \"hello world\"`\n\n`mosquitto_sub -h broker.hivemq.com -p 1883 -t \"devnet/city/#\"`\n\n### MQTT using UI\n\nOpen MQTT FX on your Mac computer.\n\n### Python MQTT examples\nCreate a directory for us to work in.\n\n`$ mkdir iot-prot0`\n\n`$ cd iot-prot0`\n\nNow let's clone the code we will need in this workshop.\n\n`$ git clone https://github.com/JockDaRock/iot-protocols`\n\nChange directories into the our Python code base\n\n`cd ./iot-protocols/mqtt`\n\nBut first we need to install a python library to run our code samples.\n\n`pip3 install paho-mqtt`\n\nNext we will run our python program.\n\n`python3 mqtt_sub.py`\n\nNow, we need to open a separate terminal from where our **mqtt_sub.py** file is running.\n\nAnd then we will run the python publisher application.\n\n`python3 mqtt_pub.py`\n\nYou did it!  You are now and expert in IoT protocols ;)!\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjockdarock%2Fclbarc-iot-protocols","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjockdarock%2Fclbarc-iot-protocols","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjockdarock%2Fclbarc-iot-protocols/lists"}