@homebridge-plugins/homebridge-august 2.2.8-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.
Files changed (64) hide show
  1. package/.eslintrc.json +86 -0
  2. package/.github/FUNDING.yml +4 -0
  3. package/.github/ISSUE_TEMPLATE/bug-report.yml +97 -0
  4. package/.github/ISSUE_TEMPLATE/config.yml +8 -0
  5. package/.github/ISSUE_TEMPLATE/feature-request.yml +38 -0
  6. package/.github/ISSUE_TEMPLATE/support-request.yml +85 -0
  7. package/.github/ISSUE_TEMPLATE.md +48 -0
  8. package/.github/PULL_REQUEST_TEMPLATE/pull_request.md +27 -0
  9. package/.github/dependabot.yml +17 -0
  10. package/.github/labeler.yml +38 -0
  11. package/.github/npm-version-script-esm.js +85 -0
  12. package/.github/workflows/beta-release.yml +55 -0
  13. package/.github/workflows/build.yml +18 -0
  14. package/.github/workflows/changerelease.yml +11 -0
  15. package/.github/workflows/labeler.yml +9 -0
  16. package/.github/workflows/release-drafter.yml +14 -0
  17. package/.github/workflows/release.yml +35 -0
  18. package/.github/workflows/stale.yml +12 -0
  19. package/CHANGELOG.md +197 -0
  20. package/LICENSE +14 -0
  21. package/README.md +45 -0
  22. package/SECURITY.md +19 -0
  23. package/branding/Homebridge_x_August.svg +32 -0
  24. package/branding/icon.png +0 -0
  25. package/config.schema.json +489 -0
  26. package/dist/devices/device.d.ts +55 -0
  27. package/dist/devices/device.d.ts.map +1 -0
  28. package/dist/devices/device.js +219 -0
  29. package/dist/devices/device.js.map +1 -0
  30. package/dist/devices/lock.d.ts +44 -0
  31. package/dist/devices/lock.d.ts.map +1 -0
  32. package/dist/devices/lock.js +353 -0
  33. package/dist/devices/lock.js.map +1 -0
  34. package/dist/homebridge-ui/public/index.html +203 -0
  35. package/dist/homebridge-ui/server.d.ts +2 -0
  36. package/dist/homebridge-ui/server.d.ts.map +1 -0
  37. package/dist/homebridge-ui/server.js +47 -0
  38. package/dist/homebridge-ui/server.js.map +1 -0
  39. package/dist/index.d.ts +4 -0
  40. package/dist/index.d.ts.map +1 -0
  41. package/dist/index.js +11 -0
  42. package/dist/index.js.map +1 -0
  43. package/dist/platform.d.ts +91 -0
  44. package/dist/platform.d.ts.map +1 -0
  45. package/dist/platform.js +481 -0
  46. package/dist/platform.js.map +1 -0
  47. package/dist/settings.d.ts +177 -0
  48. package/dist/settings.d.ts.map +1 -0
  49. package/dist/settings.js +9 -0
  50. package/dist/settings.js.map +1 -0
  51. package/docs/.nojekyll +1 -0
  52. package/docs/assets/highlight.css +22 -0
  53. package/docs/assets/icons.js +18 -0
  54. package/docs/assets/icons.svg +1 -0
  55. package/docs/assets/main.js +60 -0
  56. package/docs/assets/navigation.js +1 -0
  57. package/docs/assets/search.js +1 -0
  58. package/docs/assets/style.css +1493 -0
  59. package/docs/functions/default.html +1 -0
  60. package/docs/index.html +39 -0
  61. package/docs/modules.html +2 -0
  62. package/eslint.config.js +50 -0
  63. package/package.json +92 -0
  64. package/typedoc.json +17 -0
