@homebridge-plugins/homebridge-smarthq 0.4.0-beta.6 → 0.4.0-beta.7
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/dist/devices/OpalIceMaker/Managers/OpalMonitorManager.d.ts +5 -0
- package/dist/devices/OpalIceMaker/Managers/OpalMonitorManager.d.ts.map +1 -1
- package/dist/devices/OpalIceMaker/Managers/OpalMonitorManager.js +69 -17
- package/dist/devices/OpalIceMaker/Managers/OpalMonitorManager.js.map +1 -1
- package/dist/devices/OpalIceMaker/index.js +1 -0
- package/dist/devices/OpalIceMaker/index.js.map +1 -1
- package/docs/classes/SmartHQPlatform.html +8 -8
- package/docs/functions/default.html +1 -1
- package/docs/interfaces/DeviceOptions.html +2 -2
- package/docs/interfaces/SmartHQPlatformConfig.html +2 -2
- package/docs/interfaces/SmartHqContext.html +2 -2
- package/docs/interfaces/credentials.html +2 -2
- package/docs/interfaces/devicesConfig.html +2 -2
- package/docs/interfaces/options.html +2 -2
- package/docs/variables/API_URL.html +1 -1
- package/docs/variables/ERD_CODES.html +1 -1
- package/docs/variables/ERD_TYPES.html +1 -1
- package/docs/variables/KEEPALIVE_TIMEOUT.html +1 -1
- package/docs/variables/LOGIN_URL.html +1 -1
- package/docs/variables/OAUTH2_CLIENT_ID.html +1 -1
- package/docs/variables/OAUTH2_CLIENT_SECRET.html +1 -1
- package/docs/variables/OAUTH2_REDIRECT_URI.html +1 -1
- package/docs/variables/PLATFORM_NAME.html +1 -1
- package/docs/variables/PLUGIN_NAME.html +1 -1
- package/docs/variables/SECURE_URL.html +1 -1
- package/package.json +1 -1
|
@@ -8,11 +8,16 @@ export declare class OpalMonitorManager extends OpalDeviceBase {
|
|
|
8
8
|
readonly device: SmartHqContext['device'] & devicesConfig;
|
|
9
9
|
private servicesSubscription;
|
|
10
10
|
private schedulerSubscription;
|
|
11
|
+
private statusSubscription;
|
|
11
12
|
opalIceMaker: SmartHQIceMaker;
|
|
12
13
|
constructor(opalIceMaker: SmartHQIceMaker, platform: SmartHQPlatform, accessory: PlatformAccessory<SmartHqContext>, device: SmartHqContext['device'] & devicesConfig);
|
|
14
|
+
private getTimeUntilNextMinute;
|
|
15
|
+
private createMinuteAlignedTimer;
|
|
13
16
|
startServicesMonitoring(): void;
|
|
17
|
+
startStatusMonitoring(): void;
|
|
14
18
|
startSchedulerMonitoring(): void;
|
|
15
19
|
stopSchedulerMonitoring(): void;
|
|
20
|
+
stopStatusMonitoring(): void;
|
|
16
21
|
stopServicesMonitoring(): void;
|
|
17
22
|
}
|
|
18
23
|
//# sourceMappingURL=OpalMonitorManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpalMonitorManager.d.ts","sourceRoot":"","sources":["../../../../src/devices/OpalIceMaker/Managers/OpalMonitorManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"OpalMonitorManager.d.ts","sourceRoot":"","sources":["../../../../src/devices/OpalIceMaker/Managers/OpalMonitorManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAKnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,qBAAa,kBAAmB,SAAQ,cAAc;IAQlD,QAAQ,CAAC,QAAQ,EAAE,eAAe;IAC3B,SAAS,EAAE,iBAAiB,CAAC,cAAc,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG,aAAa;IAT3D,OAAO,CAAC,oBAAoB,CAA4B;IACxD,OAAO,CAAC,qBAAqB,CAA4B;IACzD,OAAO,CAAC,kBAAkB,CAA4B;IAC/C,YAAY,EAAE,eAAe,CAAA;gBAGlC,YAAY,EAAE,eAAe,EACpB,QAAQ,EAAE,eAAe,EAC3B,SAAS,EAAE,iBAAiB,CAAC,cAAc,CAAC,EAC1C,MAAM,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG,aAAa;IAM3D,OAAO,CAAC,sBAAsB;IAO9B,OAAO,CAAC,wBAAwB;IAWhC,uBAAuB,IAAI,IAAI;IA8B/B,qBAAqB,IAAI,IAAI;IAmB7B,wBAAwB,IAAI,IAAI;IAoBhC,uBAAuB,IAAI,IAAI;IAQ/B,oBAAoB,IAAI,IAAI;IAS5B,sBAAsB,IAAI,IAAI;CAO/B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { timer, concat, of } from 'rxjs';
|
|
2
|
+
import { switchMap, skipWhile } from 'rxjs';
|
|
2
3
|
import { OpalDeviceBase } from '../OpalDeviceBase.js';
|
|
3
4
|
export class OpalMonitorManager extends OpalDeviceBase {
|
|
4
5
|
platform;
|
|
@@ -6,6 +7,7 @@ export class OpalMonitorManager extends OpalDeviceBase {
|
|
|
6
7
|
device;
|
|
7
8
|
servicesSubscription = null;
|
|
8
9
|
schedulerSubscription = null;
|
|
10
|
+
statusSubscription = null;
|
|
9
11
|
opalIceMaker;
|
|
10
12
|
constructor(opalIceMaker, platform, accessory, device) {
|
|
11
13
|
super(platform, accessory, device);
|
|
@@ -14,31 +16,74 @@ export class OpalMonitorManager extends OpalDeviceBase {
|
|
|
14
16
|
this.device = device;
|
|
15
17
|
this.opalIceMaker = opalIceMaker;
|
|
16
18
|
}
|
|
19
|
+
getTimeUntilNextMinute() {
|
|
20
|
+
const now = new Date();
|
|
21
|
+
const remaining = (60 - now.getSeconds()) * 1000 - now.getMilliseconds();
|
|
22
|
+
return remaining > 0 ? remaining : 0;
|
|
23
|
+
}
|
|
24
|
+
// Create a timer that aligns with the minute boundary and executes immediately at alignment
|
|
25
|
+
createMinuteAlignedTimer(intervalMs) {
|
|
26
|
+
return timer(this.getTimeUntilNextMinute()).pipe(
|
|
27
|
+
// Start with an immediate emission, then continue with regular interval
|
|
28
|
+
switchMap(() => concat(of(0), // Emit 0 immediately when the timer reaches alignment
|
|
29
|
+
timer(intervalMs, intervalMs))));
|
|
30
|
+
}
|
|
17
31
|
// Start the monitoring
|
|
18
32
|
startServicesMonitoring() {
|
|
19
33
|
// Stop any existing subscription first
|
|
20
34
|
this.stopServicesMonitoring();
|
|
21
|
-
this.
|
|
22
|
-
this.servicesSubscription =
|
|
23
|
-
.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
const refreshRate = (this.platform.config.options?.refreshRate || 30) * 1000;
|
|
36
|
+
this.servicesSubscription =
|
|
37
|
+
this.createMinuteAlignedTimer(refreshRate)
|
|
38
|
+
.pipe(skipWhile(() => !this.opalIceMaker.progressManager && !this.platform.config.options?.homekitControllerNotificationsSecret))
|
|
39
|
+
.subscribe(async () => {
|
|
40
|
+
try {
|
|
41
|
+
this.platform.debugLog('Running opal services monitoring tasks');
|
|
42
|
+
// These Notifications only alert in Homekit Controller
|
|
43
|
+
await this.opalIceMaker.filterMaintenanceManager.getFilterMaintenanceStatus();
|
|
44
|
+
await this.opalIceMaker.descaleManager.getDescaleStatus();
|
|
45
|
+
if (this.opalIceMaker.progressManager?.hasService()) {
|
|
46
|
+
const currentProductionValue = await this.opalIceMaker.progressManager.processProductionProgress();
|
|
47
|
+
this.opalIceMaker.powerManager.turnOffOnProductionLimitSurpassed(currentProductionValue);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
catch (error) {
|
|
51
|
+
this.platform.errorLog(`Error in service monitoring: ${error}`);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
this.platform.debugLog(`Opal services monitor starting in ${this.getTimeUntilNextMinute() / 1000} seconds, Interval: ${refreshRate / 1000} seconds`);
|
|
55
|
+
}
|
|
56
|
+
startStatusMonitoring() {
|
|
57
|
+
this.stopStatusMonitoring();
|
|
58
|
+
const refreshRate = (this.platform.config.options?.refreshRate || 30) * 1000;
|
|
59
|
+
this.statusSubscription =
|
|
60
|
+
this.createMinuteAlignedTimer(refreshRate)
|
|
61
|
+
.subscribe(async () => {
|
|
62
|
+
try {
|
|
63
|
+
this.platform.debugLog('Running opal status monitoring tasks');
|
|
64
|
+
await this.opalIceMaker.statusManager.getOpalCurrentStatus();
|
|
65
|
+
}
|
|
66
|
+
catch (error) {
|
|
67
|
+
this.platform.errorLog(`Error in status monitoring: ${error}`);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
this.platform.debugLog(`Opal status monitor starting in ${this.getTimeUntilNextMinute() / 1000} seconds, Interval: ${refreshRate / 1000} seconds`);
|
|
34
71
|
}
|
|
35
72
|
startSchedulerMonitoring() {
|
|
36
|
-
this.
|
|
73
|
+
this.stopSchedulerMonitoring();
|
|
74
|
+
const schedulingInterval = this.opalIceMaker.schedulingManager.schedulerInterval;
|
|
75
|
+
this.schedulerSubscription = this.createMinuteAlignedTimer(schedulingInterval)
|
|
37
76
|
.pipe(skipWhile(() => !this.platform.config.deviceOptions?.opal?.oplIceProductionSchedule))
|
|
38
77
|
.subscribe(() => {
|
|
39
|
-
|
|
78
|
+
try {
|
|
79
|
+
this.platform.debugLog('Running opal scheduler monitoring tasks');
|
|
80
|
+
this.opalIceMaker.schedulingManager.initializeIfIceMakerOnSchedule();
|
|
81
|
+
}
|
|
82
|
+
catch (error) {
|
|
83
|
+
this.platform.errorLog(`Error in scheduler monitoring: ${error}`);
|
|
84
|
+
}
|
|
40
85
|
});
|
|
41
|
-
this.platform.debugLog(`
|
|
86
|
+
this.platform.debugLog(`Opal scheduling monitor starting in ${this.getTimeUntilNextMinute() / 1000} seconds, Interval: ${schedulingInterval / 1000} seconds`);
|
|
42
87
|
}
|
|
43
88
|
stopSchedulerMonitoring() {
|
|
44
89
|
if (this.schedulerSubscription) {
|
|
@@ -47,6 +92,13 @@ export class OpalMonitorManager extends OpalDeviceBase {
|
|
|
47
92
|
this.platform.debugLog('Stopped Schedule Monitoring');
|
|
48
93
|
}
|
|
49
94
|
}
|
|
95
|
+
stopStatusMonitoring() {
|
|
96
|
+
if (this.statusSubscription) {
|
|
97
|
+
this.statusSubscription.unsubscribe();
|
|
98
|
+
this.statusSubscription = null;
|
|
99
|
+
this.platform.debugLog('Stopped Status Monitoring');
|
|
100
|
+
}
|
|
101
|
+
}
|
|
50
102
|
// Stop the monitoring
|
|
51
103
|
stopServicesMonitoring() {
|
|
52
104
|
if (this.servicesSubscription) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpalMonitorManager.js","sourceRoot":"","sources":["../../../../src/devices/OpalIceMaker/Managers/OpalMonitorManager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpalMonitorManager.js","sourceRoot":"","sources":["../../../../src/devices/OpalIceMaker/Managers/OpalMonitorManager.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAc,MAAM,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,MAAM,OAAO,kBAAmB,SAAQ,cAAc;IAQzC;IACF;IACE;IATH,oBAAoB,GAAwB,IAAI,CAAA;IAChD,qBAAqB,GAAwB,IAAI,CAAA;IACjD,kBAAkB,GAAwB,IAAI,CAAA;IAC/C,YAAY,CAAiB;IAEpC,YACE,YAA6B,EACpB,QAAyB,EAC3B,SAA4C,EAC1C,MAAgD;QAEzD,KAAK,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,CAAA;QAJzB,aAAQ,GAAR,QAAQ,CAAiB;QAC3B,cAAS,GAAT,SAAS,CAAmC;QAC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,QAAQ,CAAC,6BAA6B,CAAC,CAAA;QACvD,CAAC;IACH,CAAC;IAED,oBAAoB;QAClB,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC5B,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,CAAA;YACrC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAA;YAC9B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAA;QACrD,CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,sBAAsB;QACpB,IAAI,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAC9B,IAAI,CAAC,oBAAoB,CAAC,WAAW,EAAE,CAAA;YACvC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAA;YAChC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAA;QACxD,CAAC;IACH,CAAC;CACF"}
|
|
@@ -31,6 +31,7 @@ export class SmartHQIceMaker extends deviceBase {
|
|
|
31
31
|
this.metadataManager = new OpalMetadataSvcManager(this, platform, accessory, device);
|
|
32
32
|
this.monitorManager.startServicesMonitoring();
|
|
33
33
|
this.monitorManager.startSchedulerMonitoring();
|
|
34
|
+
this.monitorManager.startStatusMonitoring();
|
|
34
35
|
}
|
|
35
36
|
shutdown() {
|
|
36
37
|
// Clean up subscriptions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/devices/OpalIceMaker/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEpD,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,+BAA+B,EAC/B,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAA;AAG7E,MAAM,OAAO,eAAgB,SAA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