{"id":21175369,"url":"https://github.com/mhawkshaw/homebridge-enviroplus","last_synced_at":"2026-02-28T12:45:13.490Z","repository":{"id":54842593,"uuid":"364520790","full_name":"mhawkshaw/homebridge-enviroplus","owner":"mhawkshaw","description":"Air quality plug-in for Luftdaten sensors using the Raspberry Pi","archived":false,"fork":false,"pushed_at":"2026-01-31T11:08:14.000Z","size":599,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-31T23:32:11.423Z","etag":null,"topics":["homebridge","homebridge-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhawkshaw.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-05T09:13:01.000Z","updated_at":"2026-01-31T11:05:47.000Z","dependencies_parsed_at":"2026-01-31T13:05:29.835Z","dependency_job_id":null,"html_url":"https://github.com/mhawkshaw/homebridge-enviroplus","commit_stats":{"total_commits":44,"total_committers":2,"mean_commits":22.0,"dds":"0.11363636363636365","last_synced_commit":"74c2f11c1106210e90ad93b560bbfe055a65c75e"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":"homebridge/homebridge-plugin-template","purl":"pkg:github/mhawkshaw/homebridge-enviroplus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhawkshaw%2Fhomebridge-enviroplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhawkshaw%2Fhomebridge-enviroplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhawkshaw%2Fhomebridge-enviroplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhawkshaw%2Fhomebridge-enviroplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhawkshaw","download_url":"https://codeload.github.com/mhawkshaw/homebridge-enviroplus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhawkshaw%2Fhomebridge-enviroplus/sbom","scorecard":{"id":639871,"data":{"date":"2025-08-11","repo":{"name":"github.com/mhawkshaw/homebridge-enviroplus","commit":"dab5ac751a3c8163f3a20276287e596e52b90629"},"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":"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/26 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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/mhawkshaw/homebridge-enviroplus/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/mhawkshaw/homebridge-enviroplus/build.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/build.yml:24","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml: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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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 4 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"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T10:24:05.885Z","repository_id":54842593,"created_at":"2025-08-21T10:24:05.885Z","updated_at":"2025-08-21T10:24:05.885Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29934450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T12:34:16.884Z","status":"ssl_error","status_checked_at":"2026-02-28T12:34:13.721Z","response_time":90,"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":["homebridge","homebridge-plugin"],"created_at":"2024-11-20T16:59:10.658Z","updated_at":"2026-02-28T12:45:13.449Z","avatar_url":"https://github.com/mhawkshaw.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n\n\u003cimg src=\"https://github.com/homebridge/branding/raw/master/logos/homebridge-wordmark-logo-vertical.png\" width=\"150\"\u003e\n\n\u003c/p\u003e\n\n\n# Pimoroni Enviro+ Homebridge Plug-in\n\nThis Homebridge plug-in allows you to make the data available from the [Pimoroni Enviro+](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-enviro-plus) device connected to a [Raspberry Pi](https://www.raspberrypi.org/).\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n\n## Setup MQTT broker\n\nThis Homebridge plug-in reads the data from an MQTT broker providing the JSON information, for example:\n\n* {\"temperature\": 24, \"pressure\": 99080, \"humidity\": 47, \"oxidised\": 33, \"reduced\": 1024, \"nh3\": 1810, \"lux\": 0, \"pm1\": 6, \"pm25\": 7, \"pm10\": 7, \"serial\": \"0000000012345def\"}\n\nIncluded in the examples on the [Pimoroni Enviroplus GitHub repository](https://github.com/pimoroni/enviroplus-python/tree/master/examples) you can find a Python script called \"mqtt-all.py\" that will read the information from the Enviro+ sensors and pass them as JSON values to an MQTT broker. Just start the script, for example:\n\n    python3 mqtt-all.py --broker 192.168.1.164 --topic enviro --username xxx --password xxxx\n\nYou need to install an [MQTT broker](http://mosquitto.org/) on your machine, this can be any machine in your network, including the machine running Homebridge. Here are some instructions for popular distributions:\n\n### Raspberry Pi / Ubuntu\n\nIn short, you just need to do the following:\n\n    sudo apt-get update\n    sudo apt-get install -y mosquitto mosquitto-clients\n    sudo systemctl enable mosquitto.service\n\n### macOS\n\nUse [Homebrew](https://brew.sh/)\n\n    brew install mosquitto\n\n### Windows\n\nGo to the [Mosquitto Download Page](https://mosquitto.org/download/) and choose the right installer for your system.\n\n### Enable authentication\n\nA quick search online will provide you with information on how to secure your installation. To help you, I've found the following links for the \n[Raspberry Pi](https://randomnerdtutorials.com/how-to-install-mosquitto-broker-on-raspberry-pi/) and [Ubuntu](https://www.vultr.com/docs/install-mosquitto-mqtt-broker-on-ubuntu-20-04-server/)\n\n## Plug-in Installation\n\nFollow the [homebridge installation instructions](https://www.npmjs.com/package/homebridge) if you haven't already.\n\nInstall this plugin globally:\n\n    npm install -g homebridge-enviroplus\n\nAdd platform to `config.json`, for configuration see below.\n\n## Plug-in Configuration\n\nThe plug-in needs to know where to find the MQTT broker providing the JSON data (e.g. mqtt://127.0.0.1:1883) along with the serial number of the device to uniquely identify it (you can also use your Raspberry Pi identifier).\n\n```json\n{\n  \"platforms\": [\n    {\n      \"platform\": \"EnviroplusAirQuality\",\n      \"name\": \"EnviroPlus\",\n      \"mqttbroker\": \"mqtt://127.0.0.1:1883\",\n      \"username\": \"\",\n      \"password\": \"\",\n      \"devices\": [\n        {\n          \"displayName\": \"My Enviro+ Sensor\",\n          \"serial\": \"1234567890\",\n          \"topic\": \"enviro\"\n        }\n      ],\n      \"excellent\": 10,\n      \"good\": 20,\n      \"fair\": 25,\n      \"inferior\": 50,\n      \"poor\": 50\n    }\n  ]\n}\n\n```\n\nThe following settings are optional:\n\n- `username`: the MQTT broker username\n- `password`: the MQTT broker password\n- `excellent`: the upper value for PM2.5 air quality considered to be excellent (in micrograms per cubic metre). Default is 10.\n- `good`: the upper value for PM2.5 air quality considered to be good (in micrograms per cubic metre). Default is 20.\n- `fair`: the upper value for PM2.5 air quality considered to be fair (in micrograms per cubic metre). Default is 25.\n- `inferior`: the upper value for PM2.5 air quality considered to be inferior (in micrograms per cubic metre). Default is 50.\n- `poor`: the lowest value for PM2.5 air quality considered to be poor (in micrograms per cubic metre). Anything above this is considered to be poor. Default is 50.\n\nIf you have multiple Enviro+ devices, then you can list them all in the config giving each one a unique name, MQTT topic and serial number.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhawkshaw%2Fhomebridge-enviroplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhawkshaw%2Fhomebridge-enviroplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhawkshaw%2Fhomebridge-enviroplus/lists"}