{"id":18001659,"url":"https://github.com/rigtorp/spark-dht11","last_synced_at":"2026-03-16T07:07:54.278Z","repository":{"id":14666625,"uuid":"17385303","full_name":"rigtorp/spark-dht11","owner":"rigtorp","description":"Spark app to read a DHT11 sensor and publish humidity and temperature as Spark variables","archived":false,"fork":false,"pushed_at":"2014-09-24T06:12:37.000Z","size":3193,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T00:31:29.221Z","etag":null,"topics":[],"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/rigtorp.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":"2014-03-04T00:36:12.000Z","updated_at":"2017-07-08T15:03:34.000Z","dependencies_parsed_at":"2022-09-22T08:51:46.659Z","dependency_job_id":null,"html_url":"https://github.com/rigtorp/spark-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/rigtorp%2Fspark-dht11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigtorp%2Fspark-dht11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigtorp%2Fspark-dht11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rigtorp%2Fspark-dht11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rigtorp","download_url":"https://codeload.github.com/rigtorp/spark-dht11/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245618580,"owners_count":20645026,"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-10-29T23:18:22.409Z","updated_at":"2026-03-16T07:07:49.251Z","avatar_url":"https://github.com/rigtorp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"spark-dht11\n===========\n\nSpark app to read a [DHT11\nsensor](http://www.adafruit.com/products/386) and publish humidity and\ntemperature as Spark variables.\n\nI got the [Spark Core device](https://www.spark.io/) from the\n[Kickstarter project](https://www.kickstarter.com/projects/sparkdevices/spark-core-wi-fi-for-everything-arduino-compatible)\nand this is my first project.\n\n[The circuit is a DHT11 connected to 3v3, GND and a data\npin](https://raw.github.com/rigtorp/spark-dht11/master/hardware.jpg). I\nuse the internal pullup on the data pin:\n\n![Photo of Spark Core with DHT11](https://github.com/rigtorp/spark-dht11/blob/master/hardware.jpg)\n\nI noticed a lot of people had issues with the DHT sensors and I could\nnot get the Adafruit library working myself. The [Adafruit\ncode](https://github.com/adafruit/DHT-sensor-library) is pretty iffy,\nrequires higher timing resolution than necessary and doesn't support\nthe internal pullup resistor. So I wrote my own simple version that\nuses the internal pullup resistor. It reads the relative humidity and\ntemperature from a DHT11 sensor every 10 seconds and stores them in\nthe Spark variables `rh` and `temp` respectively.\n\nThere's also a Python script that reads the values every minute and\nuploads them to [Xively](https://xively.com/).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frigtorp%2Fspark-dht11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frigtorp%2Fspark-dht11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frigtorp%2Fspark-dht11/lists"}