Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vigsterkr/homebridge-hdc2010
https://github.com/vigsterkr/homebridge-hdc2010
homebridge-plugin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vigsterkr/homebridge-hdc2010
- Owner: vigsterkr
- License: apache-2.0
- Created: 2021-10-07T13:30:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T15:16:00.000Z (over 3 years ago)
- Last Synced: 2024-11-13T12:43:22.709Z (2 months ago)
- Topics: homebridge-plugin
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# homebridge-hdc2010
Homebridge plugin for the TI HDC2010 sensor on RasPi.## Installation
`npm install homebridge-hdc2010`
## Configuration
Enabled by adding an entry ino the 'accessories' section of the `config.json` file. The named sections have the following behaviors:
* `accessory` - must be "HDC2010" to identify the plugin
* `name` - initial name in Homekit of the sensor. May be changed here, or in the Home app.
* `refresh` - specifies the refresh time in seconds. The sensor is polled using this interval, and Homekit is provided with the last
value read. If omitted, the default value of 60 seconds is used.## Example Configuration
config.json
```json
{
"bridge": {
"name": "Homebridge",
"username": "CC:46:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "Config file for raspberry pi running HDC2010 temperature sensor","accessories": [
{
"accessory": "HDC2010",
"name": "HDC2010",
"refresh": 60,
"options": {
"i2cBusNumber": 1,
"i2cAddress": "0x40",
"tempResolution": 14,
"humidResolution": 14,
"mode": "temp_humid",
"refreshRate": "60sec"
}
}
],"platforms": [
]
}
```