{"id":15664354,"url":"https://github.com/robmarkcole/bme680-mqtt","last_synced_at":"2025-07-24T21:32:41.584Z","repository":{"id":85843891,"uuid":"108624713","full_name":"robmarkcole/bme680-mqtt","owner":"robmarkcole","description":"Publish bme680 data via MQTT","archived":false,"fork":false,"pushed_at":"2017-10-28T06:59:49.000Z","size":60,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-21T22:58:43.431Z","etag":null,"topics":["home-assistant","mqtt","pimoroni"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robmarkcole.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":"2017-10-28T06:15:44.000Z","updated_at":"2024-01-27T20:51:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc8ba86d-c0f0-4dd4-b86e-fdba9ef5d0d1","html_url":"https://github.com/robmarkcole/bme680-mqtt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robmarkcole/bme680-mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fbme680-mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fbme680-mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fbme680-mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fbme680-mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/bme680-mqtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fbme680-mqtt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266905271,"owners_count":24004141,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"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":["home-assistant","mqtt","pimoroni"],"created_at":"2024-10-03T13:42:16.205Z","updated_at":"2025-07-24T21:32:41.518Z","avatar_url":"https://github.com/robmarkcole.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bme680-mqtt\nModifies example by [Pimoroni](https://github.com/pimoroni/bme680/blob/master/examples/indoor-air-quality.py) to publish [bme680](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-bme680-breakout) data via MQTT.\n\nTo add the MQTT output to [Home-assistant](https://home-assistant.io/), we use an [MQTT-switch](https://home-assistant.io/components/switch.mqtt/). Assuming you have your Home-assistant [config split](https://home-assistant.io/docs/configuration/splitting_configuration/) into seperate files, in your sensors.yaml file, add the following:\n\n```yaml\n- platform: mqtt\n  name: 'bme680-temperature'\n  state_topic: 'bme680-temperature'\n  unit_of_measurement: '°C'\n- platform: mqtt\n  name: 'bme680-humidity'\n  state_topic: 'bme680-humidity'\n  unit_of_measurement: '%'\n- platform: mqtt\n  name: 'bme680-pressure'\n  state_topic: 'bme680-pressure'\n  unit_of_measurement: 'hPa'\n- platform: mqtt\n  name: 'bme680-air_qual'\n  state_topic: 'bme680-air_qual'\n  unit_of_measurement: '%'\n```\n\nI then created a group, in groups.yaml:\n\n```yaml\nBME680:\n  entities:\n    - sensor.bme680temperature\n    - sensor.bme680pressure\n    - sensor.bme680humidity\n    - sensor.bme680air_qual\n```\n\nFinally you may want to [customise](https://home-assistant.io/docs/configuration/customizing-devices/) the look of the sensors in the Home-assistant front end. \n\n\u003cimg src=\"https://github.com/robmarkcole/bme680-mqtt/blob/master/HA_view.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fbme680-mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Fbme680-mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fbme680-mqtt/lists"}