{"id":50918116,"url":"https://github.com/dbudwin/ha-noaa-co2","last_synced_at":"2026-06-16T17:04:08.612Z","repository":{"id":362405796,"uuid":"1258918539","full_name":"dbudwin/ha-noaa-co2","owner":"dbudwin","description":"Home Assistant integration for NOAA atmospheric CO2 data from the Mauna Loa Observatory","archived":false,"fork":false,"pushed_at":"2026-06-04T03:50:07.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-04T05:19:28.929Z","etag":null,"topics":["co2","co2-sensor","hacs","hacs-integration","home-assistant","noaa"],"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/dbudwin.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-04T03:22:37.000Z","updated_at":"2026-06-04T03:48:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dbudwin/ha-noaa-co2","commit_stats":null,"previous_names":["dbudwin/ha-noaa-co2"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dbudwin/ha-noaa-co2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbudwin%2Fha-noaa-co2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbudwin%2Fha-noaa-co2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbudwin%2Fha-noaa-co2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbudwin%2Fha-noaa-co2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbudwin","download_url":"https://codeload.github.com/dbudwin/ha-noaa-co2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbudwin%2Fha-noaa-co2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34415248,"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-16T02:00:06.860Z","response_time":126,"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":["co2","co2-sensor","hacs","hacs-integration","home-assistant","noaa"],"created_at":"2026-06-16T17:04:07.805Z","updated_at":"2026-06-16T17:04:08.602Z","avatar_url":"https://github.com/dbudwin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NOAA Atmospheric CO2 — Home Assistant Integration\n\nA Home Assistant custom integration that pulls real atmospheric CO2 data directly from [NOAA's Global Monitoring Laboratory](https://gml.noaa.gov/ccgg/trends/) (Mauna Loa Observatory, Hawaii) — the longest-running CO2 record on Earth.\n\n## Features\n\n- **No API key required** — data is fetched directly from NOAA's public data files\n- **UI setup** — configure entirely through Settings → Integrations, no YAML needed\n- **Weekly or monthly data** — choose weekly (more current) or monthly (official averaged record)\n- **Rich attributes** — measurement date, year-ago comparison, and ppm increase exposed as sensor attributes\n- **Proper HA sensor** — uses `SensorDeviceClass.CO2`, works with history graphs, statistics, and automations\n\n## Installation via HACS\n\n1. In HACS, go to **Integrations → ⋮ → Custom repositories**\n2. Add this repository URL, category: **Integration**\n3. Click **Download**\n4. Restart Home Assistant\n\n## Manual Installation\n\n1. Copy the `custom_components/noaa_co2/` folder into your HA `config/custom_components/` directory\n2. Restart Home Assistant\n\n## Setup\n\nAfter installation and restart:\n\n1. Go to **Settings → Devices \u0026 Services → + Add Integration**\n2. Search for **NOAA Atmospheric CO2**\n3. Choose **Weekly** or **Monthly** data frequency\n4. Click **Submit**\n\nThe sensor `sensor.atmospheric_co2` will appear, updating once per day.\n\n## Sensor Attributes\n\n| Attribute | Description |\n|---|---|\n| `year` / `month` / `day` | Date of the measurement |\n| `source` | Which NOAA data file was used |\n| `ppm_1yr_ago` | CO2 level exactly one year prior (weekly only) |\n| `ppm_increase_vs_1yr_ago` | Year-over-year increase in ppm (weekly only) |\n| `ppm_deseasonalized` | Seasonally adjusted value (monthly only) |\n\n## Data Source\n\nData is sourced from:\n- **Weekly:** `https://gml.noaa.gov/webdata/ccgg/trends/co2/co2_weekly_mlo.txt`\n- **Monthly:** `https://gml.noaa.gov/webdata/ccgg/trends/co2/co2_mm_mlo.txt`\n\n\u003e Xin Lan, NOAA/GML (gml.noaa.gov/ccgg/trends/) and Ralph Keeling, Scripps Institution of Oceanography.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbudwin%2Fha-noaa-co2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbudwin%2Fha-noaa-co2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbudwin%2Fha-noaa-co2/lists"}