Skip to content

mbohnearschi/homebridge-sonoff-mini-diy-rest

 
 

Repository files navigation

npm npm

homebridge-sonoff-mini-diy-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. At least now it works, PRs welcome.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Shell 0.6%