{"id":21002518,"url":"https://github.com/pimatic/pimatic-dht-sensors","last_synced_at":"2025-05-15T00:31:16.764Z","repository":{"id":28586701,"uuid":"32104794","full_name":"pimatic/pimatic-dht-sensors","owner":"pimatic","description":"Support for the DHT11/22 temperature and humidity sensor.","archived":false,"fork":false,"pushed_at":"2016-12-08T19:35:33.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"development","last_synced_at":"2024-10-13T20:06:44.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimatic.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":"2015-03-12T21:53:27.000Z","updated_at":"2019-07-27T13:49:33.000Z","dependencies_parsed_at":"2022-09-03T17:30:43.620Z","dependency_job_id":null,"html_url":"https://github.com/pimatic/pimatic-dht-sensors","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/pimatic%2Fpimatic-dht-sensors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-dht-sensors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-dht-sensors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-dht-sensors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimatic","download_url":"https://codeload.github.com/pimatic/pimatic-dht-sensors/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225316769,"owners_count":17455314,"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":[],"created_at":"2024-11-19T08:18:59.765Z","updated_at":"2024-11-19T08:19:00.379Z","avatar_url":"https://github.com/pimatic.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pimatic-dht-sensors\n================\n\nSupport for the DHT11 and DHT22 temperature and humidity sensor.\n\n**This plugin requires the [BCM2835](http://www.airspayce.com/mikem/bcm2835/) \nlibrary to be installed on your Raspberry Pi before you can actually use this module.!**\n\n### Plugin Configuration\n\nAdd the plugin to the plugin section:\n\n```json\n{ \n  \"plugin\": \"dht-sensors\"\n}\n```\n\n### Device Configuration\n\nAdd a `DHTSensor` device for your sensor to the devices section. To initialize the sensor, \nyou have to specify the sensor type and the GPIO pin where the sensor is connected to. \nIt should work for DHT11, DHT22 and AM2302 sensors. The `type` property need to bet set as follows:\n\n| Value | Sensor          |\n|-------|:---------------:|\n| 11    | DHT11           |\n| 22    | DHT22 or AM2302 |\n\nBy default, the WiringPi pin numbering scheme is used assuming a Revision 2 \nboard which is identifiable by the presence of the 2 mounting holes next to the ends to \nGPIO pin header. Alternatively, you can set the `pinType` to \"BCM GPIO\" for \nBCM pin numbering or \"WiringPi R1\" for WiringPi pin numbering \non a Revision 1 board.\n\n```json\n{\n  \"id\": \"my-sensor\",\n  \"name\": \"dht22 example\",\n  \"class\": \"DHTSensor\",\n  \"type\": 22,\n  \"pin\": 7,\n  \"interval\": 60000\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-dht-sensors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimatic%2Fpimatic-dht-sensors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-dht-sensors/lists"}