/homebridge-sonoff-mini-api-rest

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

npm npm

homebridge-sonoff-mini-api-rest

Buy Me A Coffee

This plug-in enables you to control your Sonoff Mini DIY mode light bulb. To switch to mode, follow this instruction

Installation

Run the following command

npm install -g homebridge-sonoff-mini-api-rest

Chances are you are going to need sudo with that.

Config.json file

	{
            "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

Issues

This software comes with no warranty. It works for me and it might for you.