@@ -0,0 +1,35 @@
1
+ name: Release
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build_and_test:
9
+ uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
10
+ with:
11
+ enable_coverage: false
12
+ secrets:
13
+ token: ${{ secrets.GITHUB_TOKEN }}
14
+
15
+ publish:
16
+ needs: build_and_test
17
+ if: ${{ github.repository == 'homebridge-plugins/homebridge-august' }}
18
+ permissions:
19
+ id-token: write
20
+ uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
21
+ secrets:
22
+ npm_auth_token: ${{ secrets.npm_token }}
23
+
24
+ github-releases-to-discord:
25
+ name: Discord Webhooks
26
+ needs: [build_and_test,publish]
27
+ if: ${{ github.repository == 'homebridge-plugins/homebridge-august' }}
28
+ uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
29
+ with:
30
+ title: "August Release"
31
+ description: |
32
+ Version `v${{ needs.publish.outputs.NPM_VERSION }}`
33
+ url: "https://github.com/homebridge-plugins/homebridge-august/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
34
+ secrets:
35
+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
@@ -0,0 +1,12 @@
1
+ name: Stale workflow
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ - cron: '45 11 * * *'
7
+
8
+ jobs:
9
+ stale:
10
+ uses: homebridge/.github/.github/workflows/stale.yml@latest
11
+ secrets:
12
+ token: ${{ secrets.GITHUB_TOKEN }}
package/CHANGELOG.md ADDED
@@ -0,0 +1,197 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
4
+
5
+ ## [2.2.7](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.7) (2024-09-25)
6
+
7
+ ### What's Changes
8
+ - Housekeeping and updated dependencies.
9
+
10
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.2.6...v2.2.7
11
+
12
+ ## [2.2.6](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.6) (2024-06-23)
13
+
14
+ ### What's Changes
15
+ - Housekeeping and updated dependencies.
16
+
17
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.2.5...v2.2.6
18
+
19
+ ## [2.2.5](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.5) (2024-06-23)
20
+
21
+ ### What's Changes
22
+ - Housekeeping and updated dependencies.
23
+
24
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.2.4...v2.2.5
25
+
26
+ ## [2.2.4](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.4) (2024-06-23)
27
+
28
+ ### What's Changes
29
+ - Fix parsing Issue that caused plugin to restart
30
+
31
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.2.3...v2.2.4
32
+
33
+ ## [2.2.3](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.3) (2024-06-22)
34
+
35
+ ### What's Changes
36
+ - Fix some config issues.
37
+
38
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.2.2...v2.2.3
39
+
40
+ ## [2.2.2](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.2) (2024-06-22)
41
+
42
+ ### What's Changes
43
+ - Housekeeping and updated dependencies.
44
+
45
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.2.1...v2.2.2
46
+
47
+ ## [2.2.1](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.1) (2024-06-22)
48
+
49
+ ### What's Changes
50
+ - Housekeeping and updated dependencies.
51
+
52
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.2.0...v2.2.1
53
+
54
+ ## [2.2.0](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.2.0) (2024-05-25)
55
+
56
+ ### What's Changes
57
+ #### Major Changes
58
+ - Devices that are Homekit enabled will now not display unless the new `overrideHomekitEnabled` device config flag is set.
59
+
60
+ #### Other Changes
61
+ - All for overriding `PushRate` which allows you to set how quick changes are pushed to August API with the `PushRate` config
62
+ - This can be set at device or plugin level
63
+ - Added Success Logs(`green`) which requires Homebridge 1.8.0 or higher
64
+ - Housekeeping and updated dependencies.
65
+
66
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.1.0...v2.2.0
67
+
68
+ ## [2.1.0](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.1.0) (2024-05-07)
69
+
70
+ ### What's Changes
71
+ - Housekeeping and updated dependencies.
72
+
73
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v2.0.0...v2.1.0
74
+
75
+ ## [2.0.0](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v2.0.0) (2024-01-31)
76
+
77
+ ### What's Changes
78
+ - Moved from CommonJS to ES Module
79
+ - Housekeeping and updated dependencies.
80
+
81
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.3.4...v2.0.0
82
+
83
+ ## [1.3.4](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.3.4) (2024-01-15)
84
+
85
+ ### What's Changes
86
+ - fix August validation failure with verification codes starting with `0`. Thanks [@westhom](https://github.com/westhom), [#88](https://github.com/homebridge-plugins/homebridge-august/pull/88)
87
+ - Housekeeping and updated dependencies.
88
+
89
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.3.3...v1.3.4
90
+
91
+ ## [1.3.3](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.3.3) (2023-12-15)
92
+
93
+ ### What's Changes
94
+ - Housekeeping and updated dependencies.
95
+
96
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.3.2...v1.3.3
97
+
98
+ ## [1.3.2](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.3.2) (2023-11-26)
99
+
100
+ ### What's Changes
101
+ - Housekeeping and updated dependencies.
102
+
103
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.3.1...v1.3.2
104
+
105
+ ## [1.3.1](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.3.1) (2023-11-07)
106
+
107
+ ### What's Changes
108
+ - Housekeeping and updated dependencies.
109
+
110
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.3.0...v1.3.1
111
+
112
+ ## [1.3.0](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.2.1) (2023-10-31)
113
+
114
+ ### What's Changes
115
+ - Add support for Yale Home with countryCode, Thanks [@hufftheweevil](https://github.com/hufftheweevil)
116
+ - Housekeeping and updated dependencies.
117
+
118
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.2.1...v1.3.0
119
+
120
+ ## [1.2.1](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.2.1) (2023-08-27)
121
+
122
+ ### What's Changes
123
+ - Housekeeping and updated dependencies.
124
+
125
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.2.0...v1.2.1
126
+
127
+ ## [1.2.0](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.2.0) (2023-08-19)
128
+
129
+ ### What's Changes
130
+ - Fixed debugging issue, Thanks [@dacarson](https://github.com/dacarson) [#69](https://github.com/homebridge-plugins/homebridge-august/pull/69)
131
+ - Reduce August API calls, Thanks [@dacarson](https://github.com/dacarson) [#69](https://github.com/homebridge-plugins/homebridge-august/pull/69)
132
+ - Fix 'Locking...' and 'Unlocking...' issue, Thanks [@dacarson](https://github.com/dacarson) [#66](https://github.com/homebridge-plugins/homebridge-august/pull/66)
133
+ - Default Refresh Rate has been updated to limit the rate at which we refresh from August APIs.
134
+ - This should fix any Status 429 Errors. [#55](https://github.com/homebridge-plugins/homebridge-august/issues/55)
135
+
136
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.1.1...v1.2.0
137
+
138
+ ## [1.1.1](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.1.1) (2023-04-07)
139
+
140
+ ### What's Changes
141
+ - Housekeeping and updated dependencies.
142
+ - This release will end support for Node v14.
143
+
144
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.1.0...v1.1.1
145
+
146
+ ## [1.1.0](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.1.0) (2022-12-07)
147
+
148
+ ### What's Changes
149
+ - Added option to `hide_lock` and only display Door Sense (Contact Sensor). [#26](https://github.com/homebridge-plugins/homebridge-august/issues/26)
150
+ - Fixed issue when DoorSense is not configured/in use. [#21](https://github.com/homebridge-plugins/homebridge-august/issues/21)
151
+ - Fixed TypeError: Cannot convert undefined or null to object. Thanks [@evantobin](https://github.com/evantobin)
152
+ - Housekeeping and updated dependencies.
153
+
154
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.0.5...v1.1.0
155
+
156
+ ## [1.0.5](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.0.5) (2022-10-09)
157
+
158
+ ### What's Changes
159
+ - Fixed issue with RetryCount showing false `LockCurrentState` of `JAMMED`.
160
+
161
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.0.4...v1.0.5
162
+
163
+ ## [1.0.4](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.0.4) (2022-10-07)
164
+
165
+ ### What's Changes
166
+ - Remove Extra Logging
167
+
168
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.0.3...v1.0.4
169
+
170
+ ## [1.0.3](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.0.3) (2022-10-07)
171
+
172
+ ### What's Changes
173
+ - Quick Fix
174
+
175
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.0.2...v1.0.3
176
+
177
+ ## [1.0.2](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.0.2) (2022-10-07)
178
+
179
+ ### What's Changes
180
+ - Quick Fix
181
+
182
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.0.1...v1.0.2
183
+
184
+ ## [1.0.1](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.0.0) (2022-10-07)
185
+
186
+ ### What's Changes
187
+ - Quick Fix
188
+
189
+ **Full Changelog**: https://github.com/homebridge-plugins/homebridge-august/compare/v1.0.0...v1.0.1
190
+
191
+ ## [1.0.0](https://github.com/homebridge-plugins/homebridge-august/releases/tag/v1.0.0) (2022-10-07)
192
+
193
+ ### What's Changes
194
+ - Initial Release
195
+ - Add Support to Subscribe to Events from a Lock
196
+ - Allows for displaying Lock as external Device not linkced to Bridge
197
+ - Support for Lock Door Sense to be displayed as Contact Sensor
package/LICENSE ADDED
@@ -0,0 +1,14 @@
1
+ ISC License (ISC)
2
+ Copyright (c) 2024 donavanbecker
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted, provided that the above
6
+ copyright notice and this permission notice appear in all copies.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ <span align="center">
2
+
3
+ <a href="https://github.com/homebridge/verified/blob/master/verified-plugins.json"><img alt="homebridge-verified" src="https://raw.githubusercontent.com/homebridge-plugins/homebridge-august/latest/branding/Homebridge_x_August.svg?sanitize=true" width="350px"></a>
4
+
5
+ # Homebridge August
6
+
7
+ <a href="https://www.npmjs.com/package/homebridge-august"><img title="npm version" src="https://badgen.net/npm/v/homebridge-august?icon=npm&label" ></a>
8
+ <a href="https://www.npmjs.com/package/homebridge-august"><img title="npm downloads" src="https://badgen.net/npm/dt/homebridge-august?label=downloads" ></a>
9
+ <a href="https://discord.gg/8fpZA4S"><img title="discord-august" src="https://badgen.net/discord/online-members/8fpZA4S?icon=discord&label=discord" ></a>
10
+ <a href="https://paypal.me/donavanbecker"><img title="donate" src="https://badgen.net/badge/donate/paypal/yellow" ></a>
11
+
12
+ <p>The Homebridge <a href="https://august.com">August</a>
13
+ plugin allows you to access your <a href="https://august.com">August</a> & <a href="https://shopyalehome.com">Yale</a> Lock(s) from HomeKit with
14
+ <a href="https://homebridge.io">Homebridge</a>.
15
+ </p>
16
+
17
+ </span>
18
+
19
+ ## Installation
20
+
21
+ 1. Search for "August" on the plugin screen of [Homebridge Config UI X](https://github.com/oznu/homebridge-config-ui-x).
22
+ 2. Click **Install**.
23
+
24
+ ## Configuration
25
+
26
+ 1. Input your August E-mail/Phone Number into the August Account Info.
27
+
28
+ 2. August Validate code will be sent after restarting Homebridge.
29
+
30
+ 3. Input your Validate Code into the August Account Info.
31
+
32
+ 4. Finally Restart Homebridge.
33
+
34
+ ## Supported August Devices
35
+
36
+ - August Smart lock (AUG-SL04-C03-N04)
37
+ - August Smart Lock Pro 3rd Gee (AUG-SL03-C02-G03-C)
38
+ - August WiFi Smart Lock (Gen 4)
39
+ - Yale Assure Lock (AUG-MD01)
40
+ - Yale Assure Lock 2 (YDR410)
41
+ - Yale Assure Lock SL (YDR256)
42
+
43
+ ## Thanks
44
+
45
+ Thank you to [hufftheweevil](https://github.com/hufftheweevil) for the [august-api](https://github.com/hufftheweevil/august-api) module.
package/SECURITY.md ADDED
@@ -0,0 +1,19 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Use this section to tell people about which versions of your project are
6
+ currently being supported with security updates.
7
+
8
+ | Version | Supported |
9
+ | ------- | ------------------ |
10
+ | 1.0.0 | :white_check_mark: |
11
+ | < 0.0.0 | :x: |
12
+
13
+ ## Reporting a Vulnerability
14
+
15
+ Use this section to tell people how to report a vulnerability.
16
+
17
+ Tell them where to go, how often they can expect to get an update on a
18
+ reported vulnerability, what to expect if the vulnerability is accepted or
19
+ declined, etc.