{"id":22691357,"url":"https://github.com/wisq/ddco2","last_synced_at":"2025-03-29T16:41:44.449Z","repository":{"id":103731509,"uuid":"170269788","full_name":"wisq/ddco2","owner":"wisq","description":"Log carbon dioxide levels to Datadog/StatsD with a CO2Mini sensor","archived":false,"fork":false,"pushed_at":"2023-03-04T23:08:30.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T17:50:48.254Z","etag":null,"topics":["datadog","elixir","monitoring","sensors","statsd"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/wisq.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":"2019-02-12T07:07:20.000Z","updated_at":"2023-03-03T22:55:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"08f18f6b-e192-4f20-ace5-90817602a83d","html_url":"https://github.com/wisq/ddco2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisq%2Fddco2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisq%2Fddco2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisq%2Fddco2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisq%2Fddco2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisq","download_url":"https://codeload.github.com/wisq/ddco2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246215820,"owners_count":20741894,"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","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":["datadog","elixir","monitoring","sensors","statsd"],"created_at":"2024-12-10T01:10:20.548Z","updated_at":"2025-03-29T16:41:44.420Z","avatar_url":"https://github.com/wisq.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DDCO₂\n\nDDCO₂ takes carbon dioxide and temperature readings from a CO₂Mini USB sensor (RAD-0301) and writes them to StatsD.\n\nIt acts as a very simple bridge between [ex_co2_mini](https://github.com/wisq/ex_co2_mini) (for reading from the device) and [statix](https://github.com/lexmag/statix) (for writing to StatsD).\n\nAlthough designed and tested on [Datadog](https://www.datadoghq.com/), in theory, it should work fine on any StatsD server.\n\n## Installing\n\n1. Plug in the USB device to a Linux server.\n    * Other OSes are not currently supported by ExCO₂Mini.\n2. Get the corresponding `/dev/hidraw*` device set up.\n    * You'll want it readable by the user you intend to monitor as.\n    * See [\"Device Setup\"](https://github.com/wisq/ex_co2_mini#device-setup) from the ExCO₂Mini `README` for details.\n3. Install [Elixir](https://elixir-lang.org/install.html).\n4. Use git to clone this project somewhere.  (Change directory to that location.)\n5. Copy `config/config.example.exs` to `config/config.exs` and change values as needed.\n6. Run `mix deps.get`.\n7. Run `mix compile`.\n\n## Running\n\nYou have two options on how to run DDCO₂:\n\n* To get started, you can just run `mix ddco2`.  This will launch DDCO₂ right here and now, and begin logging results.\n  * To exit, press control-C twice.\n* If you're an experienced Elixir developer and/or sysadmin, and you want more flexibility, you can try deploying instead.\n  * This is covered in [a separate document](docs/deploying.md).\n\n## Legal stuff\n\nCopyright © 2019, Adrian Irving-Beer.\n\nDDCO₂ is released under the [Apache 2 License](../../blob/master/LICENSE) and is provided with **no warranty**.  This program is aimed at hobbyists and home enthusiasts, and should be used in **non-life-critical situations only**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisq%2Fddco2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisq%2Fddco2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisq%2Fddco2/lists"}