{"id":15022074,"url":"https://github.com/kirbs-/rpi2mqtt","last_synced_at":"2026-02-03T21:31:26.030Z","repository":{"id":57462822,"uuid":"143530797","full_name":"kirbs-/rpi2mqtt","owner":"kirbs-","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-10T15:44:39.000Z","size":252,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T03:48:56.100Z","etag":null,"topics":["home-assistant","mqtt","raspberry-pi"],"latest_commit_sha":null,"homepage":"","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/kirbs-.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":"2018-08-04T13:23:05.000Z","updated_at":"2025-06-06T15:27:22.000Z","dependencies_parsed_at":"2025-04-12T06:06:19.442Z","dependency_job_id":"550fab2e-e463-40a8-a1e6-6d51ed2fc129","html_url":"https://github.com/kirbs-/rpi2mqtt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kirbs-/rpi2mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirbs-%2Frpi2mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirbs-%2Frpi2mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirbs-%2Frpi2mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirbs-%2Frpi2mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirbs-","download_url":"https://codeload.github.com/kirbs-/rpi2mqtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirbs-%2Frpi2mqtt/sbom","scorecard":{"id":561138,"data":{"date":"2025-08-11","repo":{"name":"github.com/kirbs-/rpi2mqtt","commit":"d07b635531435cf8dac7c2356aea979553ebea28"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-and-publish.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-publish.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/kirbs-/rpi2mqtt/build-and-publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-publish.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/kirbs-/rpi2mqtt/build-and-publish.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/build-and-publish.yaml:28","Warn: pipCommand not pinned by hash: .github/workflows/build-and-publish.yaml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T13:43:54.459Z","repository_id":57462822,"created_at":"2025-08-20T13:43:54.459Z","updated_at":"2025-08-20T13:43:54.459Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29058242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"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":["home-assistant","mqtt","raspberry-pi"],"created_at":"2024-09-24T19:57:25.217Z","updated_at":"2026-02-03T21:31:25.991Z","avatar_url":"https://github.com/kirbs-.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rpi2mqtt\nSimplify interacting Raspberry Pi sensors and GPIO pins remotely via MQTT. Also integrates with Home Assistant. \n \n\n# Supported Devices\n- Temperature/Humidity\n    - DHT22/DHT11\n    - One wire (DS18B20, MAX31850, etc)\n    - BME280\n- Binary\n    - Generic reed switches\n- Thermostat\n    - HestiaPi\n- Switch GPIO pins on/off. e.g. activate relay, LED, etc.\n\n\n# Installation\n1. `sudo pip install rpi2mqtt`\n2. `rpi2mqtt --generate-config`\n3. Update config.yaml. See configuration info.\n    \n\n# Configuration\n### Setup MQTT\n1. Open config.yaml.\n2. Edit MQTT broker details\n```yaml\n# config.yaml\nmqtt:\n  host: example.com\n  port: 8883\n  ca_cert: '/path/to/example.com.crt'\n  username: mqtt_user\n  password: secure_password\n  retries: 3\n```\n3\\. add sensors to config.yaml\n```yaml\n# config.yaml\nsensors:\n  - type: dht22\n    name: laundry_room_climate\n    pin: 16\n    topic: 'homeassistant/sensor/laundry_room_climate/state'\n  - type: reed\n    name: laundry_room_door\n    pin: 24\n    normally_open: true\n    topic: 'homeassistant/sensor/laundry_room_climate/state'\n```\n3. Start rpi2mqtt\n`rpi2mqtt -c /path/to/config.yaml`\n\n\n### Install systemd service\n4. `rpi2mqtt --install-service` and enter run user and absolute path to config.yaml\n5. Enable and start service `sudo systemctl enable rpi2mqtt`\n6. `sudo systemctl start rpi2mqtt`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirbs-%2Frpi2mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirbs-%2Frpi2mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirbs-%2Frpi2mqtt/lists"}