@zwave-js/cc 13.10.1 → 14.0.0-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/build/cc/AlarmSensorCC.d.ts +31 -20
- package/build/cc/AlarmSensorCC.d.ts.map +1 -1
- package/build/cc/AlarmSensorCC.js +106 -87
- package/build/cc/AlarmSensorCC.js.map +1 -1
- package/build/cc/AssociationCC.d.ts +38 -32
- package/build/cc/AssociationCC.d.ts.map +1 -1
- package/build/cc/AssociationCC.js +193 -176
- package/build/cc/AssociationCC.js.map +1 -1
- package/build/cc/AssociationGroupInfoCC.d.ts +42 -36
- package/build/cc/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/cc/AssociationGroupInfoCC.js +218 -200
- package/build/cc/AssociationGroupInfoCC.js.map +1 -1
- package/build/cc/BarrierOperatorCC.d.ts +41 -24
- package/build/cc/BarrierOperatorCC.d.ts.map +1 -1
- package/build/cc/BarrierOperatorCC.js +143 -109
- package/build/cc/BarrierOperatorCC.js.map +1 -1
- package/build/cc/BasicCC.d.ts +22 -23
- package/build/cc/BasicCC.d.ts.map +1 -1
- package/build/cc/BasicCC.js +83 -77
- package/build/cc/BasicCC.js.map +1 -1
- package/build/cc/BatteryCC.d.ts +22 -14
- package/build/cc/BatteryCC.d.ts.map +1 -1
- package/build/cc/BatteryCC.js +116 -87
- package/build/cc/BatteryCC.js.map +1 -1
- package/build/cc/BinarySensorCC.d.ts +22 -19
- package/build/cc/BinarySensorCC.d.ts.map +1 -1
- package/build/cc/BinarySensorCC.js +103 -93
- package/build/cc/BinarySensorCC.js.map +1 -1
- package/build/cc/BinarySwitchCC.d.ts +20 -20
- package/build/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/cc/BinarySwitchCC.js +71 -59
- package/build/cc/BinarySwitchCC.js.map +1 -1
- package/build/cc/CRC16CC.d.ts +9 -9
- package/build/cc/CRC16CC.d.ts.map +1 -1
- package/build/cc/CRC16CC.js +36 -36
- package/build/cc/CRC16CC.js.map +1 -1
- package/build/cc/CentralSceneCC.d.ts +34 -16
- package/build/cc/CentralSceneCC.d.ts.map +1 -1
- package/build/cc/CentralSceneCC.js +116 -79
- package/build/cc/CentralSceneCC.js.map +1 -1
- package/build/cc/ClimateControlScheduleCC.d.ts +38 -21
- package/build/cc/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/cc/ClimateControlScheduleCC.js +113 -81
- package/build/cc/ClimateControlScheduleCC.js.map +1 -1
- package/build/cc/ClockCC.d.ts +18 -11
- package/build/cc/ClockCC.d.ts.map +1 -1
- package/build/cc/ClockCC.js +57 -43
- package/build/cc/ClockCC.js.map +1 -1
- package/build/cc/ColorSwitchCC.d.ts +37 -33
- package/build/cc/ColorSwitchCC.d.ts.map +1 -1
- package/build/cc/ColorSwitchCC.js +216 -189
- package/build/cc/ColorSwitchCC.js.map +1 -1
- package/build/cc/ConfigurationCC.d.ts +89 -74
- package/build/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/cc/ConfigurationCC.js +541 -485
- package/build/cc/ConfigurationCC.js.map +1 -1
- package/build/cc/DeviceResetLocallyCC.d.ts +3 -3
- package/build/cc/DeviceResetLocallyCC.d.ts.map +1 -1
- package/build/cc/DeviceResetLocallyCC.js +14 -14
- package/build/cc/DeviceResetLocallyCC.js.map +1 -1
- package/build/cc/DoorLockCC.d.ts +66 -27
- package/build/cc/DoorLockCC.d.ts.map +1 -1
- package/build/cc/DoorLockCC.js +288 -197
- package/build/cc/DoorLockCC.js.map +1 -1
- package/build/cc/DoorLockLoggingCC.d.ts +23 -13
- package/build/cc/DoorLockLoggingCC.d.ts.map +1 -1
- package/build/cc/DoorLockLoggingCC.js +81 -63
- package/build/cc/DoorLockLoggingCC.js.map +1 -1
- package/build/cc/EnergyProductionCC.d.ts +16 -14
- package/build/cc/EnergyProductionCC.d.ts.map +1 -1
- package/build/cc/EnergyProductionCC.js +58 -52
- package/build/cc/EnergyProductionCC.js.map +1 -1
- package/build/cc/EntryControlCC.d.ts +44 -18
- package/build/cc/EntryControlCC.d.ts.map +1 -1
- package/build/cc/EntryControlCC.js +163 -112
- package/build/cc/EntryControlCC.js.map +1 -1
- package/build/cc/FirmwareUpdateMetaDataCC.d.ts +69 -34
- package/build/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/cc/FirmwareUpdateMetaDataCC.js +311 -245
- package/build/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/cc/HumidityControlModeCC.d.ts +24 -16
- package/build/cc/HumidityControlModeCC.d.ts.map +1 -1
- package/build/cc/HumidityControlModeCC.js +80 -65
- package/build/cc/HumidityControlModeCC.js.map +1 -1
- package/build/cc/HumidityControlOperatingStateCC.d.ts +11 -7
- package/build/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
- package/build/cc/HumidityControlOperatingStateCC.js +31 -22
- package/build/cc/HumidityControlOperatingStateCC.js.map +1 -1
- package/build/cc/HumidityControlSetpointCC.d.ts +68 -49
- package/build/cc/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/cc/HumidityControlSetpointCC.js +203 -181
- package/build/cc/HumidityControlSetpointCC.js.map +1 -1
- package/build/cc/InclusionControllerCC.d.ts +13 -11
- package/build/cc/InclusionControllerCC.d.ts.map +1 -1
- package/build/cc/InclusionControllerCC.js +49 -42
- package/build/cc/InclusionControllerCC.js.map +1 -1
- package/build/cc/IndicatorCC.d.ts +46 -39
- package/build/cc/IndicatorCC.d.ts.map +1 -1
- package/build/cc/IndicatorCC.js +298 -277
- package/build/cc/IndicatorCC.js.map +1 -1
- package/build/cc/IrrigationCC.d.ts +127 -57
- package/build/cc/IrrigationCC.d.ts.map +1 -1
- package/build/cc/IrrigationCC.js +496 -352
- package/build/cc/IrrigationCC.js.map +1 -1
- package/build/cc/LanguageCC.d.ts +17 -11
- package/build/cc/LanguageCC.d.ts.map +1 -1
- package/build/cc/LanguageCC.js +54 -44
- package/build/cc/LanguageCC.js.map +1 -1
- package/build/cc/LockCC.d.ts +16 -11
- package/build/cc/LockCC.d.ts.map +1 -1
- package/build/cc/LockCC.js +48 -38
- package/build/cc/LockCC.js.map +1 -1
- package/build/cc/ManufacturerProprietaryCC.d.ts +12 -11
- package/build/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
- package/build/cc/ManufacturerProprietaryCC.js +45 -50
- package/build/cc/ManufacturerProprietaryCC.js.map +1 -1
- package/build/cc/ManufacturerSpecificCC.d.ts +20 -13
- package/build/cc/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/cc/ManufacturerSpecificCC.js +79 -63
- package/build/cc/ManufacturerSpecificCC.js.map +1 -1
- package/build/cc/MeterCC.d.ts +30 -26
- package/build/cc/MeterCC.d.ts.map +1 -1
- package/build/cc/MeterCC.js +236 -204
- package/build/cc/MeterCC.js.map +1 -1
- package/build/cc/MultiChannelAssociationCC.d.ts +31 -26
- package/build/cc/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/cc/MultiChannelAssociationCC.js +177 -168
- package/build/cc/MultiChannelAssociationCC.js.map +1 -1
- package/build/cc/MultiChannelCC.d.ts +70 -49
- package/build/cc/MultiChannelCC.d.ts.map +1 -1
- package/build/cc/MultiChannelCC.js +377 -318
- package/build/cc/MultiChannelCC.js.map +1 -1
- package/build/cc/MultiCommandCC.d.ts +9 -9
- package/build/cc/MultiCommandCC.d.ts.map +1 -1
- package/build/cc/MultiCommandCC.js +35 -36
- package/build/cc/MultiCommandCC.js.map +1 -1
- package/build/cc/MultilevelSensorCC.d.ts +38 -33
- package/build/cc/MultilevelSensorCC.d.ts.map +1 -1
- package/build/cc/MultilevelSensorCC.js +172 -152
- package/build/cc/MultilevelSensorCC.js.map +1 -1
- package/build/cc/MultilevelSwitchCC.d.ts +29 -25
- package/build/cc/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/cc/MultilevelSwitchCC.js +147 -127
- package/build/cc/MultilevelSwitchCC.js.map +1 -1
- package/build/cc/NoOperationCC.d.ts +0 -8
- package/build/cc/NoOperationCC.d.ts.map +1 -1
- package/build/cc/NoOperationCC.js +2 -11
- package/build/cc/NoOperationCC.js.map +1 -1
- package/build/cc/NodeNamingCC.d.ts +27 -17
- package/build/cc/NodeNamingCC.d.ts.map +1 -1
- package/build/cc/NodeNamingCC.js +86 -69
- package/build/cc/NodeNamingCC.js.map +1 -1
- package/build/cc/NotificationCC.d.ts +46 -43
- package/build/cc/NotificationCC.d.ts.map +1 -1
- package/build/cc/NotificationCC.js +317 -303
- package/build/cc/NotificationCC.js.map +1 -1
- package/build/cc/PowerlevelCC.d.ts +22 -18
- package/build/cc/PowerlevelCC.d.ts.map +1 -1
- package/build/cc/PowerlevelCC.js +125 -95
- package/build/cc/PowerlevelCC.js.map +1 -1
- package/build/cc/ProtectionCC.d.ts +49 -26
- package/build/cc/ProtectionCC.d.ts.map +1 -1
- package/build/cc/ProtectionCC.js +172 -126
- package/build/cc/ProtectionCC.js.map +1 -1
- package/build/cc/SceneActivationCC.d.ts +8 -7
- package/build/cc/SceneActivationCC.d.ts.map +1 -1
- package/build/cc/SceneActivationCC.js +28 -23
- package/build/cc/SceneActivationCC.js.map +1 -1
- package/build/cc/SceneActuatorConfigurationCC.d.ts +23 -15
- package/build/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/cc/SceneActuatorConfigurationCC.js +79 -62
- package/build/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/cc/SceneControllerConfigurationCC.d.ts +25 -17
- package/build/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/cc/SceneControllerConfigurationCC.js +92 -78
- package/build/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/cc/ScheduleEntryLockCC.d.ts +86 -72
- package/build/cc/ScheduleEntryLockCC.d.ts.map +1 -1
- package/build/cc/ScheduleEntryLockCC.js +607 -455
- package/build/cc/ScheduleEntryLockCC.js.map +1 -1
- package/build/cc/Security2CC.d.ts +78 -87
- package/build/cc/Security2CC.d.ts.map +1 -1
- package/build/cc/Security2CC.js +798 -765
- package/build/cc/Security2CC.js.map +1 -1
- package/build/cc/SecurityCC.d.ts +47 -42
- package/build/cc/SecurityCC.d.ts.map +1 -1
- package/build/cc/SecurityCC.js +240 -218
- package/build/cc/SecurityCC.js.map +1 -1
- package/build/cc/SoundSwitchCC.d.ts +36 -29
- package/build/cc/SoundSwitchCC.d.ts.map +1 -1
- package/build/cc/SoundSwitchCC.js +180 -157
- package/build/cc/SoundSwitchCC.js.map +1 -1
- package/build/cc/SupervisionCC.d.ts +17 -14
- package/build/cc/SupervisionCC.d.ts.map +1 -1
- package/build/cc/SupervisionCC.js +86 -66
- package/build/cc/SupervisionCC.js.map +1 -1
- package/build/cc/ThermostatFanModeCC.d.ts +25 -15
- package/build/cc/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/cc/ThermostatFanModeCC.js +79 -60
- package/build/cc/ThermostatFanModeCC.js.map +1 -1
- package/build/cc/ThermostatFanStateCC.d.ts +11 -7
- package/build/cc/ThermostatFanStateCC.d.ts.map +1 -1
- package/build/cc/ThermostatFanStateCC.js +31 -22
- package/build/cc/ThermostatFanStateCC.js.map +1 -1
- package/build/cc/ThermostatModeCC.d.ts +24 -21
- package/build/cc/ThermostatModeCC.d.ts.map +1 -1
- package/build/cc/ThermostatModeCC.js +106 -90
- package/build/cc/ThermostatModeCC.js.map +1 -1
- package/build/cc/ThermostatOperatingStateCC.d.ts +11 -7
- package/build/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
- package/build/cc/ThermostatOperatingStateCC.js +31 -22
- package/build/cc/ThermostatOperatingStateCC.js.map +1 -1
- package/build/cc/ThermostatSetbackCC.d.ts +14 -13
- package/build/cc/ThermostatSetbackCC.d.ts.map +1 -1
- package/build/cc/ThermostatSetbackCC.js +64 -57
- package/build/cc/ThermostatSetbackCC.js.map +1 -1
- package/build/cc/ThermostatSetpointCC.d.ts +38 -57
- package/build/cc/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/cc/ThermostatSetpointCC.js +200 -264
- package/build/cc/ThermostatSetpointCC.js.map +1 -1
- package/build/cc/TimeCC.d.ts +24 -20
- package/build/cc/TimeCC.d.ts.map +1 -1
- package/build/cc/TimeCC.js +119 -108
- package/build/cc/TimeCC.js.map +1 -1
- package/build/cc/TimeParametersCC.d.ts +18 -14
- package/build/cc/TimeParametersCC.d.ts.map +1 -1
- package/build/cc/TimeParametersCC.js +77 -69
- package/build/cc/TimeParametersCC.js.map +1 -1
- package/build/cc/TransportServiceCC.d.ts +29 -32
- package/build/cc/TransportServiceCC.d.ts.map +1 -1
- package/build/cc/TransportServiceCC.js +159 -161
- package/build/cc/TransportServiceCC.js.map +1 -1
- package/build/cc/UserCodeCC.d.ts +83 -66
- package/build/cc/UserCodeCC.d.ts.map +1 -1
- package/build/cc/UserCodeCC.js +449 -402
- package/build/cc/UserCodeCC.js.map +1 -1
- package/build/cc/VersionCC.d.ts +36 -20
- package/build/cc/VersionCC.d.ts.map +1 -1
- package/build/cc/VersionCC.js +190 -149
- package/build/cc/VersionCC.js.map +1 -1
- package/build/cc/WakeUpCC.d.ts +27 -13
- package/build/cc/WakeUpCC.d.ts.map +1 -1
- package/build/cc/WakeUpCC.js +105 -77
- package/build/cc/WakeUpCC.js.map +1 -1
- package/build/cc/WindowCoveringCC.d.ts +39 -27
- package/build/cc/WindowCoveringCC.d.ts.map +1 -1
- package/build/cc/WindowCoveringCC.js +169 -137
- package/build/cc/WindowCoveringCC.js.map +1 -1
- package/build/cc/ZWavePlusCC.d.ts +8 -7
- package/build/cc/ZWavePlusCC.d.ts.map +1 -1
- package/build/cc/ZWavePlusCC.js +44 -37
- package/build/cc/ZWavePlusCC.js.map +1 -1
- package/build/cc/ZWaveProtocolCC.d.ts +111 -84
- package/build/cc/ZWaveProtocolCC.d.ts.map +1 -1
- package/build/cc/ZWaveProtocolCC.js +583 -508
- package/build/cc/ZWaveProtocolCC.js.map +1 -1
- package/build/cc/index.d.ts +37 -34
- package/build/cc/index.d.ts.map +1 -1
- package/build/cc/index.js +6 -7
- package/build/cc/index.js.map +1 -1
- package/build/cc/manufacturerProprietary/FibaroCC.d.ts +29 -24
- package/build/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -1
- package/build/cc/manufacturerProprietary/FibaroCC.js +109 -112
- package/build/cc/manufacturerProprietary/FibaroCC.js.map +1 -1
- package/build/index.d.ts +0 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +0 -1
- package/build/index.js.map +1 -1
- package/build/lib/API.d.ts +21 -18
- package/build/lib/API.d.ts.map +1 -1
- package/build/lib/API.js +25 -49
- package/build/lib/API.js.map +1 -1
- package/build/lib/CommandClass.d.ts +51 -89
- package/build/lib/CommandClass.d.ts.map +1 -1
- package/build/lib/CommandClass.js +177 -249
- package/build/lib/CommandClass.js.map +1 -1
- package/build/lib/EncapsulatingCommandClass.d.ts +1 -15
- package/build/lib/EncapsulatingCommandClass.d.ts.map +1 -1
- package/build/lib/EncapsulatingCommandClass.js.map +1 -1
- package/build/lib/ICommandClassContainer.d.ts +1 -8
- package/build/lib/ICommandClassContainer.d.ts.map +1 -1
- package/build/lib/ICommandClassContainer.js +0 -8
- package/build/lib/ICommandClassContainer.js.map +1 -1
- package/build/lib/Values.d.ts +3 -3
- package/build/lib/Values.d.ts.map +1 -1
- package/build/lib/_Types.d.ts.map +1 -1
- package/build/lib/_Types.js +1 -0
- package/build/lib/_Types.js.map +1 -1
- package/build/lib/utils.d.ts +14 -13
- package/build/lib/utils.d.ts.map +1 -1
- package/build/lib/utils.js +94 -92
- package/build/lib/utils.js.map +1 -1
- package/package.json +4 -5
|
@@ -5,6 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var ManufacturerSpecificCCReport_1, ManufacturerSpecificCCDeviceSpecificReport_1;
|
|
8
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
10
|
exports.ManufacturerSpecificCCDeviceSpecificGet = exports.ManufacturerSpecificCCDeviceSpecificReport = exports.ManufacturerSpecificCCGet = exports.ManufacturerSpecificCCReport = exports.ManufacturerSpecificCC = exports.ManufacturerSpecificCCAPI = exports.ManufacturerSpecificCCValues = void 0;
|
|
10
11
|
function __assertType(argName, typeName, boundHasError) {
|
|
@@ -98,11 +99,11 @@ let ManufacturerSpecificCCAPI = class ManufacturerSpecificCCAPI extends API_1.Ph
|
|
|
98
99
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
99
100
|
async get() {
|
|
100
101
|
this.assertSupportsCommand(_Types_1.ManufacturerSpecificCommand, _Types_1.ManufacturerSpecificCommand.Get);
|
|
101
|
-
const cc = new ManufacturerSpecificCCGet(
|
|
102
|
+
const cc = new ManufacturerSpecificCCGet({
|
|
102
103
|
nodeId: this.endpoint.nodeId,
|
|
103
|
-
|
|
104
|
+
endpointIndex: this.endpoint.index,
|
|
104
105
|
});
|
|
105
|
-
const response = await this.
|
|
106
|
+
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
106
107
|
if (response) {
|
|
107
108
|
return (0, safe_2.pick)(response, [
|
|
108
109
|
"manufacturerId",
|
|
@@ -114,23 +115,23 @@ let ManufacturerSpecificCCAPI = class ManufacturerSpecificCCAPI extends API_1.Ph
|
|
|
114
115
|
async deviceSpecificGet(deviceIdType) {
|
|
115
116
|
__assertType("deviceIdType", "DeviceIdType", __assertType__number.bind(void 0, deviceIdType));
|
|
116
117
|
this.assertSupportsCommand(_Types_1.ManufacturerSpecificCommand, _Types_1.ManufacturerSpecificCommand.DeviceSpecificGet);
|
|
117
|
-
const cc = new ManufacturerSpecificCCDeviceSpecificGet(
|
|
118
|
+
const cc = new ManufacturerSpecificCCDeviceSpecificGet({
|
|
118
119
|
nodeId: this.endpoint.nodeId,
|
|
119
|
-
|
|
120
|
+
endpointIndex: this.endpoint.index,
|
|
120
121
|
deviceIdType,
|
|
121
122
|
});
|
|
122
|
-
const response = await this.
|
|
123
|
+
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
123
124
|
return response?.deviceId;
|
|
124
125
|
}
|
|
125
126
|
async sendReport(options) {
|
|
126
127
|
__assertType("options", "ManufacturerSpecificCCReportOptions", __assertType__ManufacturerSpecificCCReportOptions.bind(void 0, options));
|
|
127
128
|
this.assertSupportsCommand(_Types_1.ManufacturerSpecificCommand, _Types_1.ManufacturerSpecificCommand.Report);
|
|
128
|
-
const cc = new ManufacturerSpecificCCReport(
|
|
129
|
+
const cc = new ManufacturerSpecificCCReport({
|
|
129
130
|
nodeId: this.endpoint.nodeId,
|
|
130
|
-
|
|
131
|
+
endpointIndex: this.endpoint.index,
|
|
131
132
|
...options,
|
|
132
133
|
});
|
|
133
|
-
await this.
|
|
134
|
+
await this.host.sendCommand(cc, this.commandOptions);
|
|
134
135
|
}
|
|
135
136
|
};
|
|
136
137
|
exports.ManufacturerSpecificCCAPI = ManufacturerSpecificCCAPI;
|
|
@@ -142,17 +143,17 @@ let ManufacturerSpecificCC = class ManufacturerSpecificCC extends CommandClass_1
|
|
|
142
143
|
// The Manufacturer Specific CC MUST be interviewed first
|
|
143
144
|
return [];
|
|
144
145
|
}
|
|
145
|
-
async interview(
|
|
146
|
-
const node = this.getNode(
|
|
147
|
-
const endpoint = this.getEndpoint(
|
|
148
|
-
const api = API_1.CCAPI.create(safe_1.CommandClasses["Manufacturer Specific"],
|
|
149
|
-
if (
|
|
150
|
-
|
|
146
|
+
async interview(ctx) {
|
|
147
|
+
const node = this.getNode(ctx);
|
|
148
|
+
const endpoint = this.getEndpoint(ctx);
|
|
149
|
+
const api = API_1.CCAPI.create(safe_1.CommandClasses["Manufacturer Specific"], ctx, endpoint).withOptions({ priority: safe_1.MessagePriority.NodeQuery });
|
|
150
|
+
if (node.id !== ctx.ownNodeId) {
|
|
151
|
+
ctx.logNode(node.id, {
|
|
151
152
|
endpoint: this.endpointIndex,
|
|
152
153
|
message: `Interviewing ${this.ccName}...`,
|
|
153
154
|
direction: "none",
|
|
154
155
|
});
|
|
155
|
-
|
|
156
|
+
ctx.logNode(node.id, {
|
|
156
157
|
endpoint: this.endpointIndex,
|
|
157
158
|
message: "querying manufacturer information...",
|
|
158
159
|
direction: "outbound",
|
|
@@ -160,11 +161,11 @@ let ManufacturerSpecificCC = class ManufacturerSpecificCC extends CommandClass_1
|
|
|
160
161
|
const mfResp = await api.get();
|
|
161
162
|
if (mfResp) {
|
|
162
163
|
const logMessage = `received response for manufacturer information:
|
|
163
|
-
manufacturer: ${
|
|
164
|
+
manufacturer: ${ctx.lookupManufacturer(mfResp.manufacturerId)
|
|
164
165
|
|| "unknown"} (${(0, safe_2.num2hex)(mfResp.manufacturerId)})
|
|
165
166
|
product type: ${(0, safe_2.num2hex)(mfResp.productType)}
|
|
166
167
|
product id: ${(0, safe_2.num2hex)(mfResp.productId)}`;
|
|
167
|
-
|
|
168
|
+
ctx.logNode(node.id, {
|
|
168
169
|
endpoint: this.endpointIndex,
|
|
169
170
|
message: logMessage,
|
|
170
171
|
direction: "inbound",
|
|
@@ -172,7 +173,7 @@ let ManufacturerSpecificCC = class ManufacturerSpecificCC extends CommandClass_1
|
|
|
172
173
|
}
|
|
173
174
|
}
|
|
174
175
|
// Remember that the interview is complete
|
|
175
|
-
this.setInterviewComplete(
|
|
176
|
+
this.setInterviewComplete(ctx, true);
|
|
176
177
|
}
|
|
177
178
|
};
|
|
178
179
|
exports.ManufacturerSpecificCC = ManufacturerSpecificCC;
|
|
@@ -181,34 +182,38 @@ exports.ManufacturerSpecificCC = ManufacturerSpecificCC = __decorate([
|
|
|
181
182
|
(0, CommandClassDecorators_1.implementedVersion)(2),
|
|
182
183
|
(0, CommandClassDecorators_1.ccValues)(exports.ManufacturerSpecificCCValues)
|
|
183
184
|
], ManufacturerSpecificCC);
|
|
184
|
-
let ManufacturerSpecificCCReport = class ManufacturerSpecificCCReport extends ManufacturerSpecificCC {
|
|
185
|
-
constructor(
|
|
186
|
-
super(
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
185
|
+
let ManufacturerSpecificCCReport = ManufacturerSpecificCCReport_1 = class ManufacturerSpecificCCReport extends ManufacturerSpecificCC {
|
|
186
|
+
constructor(options) {
|
|
187
|
+
super(options);
|
|
188
|
+
this.manufacturerId = options.manufacturerId;
|
|
189
|
+
this.productType = options.productType;
|
|
190
|
+
this.productId = options.productId;
|
|
191
|
+
}
|
|
192
|
+
static from(raw, ctx) {
|
|
193
|
+
(0, safe_1.validatePayload)(raw.payload.length >= 6);
|
|
194
|
+
const manufacturerId = raw.payload.readUInt16BE(0);
|
|
195
|
+
const productType = raw.payload.readUInt16BE(2);
|
|
196
|
+
const productId = raw.payload.readUInt16BE(4);
|
|
197
|
+
return new ManufacturerSpecificCCReport_1({
|
|
198
|
+
nodeId: ctx.sourceNodeId,
|
|
199
|
+
manufacturerId,
|
|
200
|
+
productType,
|
|
201
|
+
productId,
|
|
202
|
+
});
|
|
198
203
|
}
|
|
199
204
|
manufacturerId;
|
|
200
205
|
productType;
|
|
201
206
|
productId;
|
|
202
|
-
serialize() {
|
|
207
|
+
serialize(ctx) {
|
|
203
208
|
this.payload = Buffer.allocUnsafe(6);
|
|
204
209
|
this.payload.writeUInt16BE(this.manufacturerId, 0);
|
|
205
210
|
this.payload.writeUInt16BE(this.productType, 2);
|
|
206
211
|
this.payload.writeUInt16BE(this.productId, 4);
|
|
207
|
-
return super.serialize();
|
|
212
|
+
return super.serialize(ctx);
|
|
208
213
|
}
|
|
209
|
-
toLogEntry(
|
|
214
|
+
toLogEntry(ctx) {
|
|
210
215
|
return {
|
|
211
|
-
...super.toLogEntry(
|
|
216
|
+
...super.toLogEntry(ctx),
|
|
212
217
|
message: {
|
|
213
218
|
"manufacturer id": (0, safe_2.num2hex)(this.manufacturerId),
|
|
214
219
|
"product type": (0, safe_2.num2hex)(this.productType),
|
|
@@ -227,7 +232,7 @@ __decorate([
|
|
|
227
232
|
__decorate([
|
|
228
233
|
(0, CommandClassDecorators_1.ccValue)(exports.ManufacturerSpecificCCValues.productId)
|
|
229
234
|
], ManufacturerSpecificCCReport.prototype, "productId", void 0);
|
|
230
|
-
exports.ManufacturerSpecificCCReport = ManufacturerSpecificCCReport = __decorate([
|
|
235
|
+
exports.ManufacturerSpecificCCReport = ManufacturerSpecificCCReport = ManufacturerSpecificCCReport_1 = __decorate([
|
|
231
236
|
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ManufacturerSpecificCommand.Report)
|
|
232
237
|
], ManufacturerSpecificCCReport);
|
|
233
238
|
let ManufacturerSpecificCCGet = class ManufacturerSpecificCCGet extends ManufacturerSpecificCC {
|
|
@@ -237,24 +242,34 @@ exports.ManufacturerSpecificCCGet = ManufacturerSpecificCCGet = __decorate([
|
|
|
237
242
|
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ManufacturerSpecificCommand.Get),
|
|
238
243
|
(0, CommandClassDecorators_1.expectedCCResponse)(ManufacturerSpecificCCReport)
|
|
239
244
|
], ManufacturerSpecificCCGet);
|
|
240
|
-
let ManufacturerSpecificCCDeviceSpecificReport = class ManufacturerSpecificCCDeviceSpecificReport extends ManufacturerSpecificCC {
|
|
241
|
-
constructor(
|
|
242
|
-
super(
|
|
243
|
-
|
|
244
|
-
this.type =
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
245
|
+
let ManufacturerSpecificCCDeviceSpecificReport = ManufacturerSpecificCCDeviceSpecificReport_1 = class ManufacturerSpecificCCDeviceSpecificReport extends ManufacturerSpecificCC {
|
|
246
|
+
constructor(options) {
|
|
247
|
+
super(options);
|
|
248
|
+
// TODO: Check implementation:
|
|
249
|
+
this.type = options.type;
|
|
250
|
+
this.deviceId = options.deviceId;
|
|
251
|
+
}
|
|
252
|
+
static from(raw, ctx) {
|
|
253
|
+
(0, safe_1.validatePayload)(raw.payload.length >= 2);
|
|
254
|
+
const type = raw.payload[0] & 0b111;
|
|
255
|
+
const dataFormat = raw.payload[1] >>> 5;
|
|
256
|
+
const dataLength = raw.payload[1] & 0b11111;
|
|
257
|
+
(0, safe_1.validatePayload)(dataLength > 0, raw.payload.length >= 2 + dataLength);
|
|
258
|
+
const deviceIdData = raw.payload.subarray(2, 2 + dataLength);
|
|
259
|
+
const deviceId = dataFormat === 0
|
|
250
260
|
? deviceIdData.toString("utf8")
|
|
251
261
|
: "0x" + deviceIdData.toString("hex");
|
|
262
|
+
return new ManufacturerSpecificCCDeviceSpecificReport_1({
|
|
263
|
+
nodeId: ctx.sourceNodeId,
|
|
264
|
+
type,
|
|
265
|
+
deviceId,
|
|
266
|
+
});
|
|
252
267
|
}
|
|
253
268
|
type;
|
|
254
269
|
deviceId;
|
|
255
|
-
toLogEntry(
|
|
270
|
+
toLogEntry(ctx) {
|
|
256
271
|
return {
|
|
257
|
-
...super.toLogEntry(
|
|
272
|
+
...super.toLogEntry(ctx),
|
|
258
273
|
message: {
|
|
259
274
|
"device id type": (0, safe_2.getEnumMemberName)(_Types_1.DeviceIdType, this.type),
|
|
260
275
|
"device id": this.deviceId,
|
|
@@ -266,27 +281,28 @@ exports.ManufacturerSpecificCCDeviceSpecificReport = ManufacturerSpecificCCDevic
|
|
|
266
281
|
__decorate([
|
|
267
282
|
(0, CommandClassDecorators_1.ccValue)(exports.ManufacturerSpecificCCValues.deviceId, (self) => [self.type])
|
|
268
283
|
], ManufacturerSpecificCCDeviceSpecificReport.prototype, "deviceId", void 0);
|
|
269
|
-
exports.ManufacturerSpecificCCDeviceSpecificReport = ManufacturerSpecificCCDeviceSpecificReport = __decorate([
|
|
284
|
+
exports.ManufacturerSpecificCCDeviceSpecificReport = ManufacturerSpecificCCDeviceSpecificReport = ManufacturerSpecificCCDeviceSpecificReport_1 = __decorate([
|
|
270
285
|
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ManufacturerSpecificCommand.DeviceSpecificReport)
|
|
271
286
|
], ManufacturerSpecificCCDeviceSpecificReport);
|
|
272
287
|
let ManufacturerSpecificCCDeviceSpecificGet = class ManufacturerSpecificCCDeviceSpecificGet extends ManufacturerSpecificCC {
|
|
273
|
-
constructor(
|
|
274
|
-
super(
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
288
|
+
constructor(options) {
|
|
289
|
+
super(options);
|
|
290
|
+
this.deviceIdType = options.deviceIdType;
|
|
291
|
+
}
|
|
292
|
+
static from(_raw, _ctx) {
|
|
293
|
+
throw new safe_1.ZWaveError(`${this.name}: deserialization not implemented`, safe_1.ZWaveErrorCodes.Deserialization_NotImplemented);
|
|
294
|
+
// return new ManufacturerSpecificCCDeviceSpecificGet({
|
|
295
|
+
// nodeId: ctx.sourceNodeId,
|
|
296
|
+
// });
|
|
281
297
|
}
|
|
282
298
|
deviceIdType;
|
|
283
|
-
serialize() {
|
|
299
|
+
serialize(ctx) {
|
|
284
300
|
this.payload = Buffer.from([(this.deviceIdType || 0) & 0b111]);
|
|
285
|
-
return super.serialize();
|
|
301
|
+
return super.serialize(ctx);
|
|
286
302
|
}
|
|
287
|
-
toLogEntry(
|
|
303
|
+
toLogEntry(ctx) {
|
|
288
304
|
return {
|
|
289
|
-
...super.toLogEntry(
|
|
305
|
+
...super.toLogEntry(ctx),
|
|
290
306
|
message: {
|
|
291
307
|
"device id type": (0, safe_2.getEnumMemberName)(_Types_1.DeviceIdType, this.deviceIdType),
|
|
292
308
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManufacturerSpecificCC.js","sourceRoot":"","sources":["../../src/cc/ManufacturerSpecificCC.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ManufacturerSpecificCC.js","sourceRoot":"","sources":["../../src/cc/ManufacturerSpecificCC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CC.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { CommandClasses, type MaybeNotKnown, type MessageOrCCLogEntry, type SinglecastCC, type SupervisionResult } from "@zwave-js/core/safe";
|
|
3
|
-
import type {
|
|
1
|
+
import { type MaybeUnknown, type WithAddress } from "@zwave-js/core";
|
|
2
|
+
import { CommandClasses, type ControlsCC, type EndpointId, type GetEndpoint, type MaybeNotKnown, type MessageOrCCLogEntry, type NodeId, type SinglecastCC, type SupervisionResult, type SupportsCC } from "@zwave-js/core/safe";
|
|
3
|
+
import type { CCEncodingContext, CCParsingContext, GetDeviceConfig, GetNode, GetSupportedCCVersion, GetValueDB } from "@zwave-js/host/safe";
|
|
4
4
|
import { type AllOrNone } from "@zwave-js/shared/safe";
|
|
5
5
|
import { POLL_VALUE, PhysicalCCAPI, type PollValueImplementation, SET_VALUE, SET_VALUE_HOOKS, type SetValueImplementation, type SetValueImplementationHooksFactory } from "../lib/API";
|
|
6
|
-
import { type
|
|
6
|
+
import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass";
|
|
7
7
|
import { MeterCommand, type MeterReading, RateType } from "../lib/_Types";
|
|
8
8
|
export declare const MeterCCValues: Readonly<{
|
|
9
9
|
value: ((meterType: number, rateType: RateType, scale: number) => {
|
|
@@ -221,30 +221,30 @@ export declare class MeterCCAPI extends PhysicalCCAPI {
|
|
|
221
221
|
}
|
|
222
222
|
export declare class MeterCC extends CommandClass {
|
|
223
223
|
ccCommand: MeterCommand;
|
|
224
|
-
interview(
|
|
225
|
-
refreshValues(
|
|
226
|
-
shouldRefreshValues(this: SinglecastCC<this>,
|
|
224
|
+
interview(ctx: InterviewContext): Promise<void>;
|
|
225
|
+
refreshValues(ctx: RefreshValuesContext): Promise<void>;
|
|
226
|
+
shouldRefreshValues(this: SinglecastCC<this>, ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode<NodeId & GetEndpoint<EndpointId & SupportsCC & ControlsCC>>): boolean;
|
|
227
227
|
/**
|
|
228
228
|
* Returns which type this meter has.
|
|
229
229
|
* This only works AFTER the interview process
|
|
230
230
|
*/
|
|
231
|
-
static getMeterTypeCached(
|
|
231
|
+
static getMeterTypeCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown<number>;
|
|
232
232
|
/**
|
|
233
233
|
* Returns which scales are supported by this meter.
|
|
234
234
|
* This only works AFTER the interview process
|
|
235
235
|
*/
|
|
236
|
-
static getSupportedScalesCached(
|
|
236
|
+
static getSupportedScalesCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown<number[]>;
|
|
237
237
|
/**
|
|
238
238
|
* Returns whether reset is supported by this meter.
|
|
239
239
|
* This only works AFTER the interview process
|
|
240
240
|
*/
|
|
241
|
-
static supportsResetCached(
|
|
241
|
+
static supportsResetCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown<boolean>;
|
|
242
242
|
/**
|
|
243
243
|
* Returns which rate types are supported by this meter.
|
|
244
244
|
* This only works AFTER the interview process
|
|
245
245
|
*/
|
|
246
|
-
static getSupportedRateTypesCached(
|
|
247
|
-
translatePropertyKey(
|
|
246
|
+
static getSupportedRateTypesCached(ctx: GetValueDB, endpoint: EndpointId): MaybeNotKnown<RateType[]>;
|
|
247
|
+
translatePropertyKey(ctx: GetValueDB, property: string | number, propertyKey: string | number): string | undefined;
|
|
248
248
|
}
|
|
249
249
|
export interface MeterCCReportOptions {
|
|
250
250
|
type: number;
|
|
@@ -255,27 +255,29 @@ export interface MeterCCReportOptions {
|
|
|
255
255
|
deltaTime?: MaybeUnknown<number>;
|
|
256
256
|
}
|
|
257
257
|
export declare class MeterCCReport extends MeterCC {
|
|
258
|
-
constructor(
|
|
259
|
-
|
|
258
|
+
constructor(options: WithAddress<MeterCCReportOptions>);
|
|
259
|
+
static from(raw: CCRaw, ctx: CCParsingContext): MeterCCReport;
|
|
260
|
+
persistValues(ctx: PersistValuesContext): boolean;
|
|
260
261
|
type: number;
|
|
261
262
|
scale: number;
|
|
262
263
|
value: number;
|
|
263
264
|
previousValue: MaybeNotKnown<number>;
|
|
264
265
|
rateType: RateType;
|
|
265
266
|
deltaTime: MaybeUnknown<number>;
|
|
266
|
-
serialize(): Buffer;
|
|
267
|
-
toLogEntry(
|
|
267
|
+
serialize(ctx: CCEncodingContext): Buffer;
|
|
268
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
268
269
|
}
|
|
269
270
|
export interface MeterCCGetOptions {
|
|
270
271
|
scale?: number;
|
|
271
272
|
rateType?: RateType;
|
|
272
273
|
}
|
|
273
274
|
export declare class MeterCCGet extends MeterCC {
|
|
274
|
-
constructor(
|
|
275
|
+
constructor(options: WithAddress<MeterCCGetOptions>);
|
|
276
|
+
static from(raw: CCRaw, ctx: CCParsingContext): MeterCCGet;
|
|
275
277
|
rateType: RateType | undefined;
|
|
276
278
|
scale: number | undefined;
|
|
277
|
-
serialize(): Buffer;
|
|
278
|
-
toLogEntry(
|
|
279
|
+
serialize(ctx: CCEncodingContext): Buffer;
|
|
280
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
279
281
|
}
|
|
280
282
|
export interface MeterCCSupportedReportOptions {
|
|
281
283
|
type: number;
|
|
@@ -284,14 +286,15 @@ export interface MeterCCSupportedReportOptions {
|
|
|
284
286
|
supportedRateTypes: readonly RateType[];
|
|
285
287
|
}
|
|
286
288
|
export declare class MeterCCSupportedReport extends MeterCC {
|
|
287
|
-
constructor(
|
|
289
|
+
constructor(options: WithAddress<MeterCCSupportedReportOptions>);
|
|
290
|
+
static from(raw: CCRaw, ctx: CCParsingContext): MeterCCSupportedReport;
|
|
288
291
|
readonly type: number;
|
|
289
292
|
readonly supportsReset: boolean;
|
|
290
293
|
readonly supportedScales: readonly number[];
|
|
291
294
|
readonly supportedRateTypes: readonly RateType[];
|
|
292
|
-
persistValues(
|
|
293
|
-
serialize(): Buffer;
|
|
294
|
-
toLogEntry(
|
|
295
|
+
persistValues(ctx: PersistValuesContext): boolean;
|
|
296
|
+
serialize(ctx: CCEncodingContext): Buffer;
|
|
297
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
295
298
|
}
|
|
296
299
|
export declare class MeterCCSupportedGet extends MeterCC {
|
|
297
300
|
}
|
|
@@ -302,12 +305,13 @@ export type MeterCCResetOptions = AllOrNone<{
|
|
|
302
305
|
targetValue: number;
|
|
303
306
|
}>;
|
|
304
307
|
export declare class MeterCCReset extends MeterCC {
|
|
305
|
-
constructor(
|
|
308
|
+
constructor(options: WithAddress<MeterCCResetOptions>);
|
|
309
|
+
static from(raw: CCRaw, ctx: CCParsingContext): MeterCCReset;
|
|
306
310
|
type: number | undefined;
|
|
307
311
|
scale: number | undefined;
|
|
308
312
|
rateType: RateType | undefined;
|
|
309
313
|
targetValue: number | undefined;
|
|
310
|
-
serialize(): Buffer;
|
|
311
|
-
toLogEntry(
|
|
314
|
+
serialize(ctx: CCEncodingContext): Buffer;
|
|
315
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
312
316
|
}
|
|
313
317
|
//# sourceMappingURL=MeterCC.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeterCC.d.ts","sourceRoot":"","sources":["../../src/cc/MeterCC.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,
|
|
1
|
+
{"version":3,"file":"MeterCC.d.ts","sourceRoot":"","sources":["../../src/cc/MeterCC.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,YAAY,EACjB,KAAK,WAAW,EAShB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACN,cAAc,EACd,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAGxB,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAMf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