@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
|
@@ -1,38 +1,32 @@
|
|
|
1
|
-
import { type BroadcastCC, CommandClasses, EncapsulationFlags, type FrameType, type
|
|
2
|
-
import type {
|
|
3
|
-
import { MessageOrigin } from "@zwave-js/serial";
|
|
1
|
+
import { type BroadcastCC, type CCAddress, type CCId, CommandClasses, type ControlsCC, EncapsulationFlags, type EndpointId, type FrameType, type GetAllEndpoints, type GetCCs, type GetEndpoint, type ListenBehavior, type MessageOrCCLogEntry, type ModifyCCs, type MulticastCC, type MulticastDestination, type NodeId, type QueryNodeStatus, type QuerySecurityClasses, type SetSecurityClass, type SinglecastCC, type SupportsCC, type ValueDB, type ValueID, type ValueMetadata, ZWaveErrorCodes } from "@zwave-js/core";
|
|
2
|
+
import type { CCEncodingContext, CCParsingContext, GetDeviceConfig, GetInterviewOptions, GetNode, GetSupportedCCVersion, GetValueDB, HostIDs, LogNode, LookupManufacturer } from "@zwave-js/host";
|
|
4
3
|
import { type JSONObject } from "@zwave-js/shared";
|
|
5
|
-
import type { ValueIDProperties } from "./API";
|
|
4
|
+
import type { CCAPIHost, CCAPINode, ValueIDProperties } from "./API";
|
|
6
5
|
import { type EncapsulatingCommandClass } from "./EncapsulatingCommandClass";
|
|
7
|
-
import { type ICommandClassContainer } from "./ICommandClassContainer";
|
|
8
6
|
import { type CCValue, type DynamicCCValue, type StaticCCValue } from "./Values";
|
|
9
|
-
export
|
|
10
|
-
data: Buffer;
|
|
11
|
-
origin?: MessageOrigin;
|
|
12
|
-
/** If known, the frame type of the containing message */
|
|
13
|
-
frameType?: FrameType;
|
|
14
|
-
} & ({
|
|
15
|
-
fromEncapsulation?: false;
|
|
16
|
-
nodeId: number;
|
|
17
|
-
} | {
|
|
18
|
-
fromEncapsulation: true;
|
|
19
|
-
encapCC: CommandClass;
|
|
20
|
-
});
|
|
21
|
-
export declare function gotDeserializationOptions(options: CommandClassOptions): options is CommandClassDeserializationOptions;
|
|
22
|
-
export interface CCCommandOptions {
|
|
23
|
-
nodeId: number | MulticastDestination;
|
|
24
|
-
endpoint?: number;
|
|
25
|
-
}
|
|
26
|
-
interface CommandClassCreationOptions extends CCCommandOptions {
|
|
7
|
+
export interface CommandClassOptions extends CCAddress {
|
|
27
8
|
ccId?: number;
|
|
28
9
|
ccCommand?: number;
|
|
29
10
|
payload?: Buffer;
|
|
30
|
-
origin?: undefined;
|
|
31
11
|
}
|
|
32
|
-
export type
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
12
|
+
export type CCEndpoint = EndpointId & SupportsCC & ControlsCC & GetCCs & ModifyCCs;
|
|
13
|
+
export type CCNode = NodeId & SupportsCC & ControlsCC & GetCCs & GetEndpoint<CCEndpoint> & GetAllEndpoints<CCEndpoint> & QuerySecurityClasses & SetSecurityClass & ListenBehavior & QueryNodeStatus;
|
|
14
|
+
export type InterviewContext = CCAPIHost<CCAPINode & GetCCs & SupportsCC & ControlsCC & QuerySecurityClasses & SetSecurityClass & GetEndpoint<EndpointId & GetCCs & SupportsCC & ControlsCC & ModifyCCs> & GetAllEndpoints<EndpointId & SupportsCC & ControlsCC>> & GetInterviewOptions & LookupManufacturer;
|
|
15
|
+
export type RefreshValuesContext = CCAPIHost<CCAPINode & GetEndpoint<EndpointId & SupportsCC & ControlsCC>>;
|
|
16
|
+
export type PersistValuesContext = HostIDs & GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode<NodeId & GetEndpoint<EndpointId & SupportsCC & ControlsCC>> & LogNode;
|
|
17
|
+
export declare function getEffectiveCCVersion(ctx: GetSupportedCCVersion, cc: CCId, defaultVersion?: number): number;
|
|
18
|
+
export declare class CCRaw {
|
|
19
|
+
ccId: CommandClasses;
|
|
20
|
+
ccCommand: number | undefined;
|
|
21
|
+
payload: Buffer;
|
|
22
|
+
constructor(ccId: CommandClasses, ccCommand: number | undefined, payload: Buffer);
|
|
23
|
+
static parse(data: Buffer): CCRaw;
|
|
24
|
+
withPayload(payload: Buffer): CCRaw;
|
|
25
|
+
}
|
|
26
|
+
export declare class CommandClass implements CCId {
|
|
27
|
+
constructor(options: CommandClassOptions);
|
|
28
|
+
static parse(data: Buffer, ctx: CCParsingContext): CommandClass;
|
|
29
|
+
static from(raw: CCRaw, ctx: CCParsingContext): CommandClass;
|
|
36
30
|
/** This CC's identifier */
|
|
37
31
|
ccId: CommandClasses;
|
|
38
32
|
ccCommand?: number;
|
|
@@ -40,10 +34,6 @@ export declare class CommandClass implements ICommandClass {
|
|
|
40
34
|
/** The ID of the target node(s) */
|
|
41
35
|
nodeId: number | MulticastDestination;
|
|
42
36
|
payload: Buffer;
|
|
43
|
-
/** The version of the command class used */
|
|
44
|
-
version: number;
|
|
45
|
-
/** The version of the CC the node has reported support for */
|
|
46
|
-
private _knownVersion;
|
|
47
37
|
/** Which endpoint of the node this CC belongs to. 0 for the root device. */
|
|
48
38
|
endpointIndex: number;
|
|
49
39
|
/**
|
|
@@ -61,48 +51,23 @@ export declare class CommandClass implements ICommandClass {
|
|
|
61
51
|
/** Returns true if this CC is an extended CC (0xF100..0xFFFF) */
|
|
62
52
|
isExtended(): boolean;
|
|
63
53
|
/** Whether the interview for this CC was previously completed */
|
|
64
|
-
isInterviewComplete(host:
|
|
54
|
+
isInterviewComplete(host: GetValueDB): boolean;
|
|
65
55
|
/** Marks the interview for this CC as complete or not */
|
|
66
|
-
setInterviewComplete(host:
|
|
67
|
-
/**
|
|
68
|
-
* Deserializes a CC from a buffer that contains a serialized CC
|
|
69
|
-
*/
|
|
70
|
-
protected deserialize(data: Buffer): {
|
|
71
|
-
ccId: CommandClasses;
|
|
72
|
-
ccCommand: number;
|
|
73
|
-
payload: Buffer;
|
|
74
|
-
} | {
|
|
75
|
-
ccId: CommandClasses;
|
|
76
|
-
payload: Buffer;
|
|
77
|
-
ccCommand?: undefined;
|
|
78
|
-
};
|
|
56
|
+
setInterviewComplete(host: GetValueDB, complete: boolean): void;
|
|
79
57
|
/**
|
|
80
58
|
* Serializes this CommandClass to be embedded in a message payload or another CC
|
|
81
59
|
*/
|
|
82
|
-
serialize(): Buffer;
|
|
60
|
+
serialize(ctx: CCEncodingContext): Buffer;
|
|
83
61
|
prepareRetransmission(): void;
|
|
84
|
-
/** Extracts the CC id from a buffer that contains a serialized CC */
|
|
85
|
-
static getCommandClass(data: Buffer): CommandClasses;
|
|
86
|
-
/** Extracts the CC command from a buffer that contains a serialized CC */
|
|
87
|
-
static getCCCommand(data: Buffer): number | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Retrieves the correct constructor for the CommandClass in the given Buffer.
|
|
90
|
-
* It is assumed that the buffer only contains the serialized CC. This throws if the CC is not implemented.
|
|
91
|
-
*/
|
|
92
|
-
static getConstructor(ccData: Buffer): CCConstructor<CommandClass>;
|
|
93
|
-
/**
|
|
94
|
-
* Creates an instance of the CC that is serialized in the given buffer
|
|
95
|
-
*/
|
|
96
|
-
static from(host: ZWaveHost, options: CommandClassDeserializationOptions): CommandClass;
|
|
97
62
|
/**
|
|
98
63
|
* Create an instance of the given CC without checking whether it is supported.
|
|
99
64
|
* If the CC is implemented, this returns an instance of the given CC which is linked to the given endpoint.
|
|
100
65
|
*
|
|
101
66
|
* **INTERNAL:** Applications should not use this directly.
|
|
102
67
|
*/
|
|
103
|
-
static createInstanceUnchecked<T extends CommandClass>(
|
|
68
|
+
static createInstanceUnchecked<T extends CommandClass>(endpoint: EndpointId, cc: CommandClasses | CCConstructor<T>): T | undefined;
|
|
104
69
|
/** Generates a representation of this CC for the log */
|
|
105
|
-
toLogEntry(
|
|
70
|
+
toLogEntry(_ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
106
71
|
/** Generates the JSON representation of this CC */
|
|
107
72
|
toJSON(): JSONObject;
|
|
108
73
|
private toJSONInternal;
|
|
@@ -110,16 +75,16 @@ export declare class CommandClass implements ICommandClass {
|
|
|
110
75
|
/**
|
|
111
76
|
* Performs the interview procedure for this CC according to SDS14223
|
|
112
77
|
*/
|
|
113
|
-
interview(
|
|
78
|
+
interview(_ctx: InterviewContext): Promise<void>;
|
|
114
79
|
/**
|
|
115
80
|
* Refreshes all dynamic values of this CC
|
|
116
81
|
*/
|
|
117
|
-
refreshValues(
|
|
82
|
+
refreshValues(_ctx: RefreshValuesContext): Promise<void>;
|
|
118
83
|
/**
|
|
119
84
|
* Checks if the CC values need to be manually refreshed.
|
|
120
85
|
* This should be called regularly and when sleeping nodes wake up
|
|
121
86
|
*/
|
|
122
|
-
shouldRefreshValues(this: SinglecastCC<this>,
|
|
87
|
+
shouldRefreshValues(this: SinglecastCC<this>, _ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode<NodeId & GetEndpoint<EndpointId & SupportsCC & ControlsCC>>): boolean;
|
|
123
88
|
/** Determines which CC interviews must be performed before this CC can be interviewed */
|
|
124
89
|
determineRequiredCCInterviews(): readonly CommandClasses[];
|
|
125
90
|
/**
|
|
@@ -130,66 +95,66 @@ export declare class CommandClass implements ICommandClass {
|
|
|
130
95
|
* Maps a BasicCC value to a more specific CC implementation. Returns true if the value was mapped, false otherwise.
|
|
131
96
|
* @param _value The value of the received BasicCC
|
|
132
97
|
*/
|
|
133
|
-
setMappedBasicValue(
|
|
98
|
+
setMappedBasicValue(_ctx: GetValueDB, _value: number): boolean;
|
|
134
99
|
isSinglecast(): this is SinglecastCC<this>;
|
|
135
100
|
isMulticast(): this is MulticastCC<this>;
|
|
136
101
|
isBroadcast(): this is BroadcastCC<this>;
|
|
137
102
|
/**
|
|
138
103
|
* Returns the node this CC is linked to. Throws if the controller is not yet ready.
|
|
139
104
|
*/
|
|
140
|
-
getNode(
|
|
141
|
-
getEndpoint(
|
|
105
|
+
getNode<T extends NodeId>(ctx: GetNode<T>): T | undefined;
|
|
106
|
+
getEndpoint<T extends EndpointId>(ctx: GetNode<NodeId & GetEndpoint<T>>): T | undefined;
|
|
142
107
|
/** Returns the value DB for this CC's node */
|
|
143
|
-
protected getValueDB(
|
|
108
|
+
protected getValueDB(ctx: GetValueDB): ValueDB;
|
|
144
109
|
/**
|
|
145
110
|
* Ensures that the metadata for the given CC value exists in the Value DB or creates it if it does not.
|
|
146
111
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
147
112
|
* @param meta Will be used in place of the predefined metadata when given
|
|
148
113
|
*/
|
|
149
|
-
protected ensureMetadata(
|
|
114
|
+
protected ensureMetadata(ctx: GetValueDB, ccValue: CCValue, meta?: ValueMetadata): void;
|
|
150
115
|
/**
|
|
151
116
|
* Removes the metadata for the given CC value from the value DB.
|
|
152
117
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
153
118
|
*/
|
|
154
|
-
protected removeMetadata(
|
|
119
|
+
protected removeMetadata(ctx: GetValueDB, ccValue: CCValue): void;
|
|
155
120
|
/**
|
|
156
121
|
* Writes the metadata for the given CC value into the Value DB.
|
|
157
122
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
158
123
|
* @param meta Will be used in place of the predefined metadata when given
|
|
159
124
|
*/
|
|
160
|
-
protected setMetadata(
|
|
125
|
+
protected setMetadata(ctx: GetValueDB, ccValue: CCValue, meta?: ValueMetadata): void;
|
|
161
126
|
/**
|
|
162
127
|
* Reads the metadata for the given CC value from the Value DB.
|
|
163
128
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
164
129
|
*/
|
|
165
|
-
protected getMetadata<T extends ValueMetadata>(
|
|
130
|
+
protected getMetadata<T extends ValueMetadata>(ctx: GetValueDB, ccValue: CCValue): T | undefined;
|
|
166
131
|
/**
|
|
167
132
|
* Stores the given value under the value ID for the given CC value in the value DB.
|
|
168
133
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
169
134
|
*/
|
|
170
|
-
protected setValue(
|
|
135
|
+
protected setValue(ctx: GetValueDB, ccValue: CCValue, value: unknown): void;
|
|
171
136
|
/**
|
|
172
137
|
* Removes the value for the given CC value from the value DB.
|
|
173
138
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
174
139
|
*/
|
|
175
|
-
protected removeValue(
|
|
140
|
+
protected removeValue(ctx: GetValueDB, ccValue: CCValue): void;
|
|
176
141
|
/**
|
|
177
142
|
* Reads the value stored for the value ID of the given CC value from the value DB.
|
|
178
143
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
179
144
|
*/
|
|
180
|
-
protected getValue<T>(
|
|
145
|
+
protected getValue<T>(ctx: GetValueDB, ccValue: CCValue): T | undefined;
|
|
181
146
|
/**
|
|
182
147
|
* Reads when the value stored for the value ID of the given CC value was last updated in the value DB.
|
|
183
148
|
* The endpoint index of the current CC instance is automatically taken into account.
|
|
184
149
|
*/
|
|
185
|
-
protected getValueTimestamp(
|
|
150
|
+
protected getValueTimestamp(ctx: GetValueDB, ccValue: CCValue): number | undefined;
|
|
186
151
|
/** Returns the CC value definition for the current CC which matches the given value ID */
|
|
187
152
|
protected getCCValue(valueId: ValueID): StaticCCValue | DynamicCCValue | undefined;
|
|
188
153
|
private getAllCCValues;
|
|
189
154
|
private getCCValueForValueId;
|
|
190
155
|
private shouldAutoCreateValue;
|
|
191
156
|
/** Returns a list of all value names that are defined for this CommandClass */
|
|
192
|
-
getDefinedValueIDs(
|
|
157
|
+
getDefinedValueIDs(ctx: GetValueDB & GetSupportedCCVersion & GetDeviceConfig & GetNode<NodeId & GetEndpoint<EndpointId & SupportsCC & ControlsCC>>, includeInternal?: boolean): ValueID[];
|
|
193
158
|
/** Determines if the given value is an internal value */
|
|
194
159
|
isInternalValue(properties: ValueIDProperties): boolean;
|
|
195
160
|
/** Determines if the given value is an secret value */
|
|
@@ -200,7 +165,7 @@ export declare class CommandClass implements ICommandClass {
|
|
|
200
165
|
* Persists all values for this CC instance into the value DB which are annotated with @ccValue.
|
|
201
166
|
* Returns `true` if the process succeeded, `false` if the value DB cannot be accessed.
|
|
202
167
|
*/
|
|
203
|
-
persistValues(
|
|
168
|
+
persistValues(ctx: PersistValuesContext): boolean;
|
|
204
169
|
/**
|
|
205
170
|
* When a CC supports to be split into multiple partial CCs, this can be used to identify the
|
|
206
171
|
* session the partial CCs belong to.
|
|
@@ -213,7 +178,7 @@ export declare class CommandClass implements ICommandClass {
|
|
|
213
178
|
*/
|
|
214
179
|
expectMoreMessages(_session: CommandClass[]): boolean;
|
|
215
180
|
/** Include previously received partial responses into a final CC */
|
|
216
|
-
mergePartialCCs(
|
|
181
|
+
mergePartialCCs(_partials: CommandClass[], _ctx: CCParsingContext): void;
|
|
217
182
|
/** Tests whether this CC expects at least one command in return */
|
|
218
183
|
expectsCCResponse(): boolean;
|
|
219
184
|
isExpectedCCResponse(received: CommandClass): boolean;
|
|
@@ -222,13 +187,13 @@ export declare class CommandClass implements ICommandClass {
|
|
|
222
187
|
* @param property The property identifier that should be translated
|
|
223
188
|
* @param _propertyKey The (optional) property key the translated name may depend on
|
|
224
189
|
*/
|
|
225
|
-
translateProperty(
|
|
190
|
+
translateProperty(_ctx: GetValueDB, property: string | number, _propertyKey?: string | number): string;
|
|
226
191
|
/**
|
|
227
192
|
* Translates a property key into a speaking name for use in an external API
|
|
228
193
|
* @param _property The property the key in question belongs to
|
|
229
194
|
* @param propertyKey The property key for which the speaking name should be retrieved
|
|
230
195
|
*/
|
|
231
|
-
translatePropertyKey(
|
|
196
|
+
translatePropertyKey(_ctx: GetValueDB, _property: string | number, propertyKey: string | number): string | undefined;
|
|
232
197
|
/** Returns the number of bytes that are added to the payload by this CC */
|
|
233
198
|
protected computeEncapsulationOverhead(): number;
|
|
234
199
|
/** Computes the maximum net payload size that can be transmitted inside this CC */
|
|
@@ -240,21 +205,19 @@ export declare class CommandClass implements ICommandClass {
|
|
|
240
205
|
/** Traverses the encapsulation stack of this CC inwards and returns the one that has the given CC id and (optionally) CC Command if that exists. */
|
|
241
206
|
getEncapsulatedCC(ccId: CommandClasses, ccCommand?: number): CommandClass | undefined;
|
|
242
207
|
}
|
|
243
|
-
export interface
|
|
208
|
+
export interface InvalidCCOptions extends CommandClassOptions {
|
|
244
209
|
ccName: string;
|
|
245
210
|
reason?: string | ZWaveErrorCodes;
|
|
246
211
|
}
|
|
247
212
|
export declare class InvalidCC extends CommandClass {
|
|
248
|
-
constructor(
|
|
213
|
+
constructor(options: InvalidCCOptions);
|
|
249
214
|
private _ccName;
|
|
250
215
|
get ccName(): string;
|
|
251
216
|
readonly reason?: string | ZWaveErrorCodes;
|
|
252
|
-
toLogEntry(
|
|
217
|
+
toLogEntry(_ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
253
218
|
}
|
|
254
|
-
/** @publicAPI */
|
|
255
|
-
export declare function assertValidCCs(container: ICommandClassContainer): void;
|
|
256
219
|
export type CCConstructor<T extends CommandClass> = typeof CommandClass & {
|
|
257
|
-
new (
|
|
220
|
+
new (options: any): T;
|
|
258
221
|
};
|
|
259
222
|
/**
|
|
260
223
|
* @publicAPI
|
|
@@ -268,5 +231,4 @@ export type CCResponseRole = boolean | "checkEncapsulated";
|
|
|
268
231
|
* A predicate function to test if a received CC matches the sent CC
|
|
269
232
|
*/
|
|
270
233
|
export type CCResponsePredicate<TSent extends CommandClass, TReceived extends CommandClass = CommandClass> = (sentCommand: TSent, receivedCommand: TReceived) => CCResponseRole;
|
|
271
|
-
export {};
|
|
272
234
|
//# sourceMappingURL=CommandClass.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandClass.d.ts","sourceRoot":"","sources":["../../src/lib/CommandClass.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,WAAW,EAChB,cAAc,EACd,kBAAkB,EAClB,KAAK,SAAS,EACd,KAAK,
|
|
1
|
+
{"version":3,"file":"CommandClass.d.ts","sourceRoot":"","sources":["../../src/lib/CommandClass.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,IAAI,EACT,cAAc,EACd,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,MAAM,EACX,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EAExB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,oBAAoB,EAGzB,KAAK,MAAM,EACX,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,aAAa,EAElB,eAAe,EAKf,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,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