{"id":20251619,"url":"https://github.com/bbutner/simple-dht11","last_synced_at":"2025-04-10T23:14:43.079Z","repository":{"id":63588618,"uuid":"569005898","full_name":"BButner/simple-dht11","owner":"BButner","description":"Rust library to get a data reading from a DHT11 Sensor, with a Raspberry Pi","archived":false,"fork":false,"pushed_at":"2023-08-28T17:07:08.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T23:14:21.227Z","etag":null,"topics":["dht11","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/BButner.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":"2022-11-21T21:59:09.000Z","updated_at":"2023-08-28T17:07:29.000Z","dependencies_parsed_at":"2023-01-22T07:33:58.288Z","dependency_job_id":null,"html_url":"https://github.com/BButner/simple-dht11","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/BButner%2Fsimple-dht11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BButner%2Fsimple-dht11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BButner%2Fsimple-dht11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BButner%2Fsimple-dht11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BButner","download_url":"https://codeload.github.com/BButner/simple-dht11/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312135,"owners_count":21082638,"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":["dht11","raspberry-pi"],"created_at":"2024-11-14T10:11:28.846Z","updated_at":"2025-04-10T23:14:43.060Z","avatar_url":"https://github.com/BButner.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple DHT11\n\nThe aim of this library is to create an incredibly quick and easy way for a user to hook up a DHT11 to a Raspberry Pi and get a reading from it.\n\n## Example\n\n```rust\nuse simple_dht11::dht11::Dht11;\n\nfn main() {\n    let mut dht11 = Dht11::new(27); // Note this is BCM\n\n    let response = dht11.get_reading();\n\n    println!(\"Temperature: {}\", response.temperature);\n    println!(\"Humidity: {}\", response.humidity);\n}\n```\n\nExample output:\n\n```\nTemperature: 24.9\nHumidity: 21\n```\n\n\u003e ⚠️ If you are cross compiling, please see the note about this on [the RPPal Repo!](https://github.com/golemparts/rppal#cross-compilation)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbutner%2Fsimple-dht11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbutner%2Fsimple-dht11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbutner%2Fsimple-dht11/lists"}