@homebridge-plugins/homebridge-wemo 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +809 -0
- package/LICENSE +21 -0
- package/README.md +66 -0
- package/config.schema.json +814 -0
- package/eslint.config.js +50 -0
- package/lib/connection/http.js +174 -0
- package/lib/connection/upnp.js +155 -0
- package/lib/device/coffee.js +167 -0
- package/lib/device/crockpot.js +380 -0
- package/lib/device/dimmer.js +280 -0
- package/lib/device/heater.js +416 -0
- package/lib/device/humidifier.js +379 -0
- package/lib/device/index.js +39 -0
- package/lib/device/insight.js +353 -0
- package/lib/device/lightswitch.js +154 -0
- package/lib/device/link-bulb.js +467 -0
- package/lib/device/link-hub.js +63 -0
- package/lib/device/maker-garage.js +426 -0
- package/lib/device/maker-switch.js +202 -0
- package/lib/device/motion.js +148 -0
- package/lib/device/outlet.js +148 -0
- package/lib/device/purifier.js +468 -0
- package/lib/device/simulation/purifier-insight.js +357 -0
- package/lib/device/simulation/purifier.js +159 -0
- package/lib/device/simulation/switch-insight.js +315 -0
- package/lib/device/simulation/switch.js +154 -0
- package/lib/fakegato/LICENSE +21 -0
- package/lib/fakegato/fakegato-history.js +814 -0
- package/lib/fakegato/fakegato-storage.js +108 -0
- package/lib/fakegato/fakegato-timer.js +125 -0
- package/lib/fakegato/uuid.js +27 -0
- package/lib/homebridge-ui/public/index.html +315 -0
- package/lib/homebridge-ui/server.js +10 -0
- package/lib/index.js +8 -0
- package/lib/platform.js +1423 -0
- package/lib/utils/colour.js +135 -0
- package/lib/utils/constants.js +129 -0
- package/lib/utils/eve-chars.js +130 -0
- package/lib/utils/functions.js +52 -0
- package/lib/utils/lang-en.js +125 -0
- package/package.json +70 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Ben Potter
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://github.com/homebridge-plugins/homebridge-wemo"><img alt="Homebridge Verified" src="https://user-images.githubusercontent.com/43026681/126868557-d0983348-d124-4247-bea9-7dcc62849cdf.png" width="600px"></a>
|
|
3
|
+
</p>
|
|
4
|
+
<span align="center">
|
|
5
|
+
|
|
6
|
+
# homebridge-wemo
|
|
7
|
+
|
|
8
|
+
Homebridge plugin to integrate Wemo devices into HomeKit
|
|
9
|
+
|
|
10
|
+
[](https://www.npmjs.com/package/homebridge-wemo)
|
|
11
|
+
[](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Beta-Version)
|
|
12
|
+
|
|
13
|
+
[](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
|
|
14
|
+
[](https://plugins.hoobs.org/plugin/homebridge-wemo)
|
|
15
|
+
|
|
16
|
+
[](https://www.npmjs.com/package/homebridge-wemo)
|
|
17
|
+
[](https://discord.com/channels/432663330281226270/742733745743855627)
|
|
18
|
+
|
|
19
|
+
</span>
|
|
20
|
+
|
|
21
|
+
### Plugin Information
|
|
22
|
+
|
|
23
|
+
- This plugin allows you to view and control your Wemo devices within HomeKit. The plugin:
|
|
24
|
+
- does not require your Wemo credentials as uses local network discovery (SSDP) and local control
|
|
25
|
+
- will attempt to control your devices via a local HTTP request
|
|
26
|
+
- will attempt to establish a UPnP connection to your devices to listen for external changes (if disabled, HTTP polling is used)
|
|
27
|
+
|
|
28
|
+
### Prerequisites
|
|
29
|
+
|
|
30
|
+
- To use this plugin, you will need to already have:
|
|
31
|
+
- [Node](https://nodejs.org): latest version of `v18`, `v20` or `v22` - any other major version is not supported.
|
|
32
|
+
- [Homebridge](https://homebridge.io): `v1.6` - refer to link for more information and installation instructions.
|
|
33
|
+
- For the UPnP connection, make sure your Homebridge instance has an allocated IP from the same IP network or VLAN as your Wemo devices. Otherwise, you should disable the UPnP connection to avoid connection errors.
|
|
34
|
+
|
|
35
|
+
### Setup
|
|
36
|
+
|
|
37
|
+
- [Installation](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Installation)
|
|
38
|
+
- [Configuration](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Configuration)
|
|
39
|
+
- [Beta Version](https://github.com/homebridge/homebridge/wiki/How-to-Install-Alternate-Plugin-Versions)
|
|
40
|
+
- [Node Version](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Node-Version)
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
- [Supported Devices](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Supported-Devices)
|
|
45
|
+
|
|
46
|
+
### Help/About
|
|
47
|
+
|
|
48
|
+
- [Common Errors](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Common-Errors)
|
|
49
|
+
- [Support Request](https://github.com/homebridge-plugins/homebridge-wemo/issues/new/choose)
|
|
50
|
+
- [Changelog](https://github.com/homebridge-plugins/homebridge-wemo/blob/latest/CHANGELOG.md)
|
|
51
|
+
- [About Me](https://github.com/sponsors/bwp91)
|
|
52
|
+
|
|
53
|
+
### Credits
|
|
54
|
+
|
|
55
|
+
- To the creator of this plugin: [@rudders](https://github.com/rudders), and to [@devbobo](https://github.com/devbobo) for his contributions.
|
|
56
|
+
- To the creator of [wemo-client](https://github.com/timonreinhard/wemo-client) (which is now contained within this plugin): [@timonreinhard](https://github.com/timonreinhard).
|
|
57
|
+
- To [Ben Hardill](http://www.hardill.me.uk/wordpress/tag/wemo/) for his research on Wemo devices.
|
|
58
|
+
- To all users who have helped/tested to enable functionality for new devices.
|
|
59
|
+
- To the creators/contributors of [Fakegato](https://github.com/simont77/fakegato-history): [@simont77](https://github.com/simont77) and [@NorthernMan54](https://github.com/NorthernMan54).
|
|
60
|
+
- To the creator of the awesome plugin header logo: [Keryan Belahcene](https://www.instagram.com/keryan.me).
|
|
61
|
+
- To the creators/contributors of [Homebridge](https://homebridge.io) who make this plugin possible.
|
|
62
|
+
|
|
63
|
+
### Disclaimer
|
|
64
|
+
|
|
65
|
+
- I am in no way affiliated with Belkin/Wemo and this plugin is a personal project that I maintain in my free time.
|
|
66
|
+
- Use this plugin entirely at your own risk - please see licence for more information.
|