@homebridge-plugins/homebridge-ewelink 12.19.1-beta.13 → 12.19.1-beta.15
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 +2 -1
- package/lib/device/zigbee/motor.js +8 -0
- package/lib/utils/constants.js +1 -0
- package/lib/utils/lang-en.js +1 -0
- package/lib/utils/lang-fr.js +1 -0
- package/lib/utils/lang-th.js +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,6 @@ All notable changes to `@homebridge-plugins/homebridge-ewelink` will be document
|
|
|
14
14
|
- fix(zigbee): read the curtain motor's position, so home stops showing it opening (#810)
|
|
15
15
|
- fix(zigbee): keep a curtain motor shown as a garage door in step with its door
|
|
16
16
|
- fix(zigbee): flip the zbu-curt-7006 position, which counts 0 as open (#810)
|
|
17
|
-
- chore(deps): dependency updates
|
|
18
17
|
- fix: stop live updates dropping readings like light level, child lock and fan oscillation
|
|
19
18
|
- fix: show power readings on the 226 and 7032 when they are shown as an outlet
|
|
20
19
|
- fix: read inched power devices in hundredths, so a powr316 or s61 no longer shows 5500w for 55w
|
|
@@ -35,6 +34,8 @@ All notable changes to `@homebridge-plugins/homebridge-ewelink` will be document
|
|
|
35
34
|
- fix(lan): send the channels a scene changes on one switch as one request (@mzsoliman)
|
|
36
35
|
- chore: leave CLAUDE.md out of the published package
|
|
37
36
|
- feat(zigbee): add the tp-wgzba wall thermostat, with heat and auto modes
|
|
37
|
+
- feat(zigbee): warn when a curtain motor's end positions were never set (#810)
|
|
38
|
+
- chore(deps): dependency updates
|
|
38
39
|
|
|
39
40
|
## v12.19.0 (2026-10-18)
|
|
40
41
|
|
|
@@ -232,6 +232,14 @@ export default class {
|
|
|
232
232
|
|
|
233
233
|
async externalUpdate(params) {
|
|
234
234
|
try {
|
|
235
|
+
// A motor whose open and closed end points were never set reports
|
|
236
|
+
// motorClb 'calibration', and its position reports are wrong until they
|
|
237
|
+
// are set with its remote - two curtains read as closed every hour (#810)
|
|
238
|
+
if (params.motorClb === 'calibration' && !this.warnedNoLimits) {
|
|
239
|
+
this.warnedNoLimits = true
|
|
240
|
+
this.log.warn('[%s] %s.', this.name, this.lang.motorNoLimits)
|
|
241
|
+
}
|
|
242
|
+
|
|
235
243
|
if (hasProperty(params, 'battery') && params.battery !== this.cacheBatt) {
|
|
236
244
|
this.cacheBatt = params.battery
|
|
237
245
|
this.cacheBattScaled = Math.max(Math.min(this.cacheBatt, 100), 0)
|
package/lib/utils/constants.js
CHANGED
package/lib/utils/lang-en.js
CHANGED
|
@@ -73,6 +73,7 @@ export default {
|
|
|
73
73
|
doorClosed: 'closed',
|
|
74
74
|
doorOpen: 'open',
|
|
75
75
|
dualr3NoCalib: 'must be calibrated to work in motor mode',
|
|
76
|
+
motorNoLimits: 'has no end positions saved, so its position will be wrong - set them with the motor\'s remote',
|
|
76
77
|
dualr3NoMeter: 'is not supported in meter mode',
|
|
77
78
|
errGetDevices: 'An error occurred during http getDevices()',
|
|
78
79
|
errGetHomes: 'An error occurred during http getHomes()',
|
package/lib/utils/lang-fr.js
CHANGED
|
@@ -68,6 +68,7 @@ export default {
|
|
|
68
68
|
doorClosed: 'fermée',
|
|
69
69
|
doorOpen: 'ouverte',
|
|
70
70
|
dualr3NoCalib: 'Doit être calibré pour fonctionner en mode moteur',
|
|
71
|
+
motorNoLimits: 'n\'a pas de positions de fin enregistrées, sa position sera donc fausse - réglez-les avec la télécommande du moteur',
|
|
71
72
|
dualr3NoMeter: 'n\'est pas supporté en mode mètre',
|
|
72
73
|
errGetDevices: 'Une erreur est survenue durant https getDevices()',
|
|
73
74
|
errGetHost: 'Une erreur est survenue durant ws getHost()',
|
package/lib/utils/lang-th.js
CHANGED
|
@@ -67,6 +67,7 @@ export default {
|
|
|
67
67
|
doorClosed: 'ปิดแล้ว',
|
|
68
68
|
doorOpen: 'เปิด',
|
|
69
69
|
dualr3NoCalib: 'ต้องสอบเทียบให้ทำงานในโหมดมอเตอร์',
|
|
70
|
+
motorNoLimits: 'ยังไม่ได้บันทึกตำแหน่งสุดทาง ตำแหน่งที่แสดงจึงไม่ถูกต้อง - ตั้งค่าด้วยรีโมทของมอเตอร์',
|
|
70
71
|
dualr3NoMeter: 'ไม่รองรับโหมดมิเตอร์',
|
|
71
72
|
errGetDevices: 'เกิดข้อผิดพลาดระหว่าง http getDevices()',
|
|
72
73
|
errGetHomes: 'เกิดข้อผิดพลาดระหว่าง http getHomes()',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "Homebridge eWeLink",
|
|
4
4
|
"alias": "eWeLink",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "12.19.1-beta.
|
|
6
|
+
"version": "12.19.1-beta.15",
|
|
7
7
|
"description": "Homebridge plugin to integrate eWeLink devices into HomeKit.",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "bwp91",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"changelog:sync": "node .github/scripts/sync-changelog.mjs"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@homebridge/plugin-ui-utils": "^2.
|
|
70
|
-
"axios": "^1.21.
|
|
69
|
+
"@homebridge/plugin-ui-utils": "^2.3.0",
|
|
70
|
+
"axios": "^1.21.1",
|
|
71
71
|
"node-persist": "^4.0.4",
|
|
72
72
|
"p-queue": "^10.0.0",
|
|
73
73
|
"websocket-as-promised": "^3.0.1",
|
|
74
|
-
"ws": "^8.22.
|
|
74
|
+
"ws": "^8.22.2"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@antfu/eslint-config": "^10.0.0",
|