@homebridge-plugins/homebridge-meross 10.8.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 +1346 -0
- package/LICENSE +21 -0
- package/README.md +68 -0
- package/config.schema.json +2066 -0
- package/eslint.config.js +49 -0
- package/lib/connection/http.js +345 -0
- package/lib/connection/mqtt.js +174 -0
- package/lib/device/baby.js +532 -0
- package/lib/device/cooler-single.js +447 -0
- package/lib/device/diffuser.js +730 -0
- package/lib/device/fan.js +530 -0
- package/lib/device/garage-main.js +225 -0
- package/lib/device/garage-single.js +495 -0
- package/lib/device/garage-sub.js +376 -0
- package/lib/device/heater-single.js +445 -0
- package/lib/device/hub-contact.js +56 -0
- package/lib/device/hub-leak.js +86 -0
- package/lib/device/hub-main.js +403 -0
- package/lib/device/hub-sensor.js +115 -0
- package/lib/device/hub-smoke.js +40 -0
- package/lib/device/hub-valve.js +377 -0
- package/lib/device/humidifier.js +521 -0
- package/lib/device/index.js +63 -0
- package/lib/device/light-cct.js +474 -0
- package/lib/device/light-dimmer.js +312 -0
- package/lib/device/light-rgb.js +528 -0
- package/lib/device/outlet-multi.js +383 -0
- package/lib/device/outlet-single.js +405 -0
- package/lib/device/power-strip.js +282 -0
- package/lib/device/purifier-single.js +372 -0
- package/lib/device/purifier.js +403 -0
- package/lib/device/roller-location.js +317 -0
- package/lib/device/roller.js +234 -0
- package/lib/device/sensor-presence.js +201 -0
- package/lib/device/switch-multi.js +403 -0
- package/lib/device/switch-single.js +371 -0
- package/lib/device/template.js +177 -0
- package/lib/device/thermostat.js +493 -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 +316 -0
- package/lib/homebridge-ui/server.js +10 -0
- package/lib/index.js +8 -0
- package/lib/platform.js +1256 -0
- package/lib/utils/colour.js +581 -0
- package/lib/utils/constants.js +377 -0
- package/lib/utils/custom-chars.js +165 -0
- package/lib/utils/eve-chars.js +130 -0
- package/lib/utils/functions.js +39 -0
- package/lib/utils/lang-en.js +114 -0
- package/package.json +70 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 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,68 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://github.com/homebridge-plugins/homebridge-meross"><img alt="Homebridge Verified" src="https://user-images.githubusercontent.com/43026681/127397024-8b15fc07-f31b-44bd-89e3-51d738d2609a.png" width="600px"></a>
|
|
3
|
+
</p>
|
|
4
|
+
<span align="center">
|
|
5
|
+
|
|
6
|
+
# homebridge-meross
|
|
7
|
+
|
|
8
|
+
Homebridge plugin to integrate Meross devices into HomeKit
|
|
9
|
+
|
|
10
|
+
[](https://www.npmjs.com/package/homebridge-meross)
|
|
11
|
+
[](https://github.com/homebridge-plugins/homebridge-meross/wiki/Beta-Version)
|
|
12
|
+
|
|
13
|
+
[](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
|
|
14
|
+
[](https://plugins.hoobs.org/plugin/homebridge-meross)
|
|
15
|
+
|
|
16
|
+
[](https://www.npmjs.com/package/homebridge-meross)
|
|
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 Meross devices within HomeKit. The plugin:
|
|
24
|
+
- downloads a device list if your Meross credentials are supplied
|
|
25
|
+
- attempts to control your devices locally, reverting to cloud control if necessary
|
|
26
|
+
- listens for real-time device updates when controlled externally
|
|
27
|
+
- supports configuring devices for local-only control without your Meross credentials
|
|
28
|
+
- can ignore any HomeKit-native devices you have using the configuration
|
|
29
|
+
|
|
30
|
+
### Prerequisites
|
|
31
|
+
|
|
32
|
+
- To use this plugin, you will need to already have:
|
|
33
|
+
- [Node](https://nodejs.org): latest version of `v18` or `v20` - any other major version is not supported.
|
|
34
|
+
- [Homebridge](https://homebridge.io): `v1.6` - refer to link for more information and installation instructions.
|
|
35
|
+
|
|
36
|
+
### Setup
|
|
37
|
+
|
|
38
|
+
- [Installation](https://github.com/homebridge-plugins/homebridge-meross/wiki/Installation)
|
|
39
|
+
- [Configuration](https://github.com/homebridge-plugins/homebridge-meross/wiki/Configuration)
|
|
40
|
+
- [Beta Version](https://github.com/homebridge/homebridge/wiki/How-to-Install-Alternate-Plugin-Versions)
|
|
41
|
+
- [Node Version](https://github.com/homebridge-plugins/homebridge-meross/wiki/Node-Version)
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
- [Supported Devices](https://github.com/homebridge-plugins/homebridge-meross/wiki/Supported-Devices)
|
|
46
|
+
- [Cloud Control](https://github.com/homebridge-plugins/homebridge-meross/wiki/Cloud-Control)
|
|
47
|
+
- [Local Control](https://github.com/homebridge-plugins/homebridge-meross/wiki/Local-Control)
|
|
48
|
+
|
|
49
|
+
### Help/About
|
|
50
|
+
|
|
51
|
+
- [Common Errors](https://github.com/homebridge-plugins/homebridge-meross/wiki/Common-Errors)
|
|
52
|
+
- [Support Request](https://github.com/homebridge-plugins/homebridge-meross/issues/new/choose)
|
|
53
|
+
- [Changelog](https://github.com/homebridge-plugins/homebridge-meross/blob/latest/CHANGELOG.md)
|
|
54
|
+
- [About Me](https://github.com/sponsors/bwp91)
|
|
55
|
+
|
|
56
|
+
### Credits
|
|
57
|
+
|
|
58
|
+
- This is a fork of the work originally done by [@Robdel12](https://github.com/Robdel12) and [@dylanfrankcom](https://github.com/dylanfrankcom).
|
|
59
|
+
- To [@donavanbecker](https://github.com/donavanbecker) the previous maintainer of this plugin.
|
|
60
|
+
- To [@Apollon77](https://github.com/Apollon77) and [@colthreepv](https://github.com/colthreepv) for the [meross-cloud](https://github.com/Apollon77/meross-cloud) library (contained in this plugin).
|
|
61
|
+
- To the creator of the awesome plugin header logo: [Keryan Belahcene](https://www.instagram.com/keryan.me).
|
|
62
|
+
- To the creators/contributors of [Fakegato](https://github.com/simont77/fakegato-history): [@simont77](https://github.com/simont77) and [@NorthernMan54](https://github.com/NorthernMan54).
|
|
63
|
+
- To the creators/contributors of [Homebridge](https://homebridge.io) who make this plugin possible.
|
|
64
|
+
|
|
65
|
+
### Disclaimer
|
|
66
|
+
|
|
67
|
+
- I am in no way affiliated with Meross and this plugin is a personal project that I maintain in my free time.
|
|
68
|
+
- Use this plugin entirely at your own risk - please see licence for more information.
|