Cozylife Homebrige integration using local net.
npm install homebridge-cozylife-platform
{
"platforms": [
{
"platform": "CozylifePlatform"
}
]
}
{
"platforms": [
{
"platform": "CozylifePlatform",
"scanInterval": "10000",
"checkStatusInterval": "10000",
"devices": [
{
"mac": "xxxxxxxx",
"name": "my swtich"
}
]
}
]
}
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
```