0.0.2 • Published 5 years ago

homebridge-simple-shelly v0.0.2

Weekly downloads
12
License
-
Repository
-
Last release
5 years ago

homebridge-simple-shelly Plugin

homebridge-simple-shelly is a Homebridge plugin with which you can switch ON/OFF the Shelly-device via Apple HomeKit.

The plugin is based on the common REST-API of the Shelly-device: Rest-API-Documentation

Installation

First of all you need to have Homebridge installed. Refer to the according README.md of this repository for instructions.

Then run the following command to install homebridge-simple-shelly:

sudo npm install -g homebridge-simple-shelly

Configuration

ParameterDescriptionRequired
namename of the accessory (also taken to call in "Siri")
urlurl of the shelly device
channeldefault 0 (Shelly2 as two channels, 0 or 1)
usernameif authentication is enabled on the Shelly, provide an username default admin
passwordif authentication is enabled on the Shelly, provide a password

Example of configuration:

{
    "accessories": [
        {
          "accessory": "SimpleShelly",
          "name": "Shelly Lamp",
          "url": "http://192.168.1.1",
          "channel": 0
        }   
    ]
}