0.1.2 • Published 2 years ago
homebridge-cozylife-platform v0.1.2
Homebridge Cozylife Platform
Cozylife Homebrige integration using local net.
Supported Device Types
- Switch
Installation
npm install homebridge-cozylife-platform
Configuration (mininal)
{
"platforms": [
{
"platform": "CozylifePlatform"
}
]
}
Configuration (optional)
{
"platforms": [
{
"platform": "CozylifePlatform",
"scanInterval": "10000",
"checkStatusInterval": "10000",
"devices": [
{
"mac": "xxxxxxxx",
"name": "my swtich"
}
]
}
]
}
TODO
- Light Accessory
- Accurate Switch Control
- Init N Switch based on config file
Development
clone repository
```bash git clone https://github.com/kongkx/homebridge-cozylife-platform.git ```
prepare homebridge config
```bash cp homebridge/config.json.example homebridge/config.json ```
run watch command
```bash npm run watch ```