0.0.5 • Published 7 years ago
homebridge-humidity-cmd v0.0.5
homebridge-temperature-cmd
homebridge-plugin for Your PC Command with Apple-Homekit.(by node.js child_process.exec())
This pluging is a copy / paste with some modifications of the project homebridge-temperature-cmd to use it in humidity, my knowledge with very basic.
Installation
- Install homebridge using: sudo npm install -g homebridge
- Install this plugin using: sudo npm install -g homebridge-humidity-cmd
- Update your configuration file. See sample-config.json in this repository for a sample.
Configuration
Configuration sample:
"accessories": [
{
"accessory": "HumidityCMD",
"name": "Living Room Humidity",
"command": "sudo /usr/local/bin/humi | cut -d ',' -f 2"
}
]