This plug-in enables you to control your Sonoff Mini DIY mode light bulb. To switch to mode, follow this instruction
Run the following command
npm install -g homebridge-sonoff-mini-api-rest
Chances are you are going to need sudo with that.
{
"accessory": "Sonoff",
"type": "lightbulb"
"name": "Sonoff Mini DIY",
"url": "http://192.168.1.24:8081",
"id": "1000989596",
"debug": false
}
Key | Description |
---|---|
accessory | Required. Has to be "Sonoff" |
type | Required. Type of accessory |
name | Required. The name of this accessory. This will appear in your Homekit app |
url | Required. The url address that you discovered earlier |
id | Required. Id number |
debug | Optional. Debug mode |
This software comes with no warranty. At least now it works, PRs welcome.