Samfox2 / homebridge-doorbell

Apache License 2.0
4 stars 4 forks source link

homebridge-doorbell

homebridge-doorbell is a plugin for Homebridge.

Since the API has changed doorbell service does not work without an attached camera. Please use https://github.com/Samfox2/homebridge-videodoorbell instead.

Installation

If you are new to Homebridge, please first read the Homebridge documentation. If you are running on a Raspberry, you will find a tutorial in the homebridge-punt Wiki.

1 Install homebridge:

sudo npm install -g homebridge

2 Install homebridge-doorbell:

sudo npm install -g git+https://github.com/Samfox2/homebridge-doorbell.git

3 Configure plugin:

 Update your configuration file. See sample-config.json in this repository for a sample. 

Configuration

Add the platform in config.json in your home directory inside .homebridge.

{
        "platform": "Doorbell",
        "doorbells": [
        {
            "name": "Doorbell Front"
        }
        ]
}

Note

Currently the plugin only emulates the doorbell with the identify command. If placed in a room with a camera it sends a notification with a snapshot/stream to your ios device after pushing the "identify" button in a homekit app.

Feel free to contribute to make this a better plugin!