{"id":25900553,"url":"https://github.com/ailtonfidelix/dht11","last_synced_at":"2026-05-01T02:34:17.618Z","repository":{"id":164961854,"uuid":"630993828","full_name":"AiltonFidelix/DHT11","owner":"AiltonFidelix","description":"DHT11 library for ESP-IDF","archived":false,"fork":false,"pushed_at":"2025-02-07T00:35:06.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T00:37:45.084Z","etag":null,"topics":["c","dht11","esp-idf","esp32","onewire"],"latest_commit_sha":null,"homepage":"","language":"C","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/AiltonFidelix.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-04-21T16:38:35.000Z","updated_at":"2025-02-07T00:35:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b92bb33-228f-4e0d-87bf-27813001de60","html_url":"https://github.com/AiltonFidelix/DHT11","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AiltonFidelix/DHT11","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FDHT11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FDHT11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FDHT11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FDHT11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AiltonFidelix","download_url":"https://codeload.github.com/AiltonFidelix/DHT11/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FDHT11/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32483406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["c","dht11","esp-idf","esp32","onewire"],"created_at":"2025-03-03T02:17:39.120Z","updated_at":"2026-05-01T02:34:17.613Z","avatar_url":"https://github.com/AiltonFidelix.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DHT11 library for ESP-IDF\n\nThis library allow work with the DHT11 sensor and read it values.\n\n\n## How to use\n\nIf you are using PlatformIO, you can just clone this project in the **lib** folder. \n\n```\ncd lib/ \u0026\u0026 git clone https://github.com/AiltonFidelix/DHT11\n```\n\nOtherwise, just copy this project and use however you want.\n\n## Example\n\n```\n#include \"freertos/FreeRTOS.h\"\n#include \"freertos/task.h\"\n#include \"esp_log.h\"\n#include \"sdkconfig.h\"\n\n#include \u003cDHT11.h\u003e\n\nstatic const char *TAG = \"Example\";\n\nvoid app_main(void)\n{\n\n    ESP_LOGI(TAG, \"Starting DHT11 example...\");\n\n    vTaskDelay(1000 / portTICK_PERIOD_MS);\n\n    dht11SetPin(DHT11_DEFAULT_PIN);\n\n    while (1)\n    {\n        if (dht11Read() == DHT11_OK)\n        {\n            ESP_LOGI(TAG, \"Humidity: %d\", dht11GetHumidity());\n            ESP_LOGI(TAG, \"Temperature: %d\", dht11GetTemperature());\n        }\n        else\n        {\n            ESP_LOGE(TAG, \"Error reading DHT11 sensor!\");\n        }\n\n        vTaskDelay(4000 / portTICK_PERIOD_MS);\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failtonfidelix%2Fdht11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failtonfidelix%2Fdht11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failtonfidelix%2Fdht11/lists"}