{"id":18070292,"url":"https://github.com/cjee21/rpi-dht20","last_synced_at":"2026-03-07T20:31:48.689Z","repository":{"id":232780964,"uuid":"589512012","full_name":"cjee21/RPi-DHT20","owner":"cjee21","description":"Raspberry Pi Python library for DHT20 Temperature and Humidity Sensor with CRC verification.","archived":false,"fork":false,"pushed_at":"2024-11-05T09:25:20.000Z","size":17,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T07:14:39.582Z","etag":null,"topics":["aht20","aosong","crc","crc-8","dht20","humidity-sensor","i2c","i2c-sensors","python","python3","raspberry-pi-3","raspberrypi","smbus2","temperature-sensor"],"latest_commit_sha":null,"homepage":"","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/cjee21.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}},"created_at":"2023-01-16T09:46:55.000Z","updated_at":"2024-11-27T23:51:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc0c0353-09e5-45d6-b7bc-d79cd339970f","html_url":"https://github.com/cjee21/RPi-DHT20","commit_stats":null,"previous_names":["cjee21/rpi-dht20"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cjee21/RPi-DHT20","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjee21%2FRPi-DHT20","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjee21%2FRPi-DHT20/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjee21%2FRPi-DHT20/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjee21%2FRPi-DHT20/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjee21","download_url":"https://codeload.github.com/cjee21/RPi-DHT20/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjee21%2FRPi-DHT20/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30229743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"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":["aht20","aosong","crc","crc-8","dht20","humidity-sensor","i2c","i2c-sensors","python","python3","raspberry-pi-3","raspberrypi","smbus2","temperature-sensor"],"created_at":"2024-10-31T08:24:44.023Z","updated_at":"2026-03-07T20:31:48.669Z","avatar_url":"https://github.com/cjee21.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RPi-DHT20\nRaspberry Pi Python library for DHT20 Temperature and Humidity Sensor with CRC verification.\n\n## Requirements\nThis library was tested with the following:\n- Aosong DHT20 SIP Packaged Temperature and Humidity Sensor\n- Raspberry Pi 3 Model B\n- Ubuntu Server 22.10, 23.04, 23.10 and 24.04 LTS\n\nSimilar configurations should also work.\n\n## Set up\n1. Connect the DHT20 sensor to the Raspberry Pi\\\n*Note: If a different Raspberry Pi model and/or operating system is used, it may be necessary to change the `I2C_BUS` in `DHT20_demo.py` and/or enable the I\u003csup\u003e2\u003c/sup\u003eC interface.*\n\n2. Install smbus2 Python module that is used for accessing the I\u003csup\u003e2\u003c/sup\u003eC bus\n   ```\n   sudo apt install python3-smbus2\n   ```\n3. If `/dev/i2c*` does not exist, enable the i2c-dev kernel module by adding the following line to the `/etc/modules` file\n   ```\n   i2c-dev\n   ```\n4. Test by running the demo\n   ```\n   sudo python3 DHT20_demo.py\n   ```\n\n## Usage\nRefer to the usage example in `DHT20_demo.py`.\n\n## References\n- [Aosong DHT20 datasheet](http://www.aosong.com/userfiles/files/media/Data%20Sheet%20DHT20%20%20A1.pdf)\n- [Aosong AHT20 sample program](http://aosong.com/userfiles/files/software/AHT20-21%20DEMO%20V1_3(1).rar)\n- [DFRobot_DHT20 Raspberry Pi library](https://github.com/DFRobot/DFRobot_DHT20/tree/master/python/raspberrypi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjee21%2Frpi-dht20","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjee21%2Frpi-dht20","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjee21%2Frpi-dht20/lists"}