{"id":14978057,"url":"https://github.com/laurenzgamper/scd30","last_synced_at":"2025-10-28T07:31:11.823Z","repository":{"id":57464234,"uuid":"226074732","full_name":"laurenzgamper/scd30","owner":"laurenzgamper","description":"Python library for the Sensirion SCD30 co2, temperature, humidity sensor. ","archived":false,"fork":false,"pushed_at":"2019-12-05T13:32:05.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T12:45:26.439Z","etag":null,"topics":["python3","raspberry-pi","scd30","sensors"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laurenzgamper.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}},"created_at":"2019-12-05T10:22:06.000Z","updated_at":"2021-12-04T10:17:26.000Z","dependencies_parsed_at":"2022-09-05T05:30:37.467Z","dependency_job_id":null,"html_url":"https://github.com/laurenzgamper/scd30","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/laurenzgamper%2Fscd30","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurenzgamper%2Fscd30/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurenzgamper%2Fscd30/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurenzgamper%2Fscd30/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurenzgamper","download_url":"https://codeload.github.com/laurenzgamper/scd30/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238614441,"owners_count":19501458,"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":["python3","raspberry-pi","scd30","sensors"],"created_at":"2024-09-24T13:56:47.910Z","updated_at":"2025-10-28T07:31:11.481Z","avatar_url":"https://github.com/laurenzgamper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scd30\nPython library for the Sensirion SCD30 co2, temperature, humidity sensor. \n\n### I2C Clock stretching\n\nMaster needs to support Clock Stretching up to 150ms. The default in Raspbian is too low, we have to increase it:\n\nTo set it, download from here:\n\n```\nhttps://github.com/raspihats/raspihats/tree/master/clk_stretch\n```\n\nCompile:\n```\ngcc -o i2c1_set_clkt_tout i2c1_set_clkt_tout.c\ngcc -o i2c1_get_clkt_tout i2c1_get_clkt_tout.c\n```\n\nexecute (add to /etc/rc.local to run on every boot):\n\n```\n./i2c1_set_clkt_tout 20000 # for 200ms\n```\n\n### Thanks\n\nI borrowed some code and ideas from these two repos:\n\nhttps://github.com/UnravelTEC/Raspi-Driver-SCD30 (python code, i2c clock stretching)\nhttps://github.com/sparkfun/SparkFun_SCD30_Arduino_Library (code structure, commands)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurenzgamper%2Fscd30","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurenzgamper%2Fscd30","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurenzgamper%2Fscd30/lists"}