Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/henry-spanka/homebridge-dht12
Homebridge accessory plugin to read DHT12 sensors via I2C bus
https://github.com/henry-spanka/homebridge-dht12
dht12 homebridge homebridge-dht12 homekit humidity i2c sensor temperature
Last synced: 21 days ago
JSON representation
Homebridge accessory plugin to read DHT12 sensors via I2C bus
- Host: GitHub
- URL: https://github.com/henry-spanka/homebridge-dht12
- Owner: henry-spanka
- License: mit
- Created: 2018-12-30T19:40:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-03T11:09:30.000Z (almost 6 years ago)
- Last Synced: 2024-04-25T10:41:50.701Z (8 months ago)
- Topics: dht12, homebridge, homebridge-dht12, homekit, humidity, i2c, sensor, temperature
- Language: JavaScript
- Size: 5.86 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[Install Homebridge]: https://github.com/nfarina/homebridge#installation
[Configuration]: #Configuration# homebridge-dht12
Homebridge accessory plugin to read DHT12 sensors via I2C bus.
[![NPM](https://nodei.co/npm/homebridge-dht12.png?compact=true)](https://npmjs.org/package/homebridge-dht12)
# Features
* Read Temperature and Humidity from DHT12 sensor via I2C.
* Display fault if sensor is unavailable.# Setup / Installation
1. [Install Homebridge]
2. `npm install homebridge-dht12`
3. Edit `config.json` and configure accessory. See [Configuration](#configuration) section.
4. Start Homebridge
5. Star the repository ;)# Configuration
To configure the plugin add the following to the accessories section in `config.json`.
The i2cAddresses must be in Hex Format, preceded by `0x`.```json
{
"accessory": "I2C_DHT12",
"name": "Kitchen",
"i2cAddress": "0x5c",
"i2cDevice": "/dev/i2c-1",
"updateFrequency": "60"
}
```# Help
If you have any questions or help please open an issue on the GitHub project page.# Contributing
Pull requests are always welcome. If you have a device that is not supported yet please open an issue or open a pull request with
your modifications.# License
The project is subject to the MIT license unless otherwise noted. A copy can be found in the root directory of the project [LICENSE](LICENSE).