Cozylife Homebrige integration using local net.
- Switch
npm install homebridge-cozylife-platform
{
"platforms": [
{
"platform": "CozylifePlatform"
}
]
}
{
"platforms": [
{
"platform": "CozylifePlatform",
"scanInterval": "10000",
"checkStatusInterval": "10000",
"devices": [
{
"mac": "xxxxxxxx",
"name": "my swtich"
}
]
}
]
}
- Light Accessory
- Accurate Switch Control
- Init N Switch based on config file
-
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 ```