@homebridge-plugins/homebridge-resideo 2.1.7-beta.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/.github/FUNDING.yml +4 -0
- package/.github/ISSUE_TEMPLATE/bug-report.yml +97 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/ISSUE_TEMPLATE/feature-request.yml +38 -0
- package/.github/ISSUE_TEMPLATE/support-request.yml +85 -0
- package/.github/ISSUE_TEMPLATE.md +52 -0
- package/.github/PULL_REQUEST_TEMPLATE/pull_request.md +27 -0
- package/.github/auto-merge.yml +3 -0
- package/.github/dependabot.yml +17 -0
- package/.github/labeler.yml +38 -0
- package/.github/npm-version-script-esm.js +85 -0
- package/.github/release-drafter.yml +33 -0
- package/.github/workflows/beta-release.yml +55 -0
- package/.github/workflows/build.yml +18 -0
- package/.github/workflows/changerelease.yml +11 -0
- package/.github/workflows/labeler.yml +9 -0
- package/.github/workflows/release-drafter.yml +14 -0
- package/.github/workflows/release.yml +35 -0
- package/.github/workflows/stale.yml +12 -0
- package/CHANGELOG.md +161 -0
- package/LICENSE +14 -0
- package/README.md +67 -0
- package/SECURITY.md +19 -0
- package/branding/Homebridge_x_Resideo.svg +28 -0
- package/branding/honeywell/Homebridge_x_Honeywell.svg +1 -0
- package/branding/honeywell/homebridge-honeywell-home-changelog.md +851 -0
- package/branding/icon.png +0 -0
- package/config.schema.json +611 -0
- package/dist/devices/device.d.ts +41 -0
- package/dist/devices/device.d.ts.map +1 -0
- package/dist/devices/device.js +279 -0
- package/dist/devices/device.js.map +1 -0
- package/dist/devices/leaksensors.d.ts +34 -0
- package/dist/devices/leaksensors.d.ts.map +1 -0
- package/dist/devices/leaksensors.js +300 -0
- package/dist/devices/leaksensors.js.map +1 -0
- package/dist/devices/roomsensors.d.ts +38 -0
- package/dist/devices/roomsensors.d.ts.map +1 -0
- package/dist/devices/roomsensors.js +274 -0
- package/dist/devices/roomsensors.js.map +1 -0
- package/dist/devices/roomsensorthermostats.d.ts +57 -0
- package/dist/devices/roomsensorthermostats.d.ts.map +1 -0
- package/dist/devices/roomsensorthermostats.js +700 -0
- package/dist/devices/roomsensorthermostats.js.map +1 -0
- package/dist/devices/thermostats.d.ts +73 -0
- package/dist/devices/thermostats.d.ts.map +1 -0
- package/dist/devices/thermostats.js +930 -0
- package/dist/devices/thermostats.js.map +1 -0
- package/dist/devices/valve.d.ts +21 -0
- package/dist/devices/valve.d.ts.map +1 -0
- package/dist/devices/valve.js +151 -0
- package/dist/devices/valve.js.map +1 -0
- package/dist/homebridge-ui/public/index.html +423 -0
- package/dist/homebridge-ui/server.d.ts +2 -0
- package/dist/homebridge-ui/server.d.ts.map +1 -0
- package/dist/homebridge-ui/server.js +131 -0
- package/dist/homebridge-ui/server.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/platform.d.ts +94 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +890 -0
- package/dist/platform.js.map +1 -0
- package/dist/settings.d.ts +409 -0
- package/dist/settings.d.ts.map +1 -0
- package/dist/settings.js +25 -0
- package/dist/settings.js.map +1 -0
- package/dist/utils.d.ts +21 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +58 -0
- package/dist/utils.js.map +1 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +22 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1493 -0
- package/docs/functions/default.html +1 -0
- package/docs/index.html +73 -0
- package/docs/modules.html +2 -0
- package/eslint.config.js +50 -0
- package/package.json +102 -0
- package/typedoc.json +22 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | homebridge-resideo</title><meta name="description" content="Documentation for homebridge-resideo"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">homebridge-resideo</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">homebridge-resideo</a></li><li><a href="default.html">default</a></li></ul><h1>Function default</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="default" class="tsd-anchor"></a><span class="tsd-kind-call-signature">default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">api</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">api</span>: <span class="tsd-signature-type">API</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge-plugins/homebridge-resideo/blob/a594339f82385225e2551888b82055d1463f7362/src/index.ts#L10">index.ts:10</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>homebridge-resideo</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
package/docs/index.html
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>homebridge-resideo</title><meta name="description" content="Documentation for homebridge-resideo"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">homebridge-resideo</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>homebridge-resideo</h1></div><div class="tsd-panel tsd-typography"><span align="center">
|
|
2
|
+
<p><a href="https://github.com/homebridge/verified/blob/latest/verified-plugins.json"><img alt="homebridge-verified" src="https://raw.githubusercontent.com/homebridge-plugins/homebridge-resideo/latest/branding/Homebridge_x_Resideo.svg?sanitize=true" width="350px"></a></p>
|
|
3
|
+
<a id="md:homebridge-resideo" class="tsd-anchor"></a><h1 class="tsd-anchor-link">Homebridge Resideo<a href="#md:homebridge-resideo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><p><a href="https://www.npmjs.com/package/homebridge-resideo"><img title="npm version" src="https://badgen.net/npm/v/homebridge-resideo?icon=npm&label" ></a>
|
|
4
|
+
<a href="https://www.npmjs.com/package/homebridge-resideo"><img title="npm downloads" src="https://badgen.net/npm/dt/homebridge-resideo?label=downloads" ></a>
|
|
5
|
+
<a href="https://discord.gg/8fpZA4S"><img title="discord-resideo" src="https://badgen.net/discord/online-members/8fpZA4S?icon=discord&label=discord" ></a>
|
|
6
|
+
<a href="https://paypal.me/donavanbecker"><img title="donate" src="https://badgen.net/badge/donate/paypal/yellow" ></a></p>
|
|
7
|
+
<p>The Homebridge <a href="https://resideo.com">Resideo</a>
|
|
8
|
+
plugin allows you to access your Resideo Device(s) from HomeKit with
|
|
9
|
+
<a href="https://homebridge.io">Homebridge</a>.
|
|
10
|
+
</p>
|
|
11
|
+
</span>
|
|
12
|
+
<a id="md:installation" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Installation<a href="#md:installation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ol>
|
|
13
|
+
<li>Search for "Resideo" on the plugin screen of <a href="https://github.com/oznu/homebridge-config-ui-x" target="_blank" class="external">Homebridge Config UI X</a>.</li>
|
|
14
|
+
<li>Click <strong>Install</strong>.</li>
|
|
15
|
+
</ol>
|
|
16
|
+
<a id="md:configuration" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Configuration<a href="#md:configuration" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ol>
|
|
17
|
+
<li>Login / create an account at <a href="https://developer.honeywellhome.com/user" target="_blank" class="external">https://developer.honeywellhome.com/user</a>
|
|
18
|
+
<ul>
|
|
19
|
+
<li>Your Resideo Developer Account, this account is different then your Resideo Account that you log into the Resideo App with</li>
|
|
20
|
+
</ul>
|
|
21
|
+
</li>
|
|
22
|
+
<li>Click <strong>Create New App</strong></li>
|
|
23
|
+
<li>Give your application a name</li>
|
|
24
|
+
<li>Copy the hostname found on #3 of the Intro Page into the Callback URL field</li>
|
|
25
|
+
</ol>
|
|
26
|
+
<p align="center">
|
|
27
|
+
<img src="https://user-images.githubusercontent.com/9875439/192078620-6998511c-1c11-4e06-b7e1-475b22ef5180.png" width="300px">
|
|
28
|
+
</p>
|
|
29
|
+
<ol start="5">
|
|
30
|
+
<li>Enter the generated consumer key and secret into the plugin settings screen of <a href="https://github.com/oznu/homebridge-config-ui-x" target="_blank" class="external">Homebridge Config UI X</a></li>
|
|
31
|
+
<li>Click <strong>Link Account</strong></li>
|
|
32
|
+
</ol>
|
|
33
|
+
<p align="center">
|
|
34
|
+
<img src="https://user-images.githubusercontent.com/9875439/192078614-e568d121-e0e4-4123-bdda-4238e8a6e601.png" width="300px">
|
|
35
|
+
</p>
|
|
36
|
+
<ol start="7">
|
|
37
|
+
<li>Login to your <a href="https://account.honeywellhome.com" target="_blank" class="external">https://www.resideo.com</a>.</li>
|
|
38
|
+
<li>Click Allow</li>
|
|
39
|
+
<li>Select Devices
|
|
40
|
+
<ul>
|
|
41
|
+
<li>I would recommend selecting all devices since you can restrict the devices you don't want in the Home app later, by DeviceID.</li>
|
|
42
|
+
</ul>
|
|
43
|
+
</li>
|
|
44
|
+
<li>Click Connect</li>
|
|
45
|
+
<li>Click Save
|
|
46
|
+
<ul>
|
|
47
|
+
<li>If you plan on adding this plugin into a child bridge, I would configure that at this time before restarting Homebridge.
|
|
48
|
+
<ul>
|
|
49
|
+
<li>Reminder that you will have to add this child bridge into the home app to get Resideo accessories to show up.</li>
|
|
50
|
+
</ul>
|
|
51
|
+
</li>
|
|
52
|
+
</ul>
|
|
53
|
+
</li>
|
|
54
|
+
<li>Restart Homebridge</li>
|
|
55
|
+
</ol>
|
|
56
|
+
<a id="md:supported-resideo-devices" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Supported Resideo Devices<a href="#md:supported-resideo-devices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
|
|
57
|
+
<li><a href="https://www.resideo.com/us/en/products/air/thermostats/wifi-thermostats/t10-pro-smart-thermostat-with-redlinkr-room-sensor-thx321wfs2001w-u/" target="_blank" class="external">T10 Thermostat</a> - Already HomeKit Certified</li>
|
|
58
|
+
<li><a href="https://www.resideo.com/us/en/products/air/thermostats/wifi-thermostats/t9-smart-thermostat-with-sensor-rcht9610wfsw2003-u/" target="_blank" class="external">T9 Thermostat</a> - Already HomeKit Certified
|
|
59
|
+
<ul>
|
|
60
|
+
<li><a href="https://www.resideo.com/us/en/products/air/thermostat-accessories/t9-smart-sensor-rchtsensor-1pk-u/" target="_blank" class="external">T9 Smart Roomsensors</a></li>
|
|
61
|
+
</ul>
|
|
62
|
+
</li>
|
|
63
|
+
<li><a href="https://www.resideo.com/us/en/products/air/thermostats/wifi-thermostats/t6-pro-smart-thermostat-multi-stage-3-heat-2-cool-th6320wf2003-u/" target="_blank" class="external">T6 Thermostat</a> - Already HomeKit Certified</li>
|
|
64
|
+
<li><a href="https://www.resideo.com/us/en/products/air/thermostats/wifi-thermostats/t5-smart-thermostat-with-c-wire-adapter-rcht8612wf2005-u/" target="_blank" class="external">T5 Thermostat</a> - Already HomeKit Certified</li>
|
|
65
|
+
<li><a href="https://www.resideo.com/us/en/products/air/thermostats/wifi-thermostats/the-round-smart-thermostat-rch9310wf5003-u/" target="_blank" class="external">Round Thermostat</a> - Already HomeKit Certified</li>
|
|
66
|
+
<li>Some Total Comfort Control Thermostats
|
|
67
|
+
<ul>
|
|
68
|
+
<li>Pushing Commands may not be supported on some.</li>
|
|
69
|
+
</ul>
|
|
70
|
+
</li>
|
|
71
|
+
<li><a href="https://www.resideo.com/us/en/products/water/spot-leak-detection/wifi-water-leak-freeze-detector-rchw3610wf1001-u/" target="_blank" class="external">WiFi Water Leak & Freeze Detector</a></li>
|
|
72
|
+
</ul>
|
|
73
|
+
</div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#md:homebridge-resideo"><span>Homebridge <wbr/>Resideo</span></a><ul><li><a href="#md:installation"><span>Installation</span></a></li><li><a href="#md:configuration"><span>Configuration</span></a></li><li><a href="#md:supported-resideo-devices"><span>Supported <wbr/>Resideo <wbr/>Devices</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-1"></use></svg><span>homebridge-resideo</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base="."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>homebridge-resideo</title><meta name="description" content="Documentation for homebridge-resideo"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">homebridge-resideo</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="modules.html">homebridge-resideo</a></li></ul><h1>homebridge-resideo</h1></div><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Functions</h3><div class="tsd-index-list"><a href="functions/default.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-64"></use></svg><span>default</span></a>
|
|
2
|
+
</div></section></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-1"></use></svg><span>homebridge-resideo</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base="."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import antfu from '@antfu/eslint-config'
|
|
2
|
+
|
|
3
|
+
export default antfu(
|
|
4
|
+
{
|
|
5
|
+
ignores: ['dist', 'docs'],
|
|
6
|
+
jsx: false,
|
|
7
|
+
typescript: true,
|
|
8
|
+
formatters: {
|
|
9
|
+
markdown: true,
|
|
10
|
+
},
|
|
11
|
+
rules: {
|
|
12
|
+
'curly': ['error', 'multi-line'],
|
|
13
|
+
'import/extensions': ['error', 'ignorePackages'],
|
|
14
|
+
'import/order': 0,
|
|
15
|
+
'jsdoc/check-alignment': 'error',
|
|
16
|
+
'jsdoc/check-line-alignment': 'error',
|
|
17
|
+
'no-undef': 'error',
|
|
18
|
+
'perfectionist/sort-exports': 'error',
|
|
19
|
+
'perfectionist/sort-imports': [
|
|
20
|
+
'error',
|
|
21
|
+
{
|
|
22
|
+
groups: [
|
|
23
|
+
'builtin-type',
|
|
24
|
+
'external-type',
|
|
25
|
+
'internal-type',
|
|
26
|
+
['parent-type', 'sibling-type', 'index-type'],
|
|
27
|
+
'builtin',
|
|
28
|
+
'external',
|
|
29
|
+
'internal',
|
|
30
|
+
['parent', 'sibling', 'index'],
|
|
31
|
+
'object',
|
|
32
|
+
'unknown',
|
|
33
|
+
],
|
|
34
|
+
order: 'asc',
|
|
35
|
+
type: 'natural',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
'perfectionist/sort-named-exports': 'error',
|
|
39
|
+
'perfectionist/sort-named-imports': 'error',
|
|
40
|
+
'sort-imports': 0,
|
|
41
|
+
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
|
|
42
|
+
'style/quote-props': ['error', 'consistent-as-needed'],
|
|
43
|
+
'test/no-only-tests': 'error',
|
|
44
|
+
'unicorn/no-useless-spread': 'error',
|
|
45
|
+
'unused-imports/no-unused-vars': ['error', { caughtErrors: 'none' }],
|
|
46
|
+
'no-new': 0, // Disable the no-new rule
|
|
47
|
+
'new-cap': 0, // Disable the new-cap rule
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
)
|
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@homebridge-plugins/homebridge-resideo",
|
|
3
|
+
"displayName": "Resideo",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"version": "2.1.7-beta.0",
|
|
6
|
+
"description": "The Resideo plugin allows you to access your Resideo device(s) from HomeKit.",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "donavanbecker",
|
|
9
|
+
"url": "https://github.com/donavanbecker"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"funding": [
|
|
16
|
+
{
|
|
17
|
+
"type": "Paypal",
|
|
18
|
+
"url": "https://paypal.me/donavanbecker"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "GitHub",
|
|
22
|
+
"url": "https://github.com/sponsors/donavanbecker"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"homepage": "https://github.com/homebridge-plugins/homebridge-resideo",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/homebridge-plugins/homebridge-resideo.git"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/homebridge-plugins/homebridge-resideo/issues"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"homebridge-plugin",
|
|
35
|
+
"honeywell",
|
|
36
|
+
"honeywell-home",
|
|
37
|
+
"thermostat",
|
|
38
|
+
"roomsensor",
|
|
39
|
+
"leaksensor",
|
|
40
|
+
"room sensor",
|
|
41
|
+
"leak sensor",
|
|
42
|
+
"lcc",
|
|
43
|
+
"tcc",
|
|
44
|
+
"Resideo",
|
|
45
|
+
"honeywellhome",
|
|
46
|
+
"honeywell home",
|
|
47
|
+
"temperature",
|
|
48
|
+
"humidity",
|
|
49
|
+
"leak"
|
|
50
|
+
],
|
|
51
|
+
"main": "dist/index.js",
|
|
52
|
+
"icon": "https://github.com/homebridge-plugins/homebridge-resideo/blob/latest/branding/icon.png?raw=true",
|
|
53
|
+
"engines": {
|
|
54
|
+
"homebridge": "^1.8.5 || ^2.0.0 || ^2.0.0-beta.23 || ^2.0.0-alpha.37",
|
|
55
|
+
"node": "^20 || ^22"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"check": "npm install && npm outdated",
|
|
59
|
+
"update": "ncu -u && npm update && npm install",
|
|
60
|
+
"lint": "eslint src/**/*.ts",
|
|
61
|
+
"lint:fix": "eslint src/**/*.ts --fix",
|
|
62
|
+
"watch": "npm run build && npm run plugin-ui && npm link && nodemon",
|
|
63
|
+
"plugin-ui": "rsync ./src/homebridge-ui/public/index.html ./dist/homebridge-ui/public/",
|
|
64
|
+
"build": "npm run clean && tsc && npm run plugin-ui",
|
|
65
|
+
"prepublishOnly": "npm run lint && npm run build && npm run plugin-ui ",
|
|
66
|
+
"postpublish": "npm run clean && npm ci",
|
|
67
|
+
"clean": "shx rm -rf ./dist",
|
|
68
|
+
"test": "npm run lint",
|
|
69
|
+
"docs": "typedoc",
|
|
70
|
+
"lint-docs": "typedoc --emit none --treatWarningsAsErrors"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@homebridge/plugin-ui-utils": "^1.0.3",
|
|
74
|
+
"axios": "1.7.7",
|
|
75
|
+
"rxjs": "^7.8.1"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@antfu/eslint-config": "^3.8.0",
|
|
79
|
+
"@types/aes-js": "^3.1.4",
|
|
80
|
+
"@types/debug": "^4.1.12",
|
|
81
|
+
"@types/fs-extra": "^11.0.4",
|
|
82
|
+
"@types/jest": "^29.5.14",
|
|
83
|
+
"@types/mdast": "^4.0.4",
|
|
84
|
+
"@types/node": "^22.8.4",
|
|
85
|
+
"@types/semver": "^7.5.8",
|
|
86
|
+
"@types/source-map-support": "^0.5.10",
|
|
87
|
+
"@vitest/coverage-v8": "^2.1.4",
|
|
88
|
+
"eslint": "^9.13.0",
|
|
89
|
+
"eslint-plugin-format": "^0.1.2",
|
|
90
|
+
"homebridge": "^1.8.5",
|
|
91
|
+
"homebridge-config-ui-x": "4.62.0",
|
|
92
|
+
"jest": "^29.7.0",
|
|
93
|
+
"nodemon": "^3.1.7",
|
|
94
|
+
"npm-check-updates": "^17.1.9",
|
|
95
|
+
"shx": "^0.3.4",
|
|
96
|
+
"ts-node": "^10.9.2",
|
|
97
|
+
"typedoc": "^0.26.10",
|
|
98
|
+
"typescript": "^5.6.3",
|
|
99
|
+
"typescript-axios-wb": "^1.0.3",
|
|
100
|
+
"vitest": "^2.1.4"
|
|
101
|
+
}
|
|
102
|
+
}
|
package/typedoc.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"out": "docs",
|
|
3
|
+
"exclude": [
|
|
4
|
+
"src/**/*.spec.ts"
|
|
5
|
+
],
|
|
6
|
+
"entryPoints": [
|
|
7
|
+
"src/index.ts"
|
|
8
|
+
],
|
|
9
|
+
"excludePrivate": true,
|
|
10
|
+
"excludeProtected": true,
|
|
11
|
+
"excludeExternals": true,
|
|
12
|
+
"hideGenerator": true,
|
|
13
|
+
"includeVersion": false,
|
|
14
|
+
"validation": {
|
|
15
|
+
"invalidLink": true,
|
|
16
|
+
"notExported": false
|
|
17
|
+
},
|
|
18
|
+
"inlineTags": [
|
|
19
|
+
"@link",
|
|
20
|
+
"@see"
|
|
21
|
+
]
|
|
22
|
+
}
|