Skip to content

Commit

Permalink
Merge pull request #21 from donavanbecker/update
Browse files Browse the repository at this point in the history
Final Release
  • Loading branch information
donavanbecker authored Apr 9, 2020
2 parents ad6da55 + 01b662c commit 2ee6c27
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 72 deletions.
53 changes: 15 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,24 @@
# homebridge-wemo
<span align="center">

Check out my new [Homebridge-Platform-Wemo Plugin](https://github.com/rudders/homebridge-platform-wemo) that is a Platform module and supports switches and bulbs (Wemo Link)
<a href="https://github.com/homebridge/verified/blob/master/verified-plugins.json"><img alt="homebridge-verified" src="https://raw.githubusercontent.com/donavanbecker/homebridge-platform-wemo/master/wemo/wemo.png" width="200px"></a>

Supports Belkin WeMo devices on HomeBridge Platform
# Homebridge Wemo

This module does not support the WeMo Bulbs and their Bridge - I am working on homebridge-wemo2 that will. Initial version should go up soon I hope.
<a href="https://www.npmjs.com/package/homebridge-platform-wemo"><img title="npm version" src="https://badgen.net/npm/v/homebridge-platform-wemo" ></a>
<a href="https://www.npmjs.com/package/homebridge-platform-wemo"><img title="npm downloads" src="https://badgen.net/npm/dt/homebridge-platform-wemo" ></a>

<p>Check out my new the new <a href="https://wemo.com">Wemo</a> plugin
<a href="https://github.com/donavanbecker/homebridge-platform-wemo">Homebridge-Platform-Wemo</a>.

This new plugin is a Platform module and supports switches and bulbs (Wemo Link) which continues to allow you to control your Wemo Devices from HomeKit.
</p>

</span>

# Installation

1. Install homebridge using: npm install -g homebridge
2. Install this plugin using: npm install -g homebridge-wemo
3. Update your configuration file. See sample-config.json in this repository for a sample.
- See [Installation Section](https://github.com/donavanbecker/homebridge-platform-wemo#installation) of the new [Homebridge-Platform-Wemo](https://github.com/donavanbecker/homebridge-platform-wemo) repo for details on how to install this new plugin.

# Configuration

Note, in order for the wemo homebridge plugin to work alongside the wemo app in iOS 13, you must:

- Turn off wemo in the `Settings` app under `Privacy -> HomeKit`

The wemo app will still work, but doing this will allow control of wemo outlets via Siri. Without doing this, Siri will respond to on/off commands with something like "Hmm, that feature is not available for...".

Configuration sample:

```
"accessories": [
{
"accessory": "WeMo",
"name": "Lounge Lamp",
"description": "The Lamp in the Loungeroom",
"wemo_name": "Lounge Lamp"
},
{
"accessory": "WeMo",
"name": "Outside Lights",
"description": "The Festoon Lights in the Back Yard.",
"wemo_name": "Festoon Lights"
},
{
"accessory": "WeMo",
"name": "Bookcase Lamp",
"description": "The Lamp on the Bookcase.",
"wemo_name": "Bookcase Lamp"
}
]
```
- See [Configuration Section](https://github.com/donavanbecker/homebridge-platform-wemo#configuration) of the new [Homebridge-Platform-Wemo](https://github.com/donavanbecker/homebridge-platform-wemo) repo for details on how to config this new plugin.
89 changes: 89 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"pluginAlias": "BelkinWeMo",
"pluginType": "platform",
"headerDisplay": "<p align='center'><img width='150px' src='https://raw.githubusercontent.com/donavanbecker/homebridge-platform-wemo/master/wemo/wemo.png'></p>\n\nThe **Homebridge Platform WeMo** plugin allows you to control your WeMo Devices from HomeKit. To get started setup your config below.",
"footerDisplay": "</p>\n\nFor Wemo Client see [Manual Setup Wiki](https://github.com/donavanbecker/homebridge-platform-wemo/wiki/Manual-Setup).</p>\n\nYour WeMo device is setup.",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"placeholder": "Lounge Lamp",
"required": true
},
"description": {
"title": "Description",
"type": "string",
"placeholder": "The Lamp in the Loungeroom",
"required": true
},
"ip": {
"title": "IP",
"type": "string",
"placeholder": "192.168.1.65"
},
"port": {
"title": "Port",
"type": "integer",
"placeholder": "49153"
},
"wemo_name": {
"title": "Wemo Device Name",
"type": "string",
"placeholder": "Lounge Lamp"
}
},
"oneOf": [
{
"required": [
"ip",
"port"
]
},
{
"required": [
"wemo_name"
]
}
]
},
"layout": [
{
"type": "flex",
"flex-flow": "row wrap",
"items": [
{
"key": "name",
"type": "name"
},
{
"key": "description",
"type": "description"
}
]
},
{
"type": "flex",
"flex-flow": "row wrap",
"items": [
{
"key": "ip",
"type": "ip"
},
{
"key": "port",
"type": "port"
}
]
},
{
"type": "flex",
"flex-flow": "row wrap",
"items": [
"wemo_name"
]
}
]
}
34 changes: 0 additions & 34 deletions sample-config.json

This file was deleted.

0 comments on commit 2ee6c27

Please sign in to comment.