@zwave-js/cc 14.0.0-beta.1 → 14.0.0-beta.4
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/cjs/cc/AlarmSensorCC.d.ts +194 -0
- package/build/cjs/cc/AlarmSensorCC.js +395 -0
- package/build/cjs/cc/AlarmSensorCC.js.map +7 -0
- package/build/cjs/cc/AssociationCC.d.ts +253 -0
- package/build/cjs/cc/AssociationCC.js +711 -0
- package/build/cjs/cc/AssociationCC.js.map +7 -0
- package/build/cjs/cc/AssociationGroupInfoCC.d.ts +230 -0
- package/build/cjs/cc/AssociationGroupInfoCC.js +746 -0
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +7 -0
- package/build/cjs/cc/BarrierOperatorCC.d.ts +243 -0
- package/build/cjs/cc/BarrierOperatorCC.js +582 -0
- package/build/cjs/cc/BarrierOperatorCC.js.map +7 -0
- package/build/cjs/cc/BasicCC.d.ts +191 -0
- package/build/cjs/cc/BasicCC.js +384 -0
- package/build/cjs/cc/BasicCC.js.map +7 -0
- package/build/cjs/cc/BatteryCC.d.ts +406 -0
- package/build/cjs/cc/BatteryCC.js +508 -0
- package/build/cjs/cc/BatteryCC.js.map +7 -0
- package/build/cjs/cc/BinarySensorCC.d.ts +122 -0
- package/build/cjs/cc/BinarySensorCC.js +431 -0
- package/build/cjs/cc/BinarySensorCC.js.map +7 -0
- package/build/cjs/cc/BinarySwitchCC.d.ts +139 -0
- package/build/cjs/cc/BinarySwitchCC.js +378 -0
- package/build/cjs/cc/BinarySwitchCC.js.map +7 -0
- package/build/cjs/cc/CRC16CC.d.ts +29 -0
- package/build/cjs/cc/CRC16CC.js +133 -0
- package/build/cjs/cc/CRC16CC.js.map +7 -0
- package/build/cjs/cc/CentralSceneCC.d.ts +210 -0
- package/build/cjs/cc/CentralSceneCC.js +449 -0
- package/build/cjs/cc/CentralSceneCC.js.map +7 -0
- package/build/cjs/cc/ClimateControlScheduleCC.d.ts +177 -0
- package/build/cjs/cc/ClimateControlScheduleCC.js +480 -0
- package/build/cjs/cc/ClimateControlScheduleCC.js.map +7 -0
- package/build/cjs/cc/ClockCC.d.ts +47 -0
- package/build/cjs/cc/ClockCC.js +226 -0
- package/build/cjs/cc/ClockCC.js.map +7 -0
- package/build/cjs/cc/ColorSwitchCC.d.ts +339 -0
- package/build/cjs/cc/ColorSwitchCC.js +1117 -0
- package/build/cjs/cc/ColorSwitchCC.js.map +7 -0
- package/build/cjs/cc/ConfigurationCC.d.ts +396 -0
- package/build/cjs/cc/ConfigurationCC.js +2230 -0
- package/build/cjs/cc/ConfigurationCC.js.map +7 -0
- package/build/cjs/cc/DeviceResetLocallyCC.d.ts +17 -0
- package/build/cjs/cc/DeviceResetLocallyCC.js +92 -0
- package/build/cjs/cc/DeviceResetLocallyCC.js.map +7 -0
- package/build/cjs/cc/DoorLockCC.d.ts +837 -0
- package/build/cjs/cc/DoorLockCC.js +1239 -0
- package/build/cjs/cc/DoorLockCC.js.map +7 -0
- package/build/cjs/cc/DoorLockLoggingCC.d.ts +77 -0
- package/build/cjs/cc/DoorLockLoggingCC.js +343 -0
- package/build/cjs/cc/DoorLockLoggingCC.js.map +7 -0
- package/build/cjs/cc/EnergyProductionCC.d.ts +77 -0
- package/build/cjs/cc/EnergyProductionCC.js +240 -0
- package/build/cjs/cc/EnergyProductionCC.js.map +7 -0
- package/build/cjs/cc/EntryControlCC.d.ts +231 -0
- package/build/cjs/cc/EntryControlCC.js +593 -0
- package/build/cjs/cc/EntryControlCC.js.map +7 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +359 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +1122 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +7 -0
- package/build/cjs/cc/HailCC.d.ts +6 -0
- package/build/cjs/cc/HailCC.js +45 -0
- package/build/cjs/cc/HailCC.js.map +7 -0
- package/build/cjs/cc/HumidityControlModeCC.d.ts +111 -0
- package/build/cjs/cc/HumidityControlModeCC.js +323 -0
- package/build/cjs/cc/HumidityControlModeCC.js.map +7 -0
- package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +60 -0
- package/build/cjs/cc/HumidityControlOperatingStateCC.js +164 -0
- package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +7 -0
- package/build/cjs/cc/HumidityControlSetpointCC.d.ts +209 -0
- package/build/cjs/cc/HumidityControlSetpointCC.js +634 -0
- package/build/cjs/cc/HumidityControlSetpointCC.js.map +7 -0
- package/build/cjs/cc/InclusionControllerCC.d.ts +42 -0
- package/build/cjs/cc/InclusionControllerCC.js +160 -0
- package/build/cjs/cc/InclusionControllerCC.js.map +7 -0
- package/build/cjs/cc/IndicatorCC.d.ts +338 -0
- package/build/cjs/cc/IndicatorCC.js +1234 -0
- package/build/cjs/cc/IndicatorCC.js.map +7 -0
- package/build/cjs/cc/IrrigationCC.d.ts +1496 -0
- package/build/cjs/cc/IrrigationCC.js +1978 -0
- package/build/cjs/cc/IrrigationCC.js.map +7 -0
- package/build/cjs/cc/LanguageCC.d.ts +101 -0
- package/build/cjs/cc/LanguageCC.js +267 -0
- package/build/cjs/cc/LanguageCC.js.map +7 -0
- package/build/cjs/cc/LockCC.d.ts +73 -0
- package/build/cjs/cc/LockCC.js +222 -0
- package/build/cjs/cc/LockCC.js.map +7 -0
- package/build/cjs/cc/ManufacturerProprietaryCC.d.ts +32 -0
- package/build/cjs/cc/ManufacturerProprietaryCC.js +209 -0
- package/build/cjs/cc/ManufacturerProprietaryCC.js.map +7 -0
- package/build/cjs/cc/ManufacturerSpecificCC.d.ts +171 -0
- package/build/cjs/cc/ManufacturerSpecificCC.js +334 -0
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +7 -0
- package/build/cjs/cc/MeterCC.d.ts +318 -0
- package/build/cjs/cc/MeterCC.js +1235 -0
- package/build/cjs/cc/MeterCC.js.map +7 -0
- package/build/cjs/cc/MultiChannelAssociationCC.d.ts +241 -0
- package/build/cjs/cc/MultiChannelAssociationCC.js +956 -0
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +7 -0
- package/build/cjs/cc/MultiChannelCC.d.ts +394 -0
- package/build/cjs/cc/MultiChannelCC.js +1050 -0
- package/build/cjs/cc/MultiChannelCC.js.map +7 -0
- package/build/cjs/cc/MultiCommandCC.d.ts +27 -0
- package/build/cjs/cc/MultiCommandCC.js +159 -0
- package/build/cjs/cc/MultiCommandCC.js.map +7 -0
- package/build/cjs/cc/MultilevelSensorCC.d.ts +185 -0
- package/build/cjs/cc/MultilevelSensorCC.js +716 -0
- package/build/cjs/cc/MultilevelSensorCC.js.map +7 -0
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +357 -0
- package/build/cjs/cc/MultilevelSwitchCC.js +780 -0
- package/build/cjs/cc/MultilevelSwitchCC.js.map +7 -0
- package/build/cjs/cc/NoOperationCC.d.ts +9 -0
- package/build/cjs/cc/NoOperationCC.js +64 -0
- package/build/cjs/cc/NoOperationCC.js.map +7 -0
- package/build/cjs/cc/NodeNamingCC.d.ts +118 -0
- package/build/cjs/cc/NodeNamingCC.js +364 -0
- package/build/cjs/cc/NodeNamingCC.js.map +7 -0
- package/build/cjs/cc/NotificationCC.d.ts +479 -0
- package/build/cjs/cc/NotificationCC.js +1245 -0
- package/build/cjs/cc/NotificationCC.js.map +7 -0
- package/build/cjs/cc/PowerlevelCC.d.ts +82 -0
- package/build/cjs/cc/PowerlevelCC.js +510 -0
- package/build/cjs/cc/PowerlevelCC.js.map +7 -0
- package/build/cjs/cc/ProtectionCC.d.ts +325 -0
- package/build/cjs/cc/ProtectionCC.js +667 -0
- package/build/cjs/cc/ProtectionCC.js.map +7 -0
- package/build/cjs/cc/SceneActivationCC.d.ts +89 -0
- package/build/cjs/cc/SceneActivationCC.js +193 -0
- package/build/cjs/cc/SceneActivationCC.js.map +7 -0
- package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +120 -0
- package/build/cjs/cc/SceneActuatorConfigurationCC.js +370 -0
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +7 -0
- package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +129 -0
- package/build/cjs/cc/SceneControllerConfigurationCC.js +423 -0
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +7 -0
- package/build/cjs/cc/ScheduleEntryLockCC.d.ts +434 -0
- package/build/cjs/cc/ScheduleEntryLockCC.js +1763 -0
- package/build/cjs/cc/ScheduleEntryLockCC.js.map +7 -0
- package/build/cjs/cc/Security2CC.d.ts +251 -0
- package/build/cjs/cc/Security2CC.js +1589 -0
- package/build/cjs/cc/Security2CC.js.map +7 -0
- package/build/cjs/cc/SecurityCC.d.ts +128 -0
- package/build/cjs/cc/SecurityCC.js +757 -0
- package/build/cjs/cc/SecurityCC.js.map +7 -0
- package/build/cjs/cc/SoundSwitchCC.d.ts +232 -0
- package/build/cjs/cc/SoundSwitchCC.js +661 -0
- package/build/cjs/cc/SoundSwitchCC.js.map +7 -0
- package/build/cjs/cc/SupervisionCC.d.ts +104 -0
- package/build/cjs/cc/SupervisionCC.js +308 -0
- package/build/cjs/cc/SupervisionCC.js.map +7 -0
- package/build/cjs/cc/ThermostatFanModeCC.d.ts +141 -0
- package/build/cjs/cc/ThermostatFanModeCC.js +372 -0
- package/build/cjs/cc/ThermostatFanModeCC.js.map +7 -0
- package/build/cjs/cc/ThermostatFanStateCC.d.ts +60 -0
- package/build/cjs/cc/ThermostatFanStateCC.js +166 -0
- package/build/cjs/cc/ThermostatFanStateCC.js.map +7 -0
- package/build/cjs/cc/ThermostatModeCC.d.ts +150 -0
- package/build/cjs/cc/ThermostatModeCC.js +436 -0
- package/build/cjs/cc/ThermostatModeCC.js.map +7 -0
- package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +61 -0
- package/build/cjs/cc/ThermostatOperatingStateCC.js +162 -0
- package/build/cjs/cc/ThermostatOperatingStateCC.js.map +7 -0
- package/build/cjs/cc/ThermostatSetbackCC.d.ts +46 -0
- package/build/cjs/cc/ThermostatSetbackCC.js +262 -0
- package/build/cjs/cc/ThermostatSetbackCC.js.map +7 -0
- package/build/cjs/cc/ThermostatSetpointCC.d.ts +197 -0
- package/build/cjs/cc/ThermostatSetpointCC.js +638 -0
- package/build/cjs/cc/ThermostatSetpointCC.js.map +7 -0
- package/build/cjs/cc/TimeCC.d.ts +88 -0
- package/build/cjs/cc/TimeCC.js +473 -0
- package/build/cjs/cc/TimeCC.js.map +7 -0
- package/build/cjs/cc/TimeParametersCC.d.ts +72 -0
- package/build/cjs/cc/TimeParametersCC.js +313 -0
- package/build/cjs/cc/TimeParametersCC.js.map +7 -0
- package/build/cjs/cc/TransportServiceCC.d.ts +107 -0
- package/build/cjs/cc/TransportServiceCC.js +404 -0
- package/build/cjs/cc/TransportServiceCC.js.map +7 -0
- package/build/cjs/cc/UserCodeCC.d.ts +683 -0
- package/build/cjs/cc/UserCodeCC.js +1620 -0
- package/build/cjs/cc/UserCodeCC.js.map +7 -0
- package/build/cjs/cc/VersionCC.d.ts +469 -0
- package/build/cjs/cc/VersionCC.js +828 -0
- package/build/cjs/cc/VersionCC.js.map +7 -0
- package/build/cjs/cc/WakeUpCC.d.ts +150 -0
- package/build/cjs/cc/WakeUpCC.js +456 -0
- package/build/cjs/cc/WakeUpCC.js.map +7 -0
- package/build/cjs/cc/WindowCoveringCC.d.ts +315 -0
- package/build/cjs/cc/WindowCoveringCC.js +776 -0
- package/build/cjs/cc/WindowCoveringCC.js.map +7 -0
- package/build/cjs/cc/ZWaveLongRangeCC.d.ts +4 -0
- package/build/cjs/cc/ZWaveLongRangeCC.js +43 -0
- package/build/cjs/cc/ZWaveLongRangeCC.js.map +7 -0
- package/build/cjs/cc/ZWavePlusCC.d.ts +163 -0
- package/build/cjs/cc/ZWavePlusCC.js +288 -0
- package/build/cjs/cc/ZWavePlusCC.js.map +7 -0
- package/build/cjs/cc/ZWaveProtocolCC.d.ts +344 -0
- package/build/cjs/cc/ZWaveProtocolCC.js +1071 -0
- package/build/cjs/cc/ZWaveProtocolCC.js.map +7 -0
- package/build/cjs/cc/index.d.ts +132 -0
- package/build/cjs/cc/index.js +1180 -0
- package/build/cjs/cc/index.js.map +7 -0
- package/build/cjs/cc/manufacturerProprietary/Decorators.d.ts +64 -0
- package/build/cjs/cc/manufacturerProprietary/Decorators.js +76 -0
- package/build/cjs/cc/manufacturerProprietary/Decorators.js.map +7 -0
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.d.ts +79 -0
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.js +412 -0
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.js.map +7 -0
- package/build/cjs/index.d.ts +15 -0
- package/build/cjs/index.js +77 -0
- package/build/cjs/index.js.map +7 -0
- package/build/cjs/index_safe.d.ts +3 -0
- package/build/cjs/index_safe.js +25 -0
- package/build/cjs/index_safe.js.map +7 -0
- package/build/cjs/lib/API.d.ts +271 -0
- package/build/cjs/lib/API.js +413 -0
- package/build/cjs/lib/API.js.map +7 -0
- package/build/cjs/lib/CommandClass.d.ts +234 -0
- package/build/cjs/lib/CommandClass.js +692 -0
- package/build/cjs/lib/CommandClass.js.map +7 -0
- package/build/cjs/lib/CommandClassDecorators.d.ts +112 -0
- package/build/cjs/lib/CommandClassDecorators.js +182 -0
- package/build/cjs/lib/CommandClassDecorators.js.map +7 -0
- package/build/cjs/lib/EncapsulatingCommandClass.d.ts +22 -0
- package/build/cjs/lib/EncapsulatingCommandClass.js +71 -0
- package/build/cjs/lib/EncapsulatingCommandClass.js.map +7 -0
- package/build/cjs/lib/ICommandClassContainer.js +17 -0
- package/build/cjs/lib/ICommandClassContainer.js.map +7 -0
- package/build/cjs/lib/NotificationEventPayload.d.ts +10 -0
- package/build/cjs/lib/NotificationEventPayload.js +31 -0
- package/build/cjs/lib/NotificationEventPayload.js.map +7 -0
- package/build/cjs/lib/Security2/Extension.js +333 -0
- package/build/cjs/lib/Security2/Extension.js.map +7 -0
- package/build/cjs/lib/Security2/shared.js +69 -0
- package/build/cjs/lib/Security2/shared.js.map +7 -0
- package/build/cjs/lib/SetValueResult.js +65 -0
- package/build/cjs/lib/SetValueResult.js.map +7 -0
- package/build/cjs/lib/Values.d.ts +223 -0
- package/build/cjs/lib/Values.js +191 -0
- package/build/cjs/lib/Values.js.map +7 -0
- package/build/cjs/lib/_Types.js +1676 -0
- package/build/cjs/lib/_Types.js.map +7 -0
- package/build/cjs/lib/serializers.d.ts +34 -0
- package/build/cjs/lib/serializers.js +110 -0
- package/build/cjs/lib/serializers.js.map +7 -0
- package/build/cjs/lib/utils.d.ts +17 -0
- package/build/cjs/lib/utils.js +678 -0
- package/build/cjs/lib/utils.js.map +7 -0
- package/build/cjs/package.json +3 -0
- package/build/esm/cc/AlarmSensorCC.d.ts +194 -0
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -0
- package/build/esm/cc/AlarmSensorCC.js +392 -0
- package/build/esm/cc/AlarmSensorCC.js.map +1 -0
- package/build/esm/cc/AssociationCC.d.ts +253 -0
- package/build/esm/cc/AssociationCC.d.ts.map +1 -0
- package/build/esm/cc/AssociationCC.js +706 -0
- package/build/esm/cc/AssociationCC.js.map +1 -0
- package/build/esm/cc/AssociationGroupInfoCC.d.ts +230 -0
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -0
- package/build/esm/cc/AssociationGroupInfoCC.js +769 -0
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -0
- package/build/esm/cc/BarrierOperatorCC.d.ts +243 -0
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -0
- package/build/esm/cc/BarrierOperatorCC.js +610 -0
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -0
- package/build/esm/cc/BasicCC.d.ts +191 -0
- package/build/esm/cc/BasicCC.d.ts.map +1 -0
- package/build/esm/cc/BasicCC.js +390 -0
- package/build/esm/cc/BasicCC.js.map +1 -0
- package/build/esm/cc/BatteryCC.d.ts +406 -0
- package/build/esm/cc/BatteryCC.d.ts.map +1 -0
- package/build/esm/cc/BatteryCC.js +513 -0
- package/build/esm/cc/BatteryCC.js.map +1 -0
- package/build/esm/cc/BinarySensorCC.d.ts +122 -0
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -0
- package/build/esm/cc/BinarySensorCC.js +417 -0
- package/build/esm/cc/BinarySensorCC.js.map +1 -0
- package/build/esm/cc/BinarySwitchCC.d.ts +139 -0
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -0
- package/build/esm/cc/BinarySwitchCC.js +362 -0
- package/build/esm/cc/BinarySwitchCC.js.map +1 -0
- package/build/esm/cc/CRC16CC.d.ts +29 -0
- package/build/esm/cc/CRC16CC.d.ts.map +1 -0
- package/build/esm/cc/CRC16CC.js +123 -0
- package/build/esm/cc/CRC16CC.js.map +1 -0
- package/build/esm/cc/CentralSceneCC.d.ts +210 -0
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -0
- package/build/esm/cc/CentralSceneCC.js +427 -0
- package/build/esm/cc/CentralSceneCC.js.map +1 -0
- package/build/esm/cc/ClimateControlScheduleCC.d.ts +177 -0
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -0
- package/build/esm/cc/ClimateControlScheduleCC.js +466 -0
- package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -0
- package/build/esm/cc/ClockCC.d.ts +47 -0
- package/build/esm/cc/ClockCC.d.ts.map +1 -0
- package/build/esm/cc/ClockCC.js +205 -0
- package/build/esm/cc/ClockCC.js.map +1 -0
- package/build/esm/cc/ColorSwitchCC.d.ts +339 -0
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -0
- package/build/esm/cc/ColorSwitchCC.js +1149 -0
- package/build/esm/cc/ColorSwitchCC.js.map +1 -0
- package/build/esm/cc/ConfigurationCC.d.ts +396 -0
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -0
- package/build/esm/cc/ConfigurationCC.js +2454 -0
- package/build/esm/cc/ConfigurationCC.js.map +1 -0
- package/build/esm/cc/DeviceResetLocallyCC.d.ts +17 -0
- package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -0
- package/build/esm/cc/DeviceResetLocallyCC.js +73 -0
- package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -0
- package/build/esm/cc/DoorLockCC.d.ts +837 -0
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -0
- package/build/esm/cc/DoorLockCC.js +1270 -0
- package/build/esm/cc/DoorLockCC.js.map +1 -0
- package/build/esm/cc/DoorLockLoggingCC.d.ts +77 -0
- package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -0
- package/build/esm/cc/DoorLockLoggingCC.js +316 -0
- package/build/esm/cc/DoorLockLoggingCC.js.map +1 -0
- package/build/esm/cc/EnergyProductionCC.d.ts +77 -0
- package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -0
- package/build/esm/cc/EnergyProductionCC.js +213 -0
- package/build/esm/cc/EnergyProductionCC.js.map +1 -0
- package/build/esm/cc/EntryControlCC.d.ts +231 -0
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -0
- package/build/esm/cc/EntryControlCC.js +581 -0
- package/build/esm/cc/EntryControlCC.js.map +1 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +359 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +1142 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -0
- package/build/esm/cc/HailCC.d.ts +6 -0
- package/build/esm/cc/HailCC.d.ts.map +1 -0
- package/build/esm/cc/HailCC.js +21 -0
- package/build/esm/cc/HailCC.js.map +1 -0
- package/build/esm/cc/HumidityControlModeCC.d.ts +111 -0
- package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -0
- package/build/esm/cc/HumidityControlModeCC.js +305 -0
- package/build/esm/cc/HumidityControlModeCC.js.map +1 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +60 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.js +137 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -0
- package/build/esm/cc/HumidityControlSetpointCC.d.ts +209 -0
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -0
- package/build/esm/cc/HumidityControlSetpointCC.js +645 -0
- package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -0
- package/build/esm/cc/InclusionControllerCC.d.ts +42 -0
- package/build/esm/cc/InclusionControllerCC.d.ts.map +1 -0
- package/build/esm/cc/InclusionControllerCC.js +133 -0
- package/build/esm/cc/InclusionControllerCC.js.map +1 -0
- package/build/esm/cc/IndicatorCC.d.ts +338 -0
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -0
- package/build/esm/cc/IndicatorCC.js +1317 -0
- package/build/esm/cc/IndicatorCC.js.map +1 -0
- package/build/esm/cc/IrrigationCC.d.ts +1496 -0
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -0
- package/build/esm/cc/IrrigationCC.js +2038 -0
- package/build/esm/cc/IrrigationCC.js.map +1 -0
- package/build/esm/cc/LanguageCC.d.ts +101 -0
- package/build/esm/cc/LanguageCC.d.ts.map +1 -0
- package/build/esm/cc/LanguageCC.js +243 -0
- package/build/esm/cc/LanguageCC.js.map +1 -0
- package/build/esm/cc/LockCC.d.ts +73 -0
- package/build/esm/cc/LockCC.d.ts.map +1 -0
- package/build/esm/cc/LockCC.js +197 -0
- package/build/esm/cc/LockCC.js.map +1 -0
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts +32 -0
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -0
- package/build/esm/cc/ManufacturerProprietaryCC.js +201 -0
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -0
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +171 -0
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -0
- package/build/esm/cc/ManufacturerSpecificCC.js +315 -0
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -0
- package/build/esm/cc/MeterCC.d.ts +318 -0
- package/build/esm/cc/MeterCC.d.ts.map +1 -0
- package/build/esm/cc/MeterCC.js +1308 -0
- package/build/esm/cc/MeterCC.js.map +1 -0
- package/build/esm/cc/MultiChannelAssociationCC.d.ts +241 -0
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -0
- package/build/esm/cc/MultiChannelAssociationCC.js +981 -0
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -0
- package/build/esm/cc/MultiChannelCC.d.ts +394 -0
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -0
- package/build/esm/cc/MultiChannelCC.js +1127 -0
- package/build/esm/cc/MultiChannelCC.js.map +1 -0
- package/build/esm/cc/MultiCommandCC.d.ts +27 -0
- package/build/esm/cc/MultiCommandCC.d.ts.map +1 -0
- package/build/esm/cc/MultiCommandCC.js +142 -0
- package/build/esm/cc/MultiCommandCC.js.map +1 -0
- package/build/esm/cc/MultilevelSensorCC.d.ts +185 -0
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -0
- package/build/esm/cc/MultilevelSensorCC.js +753 -0
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -0
- package/build/esm/cc/MultilevelSwitchCC.d.ts +357 -0
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -0
- package/build/esm/cc/MultilevelSwitchCC.js +810 -0
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -0
- package/build/esm/cc/NoOperationCC.d.ts +9 -0
- package/build/esm/cc/NoOperationCC.d.ts.map +1 -0
- package/build/esm/cc/NoOperationCC.js +39 -0
- package/build/esm/cc/NoOperationCC.js.map +1 -0
- package/build/esm/cc/NodeNamingCC.d.ts +118 -0
- package/build/esm/cc/NodeNamingCC.d.ts.map +1 -0
- package/build/esm/cc/NodeNamingCC.js +345 -0
- package/build/esm/cc/NodeNamingCC.js.map +1 -0
- package/build/esm/cc/NotificationCC.d.ts +479 -0
- package/build/esm/cc/NotificationCC.d.ts.map +1 -0
- package/build/esm/cc/NotificationCC.js +1350 -0
- package/build/esm/cc/NotificationCC.js.map +1 -0
- package/build/esm/cc/PowerlevelCC.d.ts +82 -0
- package/build/esm/cc/PowerlevelCC.d.ts.map +1 -0
- package/build/esm/cc/PowerlevelCC.js +485 -0
- package/build/esm/cc/PowerlevelCC.js.map +1 -0
- package/build/esm/cc/ProtectionCC.d.ts +325 -0
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -0
- package/build/esm/cc/ProtectionCC.js +669 -0
- package/build/esm/cc/ProtectionCC.js.map +1 -0
- package/build/esm/cc/SceneActivationCC.d.ts +89 -0
- package/build/esm/cc/SceneActivationCC.d.ts.map +1 -0
- package/build/esm/cc/SceneActivationCC.js +166 -0
- package/build/esm/cc/SceneActivationCC.js.map +1 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +120 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.js +374 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -0
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts +129 -0
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -0
- package/build/esm/cc/SceneControllerConfigurationCC.js +446 -0
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -0
- package/build/esm/cc/ScheduleEntryLockCC.d.ts +434 -0
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -0
- package/build/esm/cc/ScheduleEntryLockCC.js +1826 -0
- package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -0
- package/build/esm/cc/Security2CC.d.ts +251 -0
- package/build/esm/cc/Security2CC.d.ts.map +1 -0
- package/build/esm/cc/Security2CC.js +1814 -0
- package/build/esm/cc/Security2CC.js.map +1 -0
- package/build/esm/cc/SecurityCC.d.ts +128 -0
- package/build/esm/cc/SecurityCC.d.ts.map +1 -0
- package/build/esm/cc/SecurityCC.js +800 -0
- package/build/esm/cc/SecurityCC.js.map +1 -0
- package/build/esm/cc/SoundSwitchCC.d.ts +232 -0
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -0
- package/build/esm/cc/SoundSwitchCC.js +633 -0
- package/build/esm/cc/SoundSwitchCC.js.map +1 -0
- package/build/esm/cc/SupervisionCC.d.ts +104 -0
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -0
- package/build/esm/cc/SupervisionCC.js +319 -0
- package/build/esm/cc/SupervisionCC.js.map +1 -0
- package/build/esm/cc/ThermostatFanModeCC.d.ts +141 -0
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatFanModeCC.js +359 -0
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -0
- package/build/esm/cc/ThermostatFanStateCC.d.ts +60 -0
- package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatFanStateCC.js +139 -0
- package/build/esm/cc/ThermostatFanStateCC.js.map +1 -0
- package/build/esm/cc/ThermostatModeCC.d.ts +150 -0
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatModeCC.js +426 -0
- package/build/esm/cc/ThermostatModeCC.js.map +1 -0
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts +61 -0
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatOperatingStateCC.js +135 -0
- package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -0
- package/build/esm/cc/ThermostatSetbackCC.d.ts +46 -0
- package/build/esm/cc/ThermostatSetbackCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatSetbackCC.js +244 -0
- package/build/esm/cc/ThermostatSetbackCC.js.map +1 -0
- package/build/esm/cc/ThermostatSetpointCC.d.ts +197 -0
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatSetpointCC.js +655 -0
- package/build/esm/cc/ThermostatSetpointCC.js.map +1 -0
- package/build/esm/cc/TimeCC.d.ts +88 -0
- package/build/esm/cc/TimeCC.d.ts.map +1 -0
- package/build/esm/cc/TimeCC.js +451 -0
- package/build/esm/cc/TimeCC.js.map +1 -0
- package/build/esm/cc/TimeParametersCC.d.ts +72 -0
- package/build/esm/cc/TimeParametersCC.d.ts.map +1 -0
- package/build/esm/cc/TimeParametersCC.js +300 -0
- package/build/esm/cc/TimeParametersCC.js.map +1 -0
- package/build/esm/cc/TransportServiceCC.d.ts +107 -0
- package/build/esm/cc/TransportServiceCC.d.ts.map +1 -0
- package/build/esm/cc/TransportServiceCC.js +422 -0
- package/build/esm/cc/TransportServiceCC.js.map +1 -0
- package/build/esm/cc/UserCodeCC.d.ts +683 -0
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -0
- package/build/esm/cc/UserCodeCC.js +1695 -0
- package/build/esm/cc/UserCodeCC.js.map +1 -0
- package/build/esm/cc/VersionCC.d.ts +469 -0
- package/build/esm/cc/VersionCC.d.ts.map +1 -0
- package/build/esm/cc/VersionCC.js +862 -0
- package/build/esm/cc/VersionCC.js.map +1 -0
- package/build/esm/cc/WakeUpCC.d.ts +150 -0
- package/build/esm/cc/WakeUpCC.d.ts.map +1 -0
- package/build/esm/cc/WakeUpCC.js +438 -0
- package/build/esm/cc/WakeUpCC.js.map +1 -0
- package/build/esm/cc/WindowCoveringCC.d.ts +315 -0
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -0
- package/build/esm/cc/WindowCoveringCC.js +780 -0
- package/build/esm/cc/WindowCoveringCC.js.map +1 -0
- package/build/esm/cc/ZWaveLongRangeCC.d.ts +4 -0
- package/build/esm/cc/ZWaveLongRangeCC.d.ts.map +1 -0
- package/build/esm/cc/ZWaveLongRangeCC.js +17 -0
- package/build/esm/cc/ZWaveLongRangeCC.js.map +1 -0
- package/build/esm/cc/ZWavePlusCC.d.ts +163 -0
- package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -0
- package/build/esm/cc/ZWavePlusCC.js +267 -0
- package/build/esm/cc/ZWavePlusCC.js.map +1 -0
- package/build/esm/cc/ZWaveProtocolCC.d.ts +344 -0
- package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -0
- package/build/esm/cc/ZWaveProtocolCC.js +1030 -0
- package/build/esm/cc/ZWaveProtocolCC.js.map +1 -0
- package/build/esm/cc/index.d.ts +132 -0
- package/build/esm/cc/index.d.ts.map +1 -0
- package/build/esm/cc/index.js +71 -0
- package/build/esm/cc/index.js.map +1 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.d.ts +64 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.d.ts.map +1 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.js +79 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.js.map +1 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts +79 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js +385 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js.map +1 -0
- package/build/esm/index.d.ts +15 -0
- package/build/esm/index.d.ts.map +1 -0
- package/build/esm/index.js +14 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/index_safe.d.ts +3 -0
- package/build/esm/index_safe.d.ts.map +1 -0
- package/build/esm/index_safe.js +4 -0
- package/build/esm/index_safe.js.map +1 -0
- package/build/esm/lib/API.d.ts +271 -0
- package/build/esm/lib/API.d.ts.map +1 -0
- package/build/esm/lib/API.js +448 -0
- package/build/esm/lib/API.js.map +1 -0
- package/build/esm/lib/CommandClass.d.ts +234 -0
- package/build/esm/lib/CommandClass.d.ts.map +1 -0
- package/build/esm/lib/CommandClass.js +781 -0
- package/build/esm/lib/CommandClass.js.map +1 -0
- package/build/esm/lib/CommandClassDecorators.d.ts +112 -0
- package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -0
- package/build/esm/lib/CommandClassDecorators.js +229 -0
- package/build/esm/lib/CommandClassDecorators.js.map +1 -0
- package/build/esm/lib/EncapsulatingCommandClass.d.ts +22 -0
- package/build/esm/lib/EncapsulatingCommandClass.d.ts.map +1 -0
- package/build/esm/lib/EncapsulatingCommandClass.js +56 -0
- package/build/esm/lib/EncapsulatingCommandClass.js.map +1 -0
- package/build/esm/lib/ICommandClassContainer.d.ts +2 -0
- package/build/esm/lib/ICommandClassContainer.d.ts.map +1 -0
- package/build/esm/lib/ICommandClassContainer.js +2 -0
- package/build/esm/lib/ICommandClassContainer.js.map +1 -0
- package/build/esm/lib/NotificationEventPayload.d.ts +10 -0
- package/build/esm/lib/NotificationEventPayload.d.ts.map +1 -0
- package/build/esm/lib/NotificationEventPayload.js +7 -0
- package/build/esm/lib/NotificationEventPayload.js.map +1 -0
- package/build/esm/lib/Security2/Extension.d.ts +106 -0
- package/build/esm/lib/Security2/Extension.d.ts.map +1 -0
- package/build/esm/lib/Security2/Extension.js +296 -0
- package/build/esm/lib/Security2/Extension.js.map +1 -0
- package/build/esm/lib/Security2/shared.d.ts +37 -0
- package/build/esm/lib/Security2/shared.d.ts.map +1 -0
- package/build/esm/lib/Security2/shared.js +40 -0
- package/build/esm/lib/Security2/shared.js.map +1 -0
- package/build/esm/lib/SetValueResult.d.ts +55 -0
- package/build/esm/lib/SetValueResult.d.ts.map +1 -0
- package/build/esm/lib/SetValueResult.js +53 -0
- package/build/esm/lib/SetValueResult.js.map +1 -0
- package/build/esm/lib/Values.d.ts +223 -0
- package/build/esm/lib/Values.d.ts.map +1 -0
- package/build/esm/lib/Values.js +169 -0
- package/build/esm/lib/Values.js.map +1 -0
- package/build/esm/lib/_Types.d.ts +1461 -0
- package/build/esm/lib/_Types.d.ts.map +1 -0
- package/build/esm/lib/_Types.js +1432 -0
- package/build/esm/lib/_Types.js.map +1 -0
- package/build/esm/lib/serializers.d.ts +34 -0
- package/build/esm/lib/serializers.d.ts.map +1 -0
- package/build/esm/lib/serializers.js +98 -0
- package/build/esm/lib/serializers.js.map +1 -0
- package/build/esm/lib/utils.d.ts +17 -0
- package/build/esm/lib/utils.d.ts.map +1 -0
- package/build/esm/lib/utils.js +847 -0
- package/build/esm/lib/utils.js.map +1 -0
- package/build/esm/package.json +3 -0
- package/package.json +28 -23
- package/build/cc/AlarmSensorCC.d.ts +0 -194
- package/build/cc/AlarmSensorCC.d.ts.map +0 -1
- package/build/cc/AlarmSensorCC.js +0 -395
- package/build/cc/AlarmSensorCC.js.map +0 -1
- package/build/cc/AssociationCC.d.ts +0 -253
- package/build/cc/AssociationCC.d.ts.map +0 -1
- package/build/cc/AssociationCC.js +0 -732
- package/build/cc/AssociationCC.js.map +0 -1
- package/build/cc/AssociationGroupInfoCC.d.ts +0 -230
- package/build/cc/AssociationGroupInfoCC.d.ts.map +0 -1
- package/build/cc/AssociationGroupInfoCC.js +0 -772
- package/build/cc/AssociationGroupInfoCC.js.map +0 -1
- package/build/cc/BarrierOperatorCC.d.ts +0 -243
- package/build/cc/BarrierOperatorCC.d.ts.map +0 -1
- package/build/cc/BarrierOperatorCC.js +0 -613
- package/build/cc/BarrierOperatorCC.js.map +0 -1
- package/build/cc/BasicCC.d.ts +0 -191
- package/build/cc/BasicCC.d.ts.map +0 -1
- package/build/cc/BasicCC.js +0 -393
- package/build/cc/BasicCC.js.map +0 -1
- package/build/cc/BatteryCC.d.ts +0 -406
- package/build/cc/BatteryCC.d.ts.map +0 -1
- package/build/cc/BatteryCC.js +0 -516
- package/build/cc/BatteryCC.js.map +0 -1
- package/build/cc/BinarySensorCC.d.ts +0 -122
- package/build/cc/BinarySensorCC.d.ts.map +0 -1
- package/build/cc/BinarySensorCC.js +0 -420
- package/build/cc/BinarySensorCC.js.map +0 -1
- package/build/cc/BinarySwitchCC.d.ts +0 -139
- package/build/cc/BinarySwitchCC.d.ts.map +0 -1
- package/build/cc/BinarySwitchCC.js +0 -365
- package/build/cc/BinarySwitchCC.js.map +0 -1
- package/build/cc/CRC16CC.d.ts +0 -29
- package/build/cc/CRC16CC.d.ts.map +0 -1
- package/build/cc/CRC16CC.js +0 -126
- package/build/cc/CRC16CC.js.map +0 -1
- package/build/cc/CentralSceneCC.d.ts +0 -210
- package/build/cc/CentralSceneCC.d.ts.map +0 -1
- package/build/cc/CentralSceneCC.js +0 -453
- package/build/cc/CentralSceneCC.js.map +0 -1
- package/build/cc/ClimateControlScheduleCC.d.ts +0 -177
- package/build/cc/ClimateControlScheduleCC.d.ts.map +0 -1
- package/build/cc/ClimateControlScheduleCC.js +0 -469
- package/build/cc/ClimateControlScheduleCC.js.map +0 -1
- package/build/cc/ClockCC.d.ts +0 -47
- package/build/cc/ClockCC.d.ts.map +0 -1
- package/build/cc/ClockCC.js +0 -208
- package/build/cc/ClockCC.js.map +0 -1
- package/build/cc/ColorSwitchCC.d.ts +0 -339
- package/build/cc/ColorSwitchCC.d.ts.map +0 -1
- package/build/cc/ColorSwitchCC.js +0 -1152
- package/build/cc/ColorSwitchCC.js.map +0 -1
- package/build/cc/ConfigurationCC.d.ts +0 -396
- package/build/cc/ConfigurationCC.d.ts.map +0 -1
- package/build/cc/ConfigurationCC.js +0 -2458
- package/build/cc/ConfigurationCC.js.map +0 -1
- package/build/cc/DeviceResetLocallyCC.d.ts +0 -17
- package/build/cc/DeviceResetLocallyCC.d.ts.map +0 -1
- package/build/cc/DeviceResetLocallyCC.js +0 -76
- package/build/cc/DeviceResetLocallyCC.js.map +0 -1
- package/build/cc/DoorLockCC.d.ts +0 -837
- package/build/cc/DoorLockCC.d.ts.map +0 -1
- package/build/cc/DoorLockCC.js +0 -1273
- package/build/cc/DoorLockCC.js.map +0 -1
- package/build/cc/DoorLockLoggingCC.d.ts +0 -77
- package/build/cc/DoorLockLoggingCC.d.ts.map +0 -1
- package/build/cc/DoorLockLoggingCC.js +0 -319
- package/build/cc/DoorLockLoggingCC.js.map +0 -1
- package/build/cc/EnergyProductionCC.d.ts +0 -77
- package/build/cc/EnergyProductionCC.d.ts.map +0 -1
- package/build/cc/EnergyProductionCC.js +0 -216
- package/build/cc/EnergyProductionCC.js.map +0 -1
- package/build/cc/EntryControlCC.d.ts +0 -231
- package/build/cc/EntryControlCC.d.ts.map +0 -1
- package/build/cc/EntryControlCC.js +0 -607
- package/build/cc/EntryControlCC.js.map +0 -1
- package/build/cc/FirmwareUpdateMetaDataCC.d.ts +0 -359
- package/build/cc/FirmwareUpdateMetaDataCC.d.ts.map +0 -1
- package/build/cc/FirmwareUpdateMetaDataCC.js +0 -1145
- package/build/cc/FirmwareUpdateMetaDataCC.js.map +0 -1
- package/build/cc/HailCC.d.ts +0 -6
- package/build/cc/HailCC.d.ts.map +0 -1
- package/build/cc/HailCC.js +0 -24
- package/build/cc/HailCC.js.map +0 -1
- package/build/cc/HumidityControlModeCC.d.ts +0 -111
- package/build/cc/HumidityControlModeCC.d.ts.map +0 -1
- package/build/cc/HumidityControlModeCC.js +0 -308
- package/build/cc/HumidityControlModeCC.js.map +0 -1
- package/build/cc/HumidityControlOperatingStateCC.d.ts +0 -60
- package/build/cc/HumidityControlOperatingStateCC.d.ts.map +0 -1
- package/build/cc/HumidityControlOperatingStateCC.js +0 -140
- package/build/cc/HumidityControlOperatingStateCC.js.map +0 -1
- package/build/cc/HumidityControlSetpointCC.d.ts +0 -209
- package/build/cc/HumidityControlSetpointCC.d.ts.map +0 -1
- package/build/cc/HumidityControlSetpointCC.js +0 -648
- package/build/cc/HumidityControlSetpointCC.js.map +0 -1
- package/build/cc/InclusionControllerCC.d.ts +0 -42
- package/build/cc/InclusionControllerCC.d.ts.map +0 -1
- package/build/cc/InclusionControllerCC.js +0 -136
- package/build/cc/InclusionControllerCC.js.map +0 -1
- package/build/cc/IndicatorCC.d.ts +0 -338
- package/build/cc/IndicatorCC.d.ts.map +0 -1
- package/build/cc/IndicatorCC.js +0 -1320
- package/build/cc/IndicatorCC.js.map +0 -1
- package/build/cc/IrrigationCC.d.ts +0 -1496
- package/build/cc/IrrigationCC.d.ts.map +0 -1
- package/build/cc/IrrigationCC.js +0 -2041
- package/build/cc/IrrigationCC.js.map +0 -1
- package/build/cc/LanguageCC.d.ts +0 -101
- package/build/cc/LanguageCC.d.ts.map +0 -1
- package/build/cc/LanguageCC.js +0 -246
- package/build/cc/LanguageCC.js.map +0 -1
- package/build/cc/LockCC.d.ts +0 -73
- package/build/cc/LockCC.d.ts.map +0 -1
- package/build/cc/LockCC.js +0 -200
- package/build/cc/LockCC.js.map +0 -1
- package/build/cc/ManufacturerProprietaryCC.d.ts +0 -32
- package/build/cc/ManufacturerProprietaryCC.d.ts.map +0 -1
- package/build/cc/ManufacturerProprietaryCC.js +0 -204
- package/build/cc/ManufacturerProprietaryCC.js.map +0 -1
- package/build/cc/ManufacturerSpecificCC.d.ts +0 -171
- package/build/cc/ManufacturerSpecificCC.d.ts.map +0 -1
- package/build/cc/ManufacturerSpecificCC.js +0 -318
- package/build/cc/ManufacturerSpecificCC.js.map +0 -1
- package/build/cc/MeterCC.d.ts +0 -318
- package/build/cc/MeterCC.d.ts.map +0 -1
- package/build/cc/MeterCC.js +0 -1312
- package/build/cc/MeterCC.js.map +0 -1
- package/build/cc/MultiChannelAssociationCC.d.ts +0 -241
- package/build/cc/MultiChannelAssociationCC.d.ts.map +0 -1
- package/build/cc/MultiChannelAssociationCC.js +0 -1007
- package/build/cc/MultiChannelAssociationCC.js.map +0 -1
- package/build/cc/MultiChannelCC.d.ts +0 -394
- package/build/cc/MultiChannelCC.d.ts.map +0 -1
- package/build/cc/MultiChannelCC.js +0 -1130
- package/build/cc/MultiChannelCC.js.map +0 -1
- package/build/cc/MultiCommandCC.d.ts +0 -27
- package/build/cc/MultiCommandCC.d.ts.map +0 -1
- package/build/cc/MultiCommandCC.js +0 -145
- package/build/cc/MultiCommandCC.js.map +0 -1
- package/build/cc/MultilevelSensorCC.d.ts +0 -185
- package/build/cc/MultilevelSensorCC.d.ts.map +0 -1
- package/build/cc/MultilevelSensorCC.js +0 -756
- package/build/cc/MultilevelSensorCC.js.map +0 -1
- package/build/cc/MultilevelSwitchCC.d.ts +0 -357
- package/build/cc/MultilevelSwitchCC.d.ts.map +0 -1
- package/build/cc/MultilevelSwitchCC.js +0 -813
- package/build/cc/MultilevelSwitchCC.js.map +0 -1
- package/build/cc/NoOperationCC.d.ts +0 -9
- package/build/cc/NoOperationCC.d.ts.map +0 -1
- package/build/cc/NoOperationCC.js +0 -42
- package/build/cc/NoOperationCC.js.map +0 -1
- package/build/cc/NodeNamingCC.d.ts +0 -118
- package/build/cc/NodeNamingCC.d.ts.map +0 -1
- package/build/cc/NodeNamingCC.js +0 -348
- package/build/cc/NodeNamingCC.js.map +0 -1
- package/build/cc/NotificationCC.d.ts +0 -479
- package/build/cc/NotificationCC.d.ts.map +0 -1
- package/build/cc/NotificationCC.js +0 -1379
- package/build/cc/NotificationCC.js.map +0 -1
- package/build/cc/PowerlevelCC.d.ts +0 -82
- package/build/cc/PowerlevelCC.d.ts.map +0 -1
- package/build/cc/PowerlevelCC.js +0 -488
- package/build/cc/PowerlevelCC.js.map +0 -1
- package/build/cc/ProtectionCC.d.ts +0 -325
- package/build/cc/ProtectionCC.d.ts.map +0 -1
- package/build/cc/ProtectionCC.js +0 -672
- package/build/cc/ProtectionCC.js.map +0 -1
- package/build/cc/SceneActivationCC.d.ts +0 -89
- package/build/cc/SceneActivationCC.d.ts.map +0 -1
- package/build/cc/SceneActivationCC.js +0 -169
- package/build/cc/SceneActivationCC.js.map +0 -1
- package/build/cc/SceneActuatorConfigurationCC.d.ts +0 -120
- package/build/cc/SceneActuatorConfigurationCC.d.ts.map +0 -1
- package/build/cc/SceneActuatorConfigurationCC.js +0 -377
- package/build/cc/SceneActuatorConfigurationCC.js.map +0 -1
- package/build/cc/SceneControllerConfigurationCC.d.ts +0 -129
- package/build/cc/SceneControllerConfigurationCC.d.ts.map +0 -1
- package/build/cc/SceneControllerConfigurationCC.js +0 -449
- package/build/cc/SceneControllerConfigurationCC.js.map +0 -1
- package/build/cc/ScheduleEntryLockCC.d.ts +0 -434
- package/build/cc/ScheduleEntryLockCC.d.ts.map +0 -1
- package/build/cc/ScheduleEntryLockCC.js +0 -1829
- package/build/cc/ScheduleEntryLockCC.js.map +0 -1
- package/build/cc/Security2CC.d.ts +0 -251
- package/build/cc/Security2CC.d.ts.map +0 -1
- package/build/cc/Security2CC.js +0 -1817
- package/build/cc/Security2CC.js.map +0 -1
- package/build/cc/SecurityCC.d.ts +0 -128
- package/build/cc/SecurityCC.d.ts.map +0 -1
- package/build/cc/SecurityCC.js +0 -803
- package/build/cc/SecurityCC.js.map +0 -1
- package/build/cc/SoundSwitchCC.d.ts +0 -232
- package/build/cc/SoundSwitchCC.d.ts.map +0 -1
- package/build/cc/SoundSwitchCC.js +0 -636
- package/build/cc/SoundSwitchCC.js.map +0 -1
- package/build/cc/SupervisionCC.d.ts +0 -104
- package/build/cc/SupervisionCC.d.ts.map +0 -1
- package/build/cc/SupervisionCC.js +0 -322
- package/build/cc/SupervisionCC.js.map +0 -1
- package/build/cc/ThermostatFanModeCC.d.ts +0 -141
- package/build/cc/ThermostatFanModeCC.d.ts.map +0 -1
- package/build/cc/ThermostatFanModeCC.js +0 -362
- package/build/cc/ThermostatFanModeCC.js.map +0 -1
- package/build/cc/ThermostatFanStateCC.d.ts +0 -60
- package/build/cc/ThermostatFanStateCC.d.ts.map +0 -1
- package/build/cc/ThermostatFanStateCC.js +0 -142
- package/build/cc/ThermostatFanStateCC.js.map +0 -1
- package/build/cc/ThermostatModeCC.d.ts +0 -150
- package/build/cc/ThermostatModeCC.d.ts.map +0 -1
- package/build/cc/ThermostatModeCC.js +0 -429
- package/build/cc/ThermostatModeCC.js.map +0 -1
- package/build/cc/ThermostatOperatingStateCC.d.ts +0 -61
- package/build/cc/ThermostatOperatingStateCC.d.ts.map +0 -1
- package/build/cc/ThermostatOperatingStateCC.js +0 -138
- package/build/cc/ThermostatOperatingStateCC.js.map +0 -1
- package/build/cc/ThermostatSetbackCC.d.ts +0 -46
- package/build/cc/ThermostatSetbackCC.d.ts.map +0 -1
- package/build/cc/ThermostatSetbackCC.js +0 -247
- package/build/cc/ThermostatSetbackCC.js.map +0 -1
- package/build/cc/ThermostatSetpointCC.d.ts +0 -197
- package/build/cc/ThermostatSetpointCC.d.ts.map +0 -1
- package/build/cc/ThermostatSetpointCC.js +0 -658
- package/build/cc/ThermostatSetpointCC.js.map +0 -1
- package/build/cc/TimeCC.d.ts +0 -88
- package/build/cc/TimeCC.d.ts.map +0 -1
- package/build/cc/TimeCC.js +0 -454
- package/build/cc/TimeCC.js.map +0 -1
- package/build/cc/TimeParametersCC.d.ts +0 -72
- package/build/cc/TimeParametersCC.d.ts.map +0 -1
- package/build/cc/TimeParametersCC.js +0 -303
- package/build/cc/TimeParametersCC.js.map +0 -1
- package/build/cc/TransportServiceCC.d.ts +0 -107
- package/build/cc/TransportServiceCC.d.ts.map +0 -1
- package/build/cc/TransportServiceCC.js +0 -426
- package/build/cc/TransportServiceCC.js.map +0 -1
- package/build/cc/UserCodeCC.d.ts +0 -683
- package/build/cc/UserCodeCC.d.ts.map +0 -1
- package/build/cc/UserCodeCC.js +0 -1699
- package/build/cc/UserCodeCC.js.map +0 -1
- package/build/cc/VersionCC.d.ts +0 -469
- package/build/cc/VersionCC.d.ts.map +0 -1
- package/build/cc/VersionCC.js +0 -865
- package/build/cc/VersionCC.js.map +0 -1
- package/build/cc/WakeUpCC.d.ts +0 -150
- package/build/cc/WakeUpCC.d.ts.map +0 -1
- package/build/cc/WakeUpCC.js +0 -441
- package/build/cc/WakeUpCC.js.map +0 -1
- package/build/cc/WindowCoveringCC.d.ts +0 -315
- package/build/cc/WindowCoveringCC.d.ts.map +0 -1
- package/build/cc/WindowCoveringCC.js +0 -783
- package/build/cc/WindowCoveringCC.js.map +0 -1
- package/build/cc/ZWaveLongRangeCC.d.ts +0 -4
- package/build/cc/ZWaveLongRangeCC.d.ts.map +0 -1
- package/build/cc/ZWaveLongRangeCC.js +0 -20
- package/build/cc/ZWaveLongRangeCC.js.map +0 -1
- package/build/cc/ZWavePlusCC.d.ts +0 -163
- package/build/cc/ZWavePlusCC.d.ts.map +0 -1
- package/build/cc/ZWavePlusCC.js +0 -270
- package/build/cc/ZWavePlusCC.js.map +0 -1
- package/build/cc/ZWaveProtocolCC.d.ts +0 -344
- package/build/cc/ZWaveProtocolCC.d.ts.map +0 -1
- package/build/cc/ZWaveProtocolCC.js +0 -1033
- package/build/cc/ZWaveProtocolCC.js.map +0 -1
- package/build/cc/index.d.ts +0 -132
- package/build/cc/index.d.ts.map +0 -1
- package/build/cc/index.js +0 -627
- package/build/cc/index.js.map +0 -1
- package/build/cc/manufacturerProprietary/Decorators.d.ts +0 -64
- package/build/cc/manufacturerProprietary/Decorators.d.ts.map +0 -1
- package/build/cc/manufacturerProprietary/Decorators.js +0 -83
- package/build/cc/manufacturerProprietary/Decorators.js.map +0 -1
- package/build/cc/manufacturerProprietary/FibaroCC.d.ts +0 -79
- package/build/cc/manufacturerProprietary/FibaroCC.d.ts.map +0 -1
- package/build/cc/manufacturerProprietary/FibaroCC.js +0 -392
- package/build/cc/manufacturerProprietary/FibaroCC.js.map +0 -1
- package/build/index.d.ts +0 -15
- package/build/index.d.ts.map +0 -1
- package/build/index.js +0 -52
- package/build/index.js.map +0 -1
- package/build/index_safe.d.ts +0 -3
- package/build/index_safe.d.ts.map +0 -1
- package/build/index_safe.js +0 -20
- package/build/index_safe.js.map +0 -1
- package/build/lib/API.d.ts +0 -271
- package/build/lib/API.d.ts.map +0 -1
- package/build/lib/API.js +0 -458
- package/build/lib/API.js.map +0 -1
- package/build/lib/CommandClass.d.ts +0 -234
- package/build/lib/CommandClass.d.ts.map +0 -1
- package/build/lib/CommandClass.js +0 -788
- package/build/lib/CommandClass.js.map +0 -1
- package/build/lib/CommandClassDecorators.d.ts +0 -112
- package/build/lib/CommandClassDecorators.d.ts.map +0 -1
- package/build/lib/CommandClassDecorators.js +0 -243
- package/build/lib/CommandClassDecorators.js.map +0 -1
- package/build/lib/EncapsulatingCommandClass.d.ts +0 -22
- package/build/lib/EncapsulatingCommandClass.d.ts.map +0 -1
- package/build/lib/EncapsulatingCommandClass.js +0 -61
- package/build/lib/EncapsulatingCommandClass.js.map +0 -1
- package/build/lib/ICommandClassContainer.d.ts.map +0 -1
- package/build/lib/ICommandClassContainer.js +0 -3
- package/build/lib/ICommandClassContainer.js.map +0 -1
- package/build/lib/NotificationEventPayload.d.ts +0 -10
- package/build/lib/NotificationEventPayload.d.ts.map +0 -1
- package/build/lib/NotificationEventPayload.js +0 -10
- package/build/lib/NotificationEventPayload.js.map +0 -1
- package/build/lib/Security2/Extension.d.ts.map +0 -1
- package/build/lib/Security2/Extension.js +0 -303
- package/build/lib/Security2/Extension.js.map +0 -1
- package/build/lib/Security2/shared.d.ts.map +0 -1
- package/build/lib/Security2/shared.js +0 -43
- package/build/lib/Security2/shared.js.map +0 -1
- package/build/lib/SetValueResult.d.ts.map +0 -1
- package/build/lib/SetValueResult.js +0 -60
- package/build/lib/SetValueResult.js.map +0 -1
- package/build/lib/Values.d.ts +0 -223
- package/build/lib/Values.d.ts.map +0 -1
- package/build/lib/Values.js +0 -172
- package/build/lib/Values.js.map +0 -1
- package/build/lib/_Types.d.ts.map +0 -1
- package/build/lib/_Types.js +0 -1443
- package/build/lib/_Types.js.map +0 -1
- package/build/lib/serializers.d.ts +0 -34
- package/build/lib/serializers.d.ts.map +0 -1
- package/build/lib/serializers.js +0 -107
- package/build/lib/serializers.js.map +0 -1
- package/build/lib/utils.d.ts +0 -17
- package/build/lib/utils.d.ts.map +0 -1
- package/build/lib/utils.js +0 -860
- package/build/lib/utils.js.map +0 -1
- /package/build/{lib → cjs/lib}/ICommandClassContainer.d.ts +0 -0
- /package/build/{lib → cjs/lib}/Security2/Extension.d.ts +0 -0
- /package/build/{lib → cjs/lib}/Security2/shared.d.ts +0 -0
- /package/build/{lib → cjs/lib}/SetValueResult.d.ts +0 -0
- /package/build/{lib → cjs/lib}/_Types.d.ts +0 -0
package/build/cc/VersionCC.js
DELETED
|
@@ -1,865 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var VersionCCReport_1, VersionCCCommandClassReport_1, VersionCCCommandClassGet_1, VersionCCCapabilitiesReport_1, VersionCCZWaveSoftwareReport_1;
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.VersionCCZWaveSoftwareGet = exports.VersionCCZWaveSoftwareReport = exports.VersionCCCapabilitiesGet = exports.VersionCCCapabilitiesReport = exports.VersionCCCommandClassGet = exports.VersionCCCommandClassReport = exports.VersionCCGet = exports.VersionCCReport = exports.VersionCC = exports.VersionCCAPI = exports.VersionCCValues = void 0;
|
|
11
|
-
function __assertType(argName, typeName, boundHasError) {
|
|
12
|
-
const { ZWaveError, ZWaveErrorCodes } = require("@zwave-js/core");
|
|
13
|
-
if (boundHasError()) {
|
|
14
|
-
throw new ZWaveError(typeName ? `${argName} is not a ${typeName}` : `${argName} has the wrong type`, ZWaveErrorCodes.Argument_Invalid);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
const __assertType__VersionCCReportOptions = $o => {
|
|
18
|
-
function su__2__3__4__5__6__7__8__9__10__11__12__13_eu($o) {
|
|
19
|
-
return ![0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].includes($o) ? {} : null;
|
|
20
|
-
}
|
|
21
|
-
function _string($o) {
|
|
22
|
-
return typeof $o !== "string" ? {} : null;
|
|
23
|
-
}
|
|
24
|
-
function sa__string_ea_16($o) {
|
|
25
|
-
if (!Array.isArray($o))
|
|
26
|
-
return {};
|
|
27
|
-
for (let i = 0; i < $o.length; i++) {
|
|
28
|
-
const error = _string($o[i]);
|
|
29
|
-
if (error)
|
|
30
|
-
return error;
|
|
31
|
-
}
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
function _number($o) {
|
|
35
|
-
return typeof $o !== "number" ? {} : null;
|
|
36
|
-
}
|
|
37
|
-
function _0($o) {
|
|
38
|
-
if (typeof $o !== "object" || $o === null || Array.isArray($o))
|
|
39
|
-
return {};
|
|
40
|
-
if ("libraryType" in $o && $o["libraryType"] !== undefined) {
|
|
41
|
-
const error = su__2__3__4__5__6__7__8__9__10__11__12__13_eu($o["libraryType"]);
|
|
42
|
-
if (error)
|
|
43
|
-
return error;
|
|
44
|
-
}
|
|
45
|
-
else
|
|
46
|
-
return {};
|
|
47
|
-
if ("protocolVersion" in $o && $o["protocolVersion"] !== undefined) {
|
|
48
|
-
const error = _string($o["protocolVersion"]);
|
|
49
|
-
if (error)
|
|
50
|
-
return error;
|
|
51
|
-
}
|
|
52
|
-
else
|
|
53
|
-
return {};
|
|
54
|
-
if ("firmwareVersions" in $o && $o["firmwareVersions"] !== undefined) {
|
|
55
|
-
const error = sa__string_ea_16($o["firmwareVersions"]);
|
|
56
|
-
if (error)
|
|
57
|
-
return error;
|
|
58
|
-
}
|
|
59
|
-
else
|
|
60
|
-
return {};
|
|
61
|
-
if ("hardwareVersion" in $o && $o["hardwareVersion"] !== undefined) {
|
|
62
|
-
const error = _number($o["hardwareVersion"]);
|
|
63
|
-
if (error)
|
|
64
|
-
return error;
|
|
65
|
-
}
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
return _0($o);
|
|
69
|
-
};
|
|
70
|
-
const __assertType__number = $o => {
|
|
71
|
-
function _number($o) {
|
|
72
|
-
return typeof $o !== "number" ? {} : null;
|
|
73
|
-
}
|
|
74
|
-
return _number($o);
|
|
75
|
-
};
|
|
76
|
-
const safe_1 = require("@zwave-js/core/safe");
|
|
77
|
-
const safe_2 = require("@zwave-js/shared/safe");
|
|
78
|
-
const safe_3 = require("@zwave-js/shared/safe");
|
|
79
|
-
const API_1 = require("../lib/API");
|
|
80
|
-
const CommandClass_1 = require("../lib/CommandClass");
|
|
81
|
-
const CommandClassDecorators_1 = require("../lib/CommandClassDecorators");
|
|
82
|
-
const Values_1 = require("../lib/Values");
|
|
83
|
-
const _Types_1 = require("../lib/_Types");
|
|
84
|
-
exports.VersionCCValues = Object.freeze({
|
|
85
|
-
...Values_1.V.defineStaticCCValues(safe_1.CommandClasses.Version, {
|
|
86
|
-
...Values_1.V.staticProperty("firmwareVersions", {
|
|
87
|
-
...safe_1.ValueMetadata.ReadOnly,
|
|
88
|
-
type: "string[]",
|
|
89
|
-
label: "Z-Wave chip firmware versions",
|
|
90
|
-
}, { supportsEndpoints: false }),
|
|
91
|
-
...Values_1.V.staticProperty("libraryType", {
|
|
92
|
-
...safe_1.ValueMetadata.ReadOnlyNumber,
|
|
93
|
-
label: "Library type",
|
|
94
|
-
states: (0, safe_1.enumValuesToMetadataStates)(safe_1.ZWaveLibraryTypes),
|
|
95
|
-
}, { supportsEndpoints: false }),
|
|
96
|
-
...Values_1.V.staticProperty("protocolVersion", {
|
|
97
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
98
|
-
label: "Z-Wave protocol version",
|
|
99
|
-
}, { supportsEndpoints: false }),
|
|
100
|
-
...Values_1.V.staticProperty("hardwareVersion", {
|
|
101
|
-
...safe_1.ValueMetadata.ReadOnlyNumber,
|
|
102
|
-
label: "Z-Wave chip hardware version",
|
|
103
|
-
}, {
|
|
104
|
-
minVersion: 2,
|
|
105
|
-
supportsEndpoints: false,
|
|
106
|
-
}),
|
|
107
|
-
...Values_1.V.staticProperty("supportsZWaveSoftwareGet", undefined, {
|
|
108
|
-
minVersion: 3,
|
|
109
|
-
internal: true,
|
|
110
|
-
}),
|
|
111
|
-
...Values_1.V.staticProperty("sdkVersion", {
|
|
112
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
113
|
-
label: "SDK version",
|
|
114
|
-
}, {
|
|
115
|
-
minVersion: 3,
|
|
116
|
-
supportsEndpoints: false,
|
|
117
|
-
}),
|
|
118
|
-
...Values_1.V.staticProperty("applicationFrameworkAPIVersion", {
|
|
119
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
120
|
-
label: "Z-Wave application framework API version",
|
|
121
|
-
}, {
|
|
122
|
-
minVersion: 3,
|
|
123
|
-
supportsEndpoints: false,
|
|
124
|
-
}),
|
|
125
|
-
...Values_1.V.staticProperty("applicationFrameworkBuildNumber", {
|
|
126
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
127
|
-
label: "Z-Wave application framework API build number",
|
|
128
|
-
}, {
|
|
129
|
-
minVersion: 3,
|
|
130
|
-
supportsEndpoints: false,
|
|
131
|
-
}),
|
|
132
|
-
...Values_1.V.staticPropertyWithName("serialAPIVersion", "hostInterfaceVersion", {
|
|
133
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
134
|
-
label: "Serial API version",
|
|
135
|
-
}, {
|
|
136
|
-
minVersion: 3,
|
|
137
|
-
supportsEndpoints: false,
|
|
138
|
-
}),
|
|
139
|
-
...Values_1.V.staticPropertyWithName("serialAPIBuildNumber", "hostInterfaceBuildNumber", {
|
|
140
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
141
|
-
label: "Serial API build number",
|
|
142
|
-
}, {
|
|
143
|
-
minVersion: 3,
|
|
144
|
-
supportsEndpoints: false,
|
|
145
|
-
}),
|
|
146
|
-
...Values_1.V.staticProperty("zWaveProtocolVersion", {
|
|
147
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
148
|
-
label: "Z-Wave protocol version",
|
|
149
|
-
}, {
|
|
150
|
-
minVersion: 3,
|
|
151
|
-
supportsEndpoints: false,
|
|
152
|
-
}),
|
|
153
|
-
...Values_1.V.staticProperty("zWaveProtocolBuildNumber", {
|
|
154
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
155
|
-
label: "Z-Wave protocol build number",
|
|
156
|
-
}, {
|
|
157
|
-
minVersion: 3,
|
|
158
|
-
supportsEndpoints: false,
|
|
159
|
-
}),
|
|
160
|
-
...Values_1.V.staticProperty("applicationVersion", {
|
|
161
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
162
|
-
label: "Application version",
|
|
163
|
-
}, {
|
|
164
|
-
minVersion: 3,
|
|
165
|
-
supportsEndpoints: false,
|
|
166
|
-
}),
|
|
167
|
-
...Values_1.V.staticProperty("applicationBuildNumber", {
|
|
168
|
-
...safe_1.ValueMetadata.ReadOnlyString,
|
|
169
|
-
label: "Application build number",
|
|
170
|
-
}, {
|
|
171
|
-
minVersion: 3,
|
|
172
|
-
supportsEndpoints: false,
|
|
173
|
-
}),
|
|
174
|
-
}),
|
|
175
|
-
});
|
|
176
|
-
function parseVersion(buffer) {
|
|
177
|
-
if (buffer[0] === 0 && buffer[1] === 0 && buffer[2] === 0)
|
|
178
|
-
return "unused";
|
|
179
|
-
return `${buffer[0]}.${buffer[1]}.${buffer[2]}`;
|
|
180
|
-
}
|
|
181
|
-
// @noSetValueAPI This CC is read-only
|
|
182
|
-
let VersionCCAPI = class VersionCCAPI extends API_1.PhysicalCCAPI {
|
|
183
|
-
supportsCommand(cmd) {
|
|
184
|
-
switch (cmd) {
|
|
185
|
-
case _Types_1.VersionCommand.Get:
|
|
186
|
-
case _Types_1.VersionCommand.Report:
|
|
187
|
-
case _Types_1.VersionCommand.CommandClassGet:
|
|
188
|
-
case _Types_1.VersionCommand.CommandClassReport:
|
|
189
|
-
return true; // This is mandatory
|
|
190
|
-
case _Types_1.VersionCommand.CapabilitiesGet:
|
|
191
|
-
case _Types_1.VersionCommand.CapabilitiesReport:
|
|
192
|
-
case _Types_1.VersionCommand.ZWaveSoftwareReport:
|
|
193
|
-
return this.version >= 3;
|
|
194
|
-
case _Types_1.VersionCommand.ZWaveSoftwareGet: {
|
|
195
|
-
return this.getValueDB().getValue(exports.VersionCCValues.supportsZWaveSoftwareGet.endpoint(this.endpoint.index));
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
return super.supportsCommand(cmd);
|
|
199
|
-
}
|
|
200
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
201
|
-
async get() {
|
|
202
|
-
this.assertSupportsCommand(_Types_1.VersionCommand, _Types_1.VersionCommand.Get);
|
|
203
|
-
const cc = new VersionCCGet({
|
|
204
|
-
nodeId: this.endpoint.nodeId,
|
|
205
|
-
endpointIndex: this.endpoint.index,
|
|
206
|
-
});
|
|
207
|
-
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
208
|
-
if (response) {
|
|
209
|
-
return (0, safe_3.pick)(response, [
|
|
210
|
-
"libraryType",
|
|
211
|
-
"protocolVersion",
|
|
212
|
-
"firmwareVersions",
|
|
213
|
-
"hardwareVersion",
|
|
214
|
-
]);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
async sendReport(options) {
|
|
218
|
-
__assertType("options", "VersionCCReportOptions", __assertType__VersionCCReportOptions.bind(void 0, options));
|
|
219
|
-
this.assertSupportsCommand(_Types_1.VersionCommand, _Types_1.VersionCommand.Report);
|
|
220
|
-
const cc = new VersionCCReport({
|
|
221
|
-
nodeId: this.endpoint.nodeId,
|
|
222
|
-
endpointIndex: this.endpoint.index,
|
|
223
|
-
...options,
|
|
224
|
-
});
|
|
225
|
-
await this.host.sendCommand(cc, this.commandOptions);
|
|
226
|
-
}
|
|
227
|
-
async getCCVersion(requestedCC) {
|
|
228
|
-
__assertType("requestedCC", "CommandClasses", __assertType__number.bind(void 0, requestedCC));
|
|
229
|
-
this.assertSupportsCommand(_Types_1.VersionCommand, _Types_1.VersionCommand.CommandClassGet);
|
|
230
|
-
const cc = new VersionCCCommandClassGet({
|
|
231
|
-
nodeId: this.endpoint.nodeId,
|
|
232
|
-
endpointIndex: this.endpoint.index,
|
|
233
|
-
requestedCC,
|
|
234
|
-
});
|
|
235
|
-
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
236
|
-
return response?.ccVersion;
|
|
237
|
-
}
|
|
238
|
-
async reportCCVersion(requestedCC) {
|
|
239
|
-
__assertType("requestedCC", "CommandClasses", __assertType__number.bind(void 0, requestedCC));
|
|
240
|
-
this.assertSupportsCommand(_Types_1.VersionCommand, _Types_1.VersionCommand.CommandClassReport);
|
|
241
|
-
let ccVersion;
|
|
242
|
-
switch (requestedCC) {
|
|
243
|
-
case safe_1.CommandClasses["Z-Wave Protocol"]:
|
|
244
|
-
case safe_1.CommandClasses["Z-Wave Long Range"]:
|
|
245
|
-
// These two are only for internal use
|
|
246
|
-
ccVersion = 0;
|
|
247
|
-
break;
|
|
248
|
-
case safe_1.CommandClasses.Hail:
|
|
249
|
-
case safe_1.CommandClasses["Manufacturer Proprietary"]:
|
|
250
|
-
// These CCs are obsolete, we cannot enter them in the certification portal
|
|
251
|
-
// but not doing so fails a certification test. Just respond that they
|
|
252
|
-
// are not supported or controlled
|
|
253
|
-
ccVersion = 0;
|
|
254
|
-
break;
|
|
255
|
-
default:
|
|
256
|
-
ccVersion = (0, CommandClassDecorators_1.getImplementedVersion)(requestedCC);
|
|
257
|
-
break;
|
|
258
|
-
}
|
|
259
|
-
const cc = new VersionCCCommandClassReport({
|
|
260
|
-
nodeId: this.endpoint.nodeId,
|
|
261
|
-
endpointIndex: this.endpoint.index,
|
|
262
|
-
requestedCC,
|
|
263
|
-
ccVersion,
|
|
264
|
-
});
|
|
265
|
-
await this.host.sendCommand(cc, this.commandOptions);
|
|
266
|
-
}
|
|
267
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
268
|
-
async getCapabilities() {
|
|
269
|
-
this.assertSupportsCommand(_Types_1.VersionCommand, _Types_1.VersionCommand.CapabilitiesGet);
|
|
270
|
-
const cc = new VersionCCCapabilitiesGet({
|
|
271
|
-
nodeId: this.endpoint.nodeId,
|
|
272
|
-
endpointIndex: this.endpoint.index,
|
|
273
|
-
});
|
|
274
|
-
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
275
|
-
if (response) {
|
|
276
|
-
return (0, safe_3.pick)(response, ["supportsZWaveSoftwareGet"]);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
async reportCapabilities() {
|
|
280
|
-
this.assertSupportsCommand(_Types_1.VersionCommand, _Types_1.VersionCommand.CapabilitiesReport);
|
|
281
|
-
const cc = new VersionCCCapabilitiesReport({
|
|
282
|
-
nodeId: this.endpoint.nodeId,
|
|
283
|
-
endpointIndex: this.endpoint.index,
|
|
284
|
-
// At this time, we do not support responding to Z-Wave Software Get
|
|
285
|
-
supportsZWaveSoftwareGet: false,
|
|
286
|
-
});
|
|
287
|
-
await this.host.sendCommand(cc, this.commandOptions);
|
|
288
|
-
}
|
|
289
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
290
|
-
async getZWaveSoftware() {
|
|
291
|
-
this.assertSupportsCommand(_Types_1.VersionCommand, _Types_1.VersionCommand.ZWaveSoftwareGet);
|
|
292
|
-
const cc = new VersionCCZWaveSoftwareGet({
|
|
293
|
-
nodeId: this.endpoint.nodeId,
|
|
294
|
-
endpointIndex: this.endpoint.index,
|
|
295
|
-
});
|
|
296
|
-
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
297
|
-
if (response) {
|
|
298
|
-
return (0, safe_3.pick)(response, [
|
|
299
|
-
"sdkVersion",
|
|
300
|
-
"applicationFrameworkAPIVersion",
|
|
301
|
-
"applicationFrameworkBuildNumber",
|
|
302
|
-
"hostInterfaceVersion",
|
|
303
|
-
"hostInterfaceBuildNumber",
|
|
304
|
-
"zWaveProtocolVersion",
|
|
305
|
-
"zWaveProtocolBuildNumber",
|
|
306
|
-
"applicationVersion",
|
|
307
|
-
"applicationBuildNumber",
|
|
308
|
-
]);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
exports.VersionCCAPI = VersionCCAPI;
|
|
313
|
-
exports.VersionCCAPI = VersionCCAPI = __decorate([
|
|
314
|
-
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Version)
|
|
315
|
-
], VersionCCAPI);
|
|
316
|
-
let VersionCC = class VersionCC extends CommandClass_1.CommandClass {
|
|
317
|
-
determineRequiredCCInterviews() {
|
|
318
|
-
// VersionCC must be the 2nd CC after ManufacturerSpecificCC
|
|
319
|
-
return [safe_1.CommandClasses["Manufacturer Specific"]];
|
|
320
|
-
}
|
|
321
|
-
async interview(ctx) {
|
|
322
|
-
const node = this.getNode(ctx);
|
|
323
|
-
// SDS13782: In a Multi Channel device, the Version Command Class MUST be supported by the Root Device, while
|
|
324
|
-
// the Version Command Class SHOULD NOT be supported by individual End Points.
|
|
325
|
-
//
|
|
326
|
-
// There may be cases where a given Command Class is not implemented by the Root Device of a Multi
|
|
327
|
-
// Channel device. However, the Root Device MUST respond to Version requests for any Command Class
|
|
328
|
-
// implemented by the Multi Channel device; also in cases where the actual Command Class is only
|
|
329
|
-
// provided by an End Point.
|
|
330
|
-
const endpoint = this.getEndpoint(ctx);
|
|
331
|
-
// Use the CC API of the root device for all queries
|
|
332
|
-
const api = API_1.CCAPI.create(safe_1.CommandClasses.Version, ctx, node).withOptions({
|
|
333
|
-
priority: safe_1.MessagePriority.NodeQuery,
|
|
334
|
-
});
|
|
335
|
-
ctx.logNode(node.id, {
|
|
336
|
-
endpoint: this.endpointIndex,
|
|
337
|
-
message: `Interviewing ${this.ccName}...`,
|
|
338
|
-
direction: "none",
|
|
339
|
-
});
|
|
340
|
-
const queryCCVersion = async (cc) => {
|
|
341
|
-
// Only query CCs we support. Theoretically we could skip queries where we support only V1,
|
|
342
|
-
// but there are Z-Wave certification tests that require us to query all CCs
|
|
343
|
-
const maxImplemented = (0, CommandClassDecorators_1.getImplementedVersion)(cc);
|
|
344
|
-
if (maxImplemented === 0) {
|
|
345
|
-
ctx.logNode(node.id, ` skipping query for ${safe_1.CommandClasses[cc]} (${(0, safe_3.num2hex)(cc)}) because max implemented version is ${maxImplemented}`);
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
ctx.logNode(node.id, {
|
|
349
|
-
endpoint: this.endpointIndex,
|
|
350
|
-
message: ` querying the CC version for ${(0, safe_1.getCCName)(cc)}...`,
|
|
351
|
-
direction: "outbound",
|
|
352
|
-
});
|
|
353
|
-
// query the CC version
|
|
354
|
-
const supportedVersion = await api.getCCVersion(cc);
|
|
355
|
-
if (supportedVersion != undefined) {
|
|
356
|
-
// Remember which CC version this endpoint supports
|
|
357
|
-
let logMessage;
|
|
358
|
-
if (supportedVersion > 0) {
|
|
359
|
-
// Basic CC has special rules for when it is considered supported
|
|
360
|
-
// Therefore we mark all other CCs as supported, but not Basic CC,
|
|
361
|
-
// for which support is determined later.
|
|
362
|
-
if (cc === safe_1.CommandClasses.Basic) {
|
|
363
|
-
endpoint.addCC(cc, { version: supportedVersion });
|
|
364
|
-
}
|
|
365
|
-
else {
|
|
366
|
-
endpoint.addCC(cc, {
|
|
367
|
-
isSupported: true,
|
|
368
|
-
version: supportedVersion,
|
|
369
|
-
});
|
|
370
|
-
}
|
|
371
|
-
logMessage = ` supports CC ${safe_1.CommandClasses[cc]} (${(0, safe_3.num2hex)(cc)}) in version ${supportedVersion}`;
|
|
372
|
-
}
|
|
373
|
-
else {
|
|
374
|
-
// We were lied to - the NIF said this CC is supported, now the node claims it isn't
|
|
375
|
-
// Make sure this is not a critical CC, which must be supported though
|
|
376
|
-
if (cc === safe_1.CommandClasses.Version
|
|
377
|
-
|| cc === safe_1.CommandClasses["Manufacturer Specific"]) {
|
|
378
|
-
logMessage = ` claims NOT to support CC ${safe_1.CommandClasses[cc]} (${(0, safe_3.num2hex)(cc)}), but it must. Assuming the ${this.endpointIndex === 0 ? "node" : "endpoint"} supports version 1...`;
|
|
379
|
-
endpoint.addCC(cc, { version: 1 });
|
|
380
|
-
}
|
|
381
|
-
else if ((cc === safe_1.CommandClasses.Security
|
|
382
|
-
&& node.hasSecurityClass(safe_1.SecurityClass.S0_Legacy))
|
|
383
|
-
|| (cc === safe_1.CommandClasses["Security 2"]
|
|
384
|
-
&& safe_1.securityClassOrder.some((sc) => (0, safe_1.securityClassIsS2)(sc)
|
|
385
|
-
&& node.hasSecurityClass(sc)))) {
|
|
386
|
-
logMessage = ` claims NOT to support CC ${safe_1.CommandClasses[cc]} (${(0, safe_3.num2hex)(cc)}), but it is known to support it. Assuming the ${this.endpointIndex === 0 ? "node" : "endpoint"} supports version 1...`;
|
|
387
|
-
endpoint.addCC(cc, { version: 1 });
|
|
388
|
-
}
|
|
389
|
-
else {
|
|
390
|
-
logMessage = ` does NOT support CC ${safe_1.CommandClasses[cc]} (${(0, safe_3.num2hex)(cc)})`;
|
|
391
|
-
endpoint.removeCC(cc);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
ctx.logNode(node.id, {
|
|
395
|
-
endpoint: this.endpointIndex,
|
|
396
|
-
message: logMessage,
|
|
397
|
-
});
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
ctx.logNode(node.id, {
|
|
401
|
-
endpoint: this.endpointIndex,
|
|
402
|
-
message: `CC version query for ${(0, safe_1.getCCName)(cc)} timed out - assuming the ${this.endpointIndex === 0 ? "node" : "endpoint"} supports version 1...`,
|
|
403
|
-
level: "warn",
|
|
404
|
-
});
|
|
405
|
-
endpoint.addCC(cc, { version: 1 });
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
// Version information should not change (except for firmware updates)
|
|
409
|
-
// And it is only relevant on the root endpoint (the node)
|
|
410
|
-
if (this.endpointIndex === 0) {
|
|
411
|
-
// Step 1: Query Version CC version
|
|
412
|
-
await queryCCVersion(safe_1.CommandClasses.Version);
|
|
413
|
-
// Step 2: Query node versions
|
|
414
|
-
ctx.logNode(node.id, {
|
|
415
|
-
endpoint: this.endpointIndex,
|
|
416
|
-
message: "querying node versions...",
|
|
417
|
-
direction: "outbound",
|
|
418
|
-
});
|
|
419
|
-
const versionGetResponse = await api.get();
|
|
420
|
-
if (versionGetResponse) {
|
|
421
|
-
let logMessage = `received response for node versions:
|
|
422
|
-
library type: ${safe_1.ZWaveLibraryTypes[versionGetResponse.libraryType]} (${(0, safe_3.num2hex)(versionGetResponse.libraryType)})
|
|
423
|
-
protocol version: ${versionGetResponse.protocolVersion}
|
|
424
|
-
firmware versions: ${versionGetResponse.firmwareVersions.join(", ")}`;
|
|
425
|
-
if (versionGetResponse.hardwareVersion != undefined) {
|
|
426
|
-
logMessage +=
|
|
427
|
-
`\n hardware version: ${versionGetResponse.hardwareVersion}`;
|
|
428
|
-
}
|
|
429
|
-
ctx.logNode(node.id, {
|
|
430
|
-
endpoint: this.endpointIndex,
|
|
431
|
-
message: logMessage,
|
|
432
|
-
direction: "inbound",
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
// Step 3: Query all other CC versions
|
|
437
|
-
ctx.logNode(node.id, {
|
|
438
|
-
endpoint: this.endpointIndex,
|
|
439
|
-
message: "querying CC versions...",
|
|
440
|
-
direction: "outbound",
|
|
441
|
-
});
|
|
442
|
-
// Basic CC is not included in the NIF, so it won't be returned by endpoint.getCCs() at this point
|
|
443
|
-
{
|
|
444
|
-
const cc = safe_1.CommandClasses.Basic;
|
|
445
|
-
// Skip the query of endpoint CCs that are also supported by the root device
|
|
446
|
-
if (this.endpointIndex === 0 || node.getCCVersion(cc) === 0) {
|
|
447
|
-
await queryCCVersion(cc);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
for (const [cc] of endpoint.getCCs()) {
|
|
451
|
-
// We already queried the Version CC version at the start of this interview
|
|
452
|
-
if (cc === safe_1.CommandClasses.Version)
|
|
453
|
-
continue;
|
|
454
|
-
// And we queried Basic CC just before this
|
|
455
|
-
if (cc === safe_1.CommandClasses.Basic)
|
|
456
|
-
continue;
|
|
457
|
-
// Skip the query of endpoint CCs that are also supported by the root device
|
|
458
|
-
if (this.endpointIndex > 0 && node.getCCVersion(cc) > 0)
|
|
459
|
-
continue;
|
|
460
|
-
await queryCCVersion(cc);
|
|
461
|
-
}
|
|
462
|
-
// Step 4: Query VersionCC capabilities (root device only)
|
|
463
|
-
if (this.endpointIndex === 0 && api.version >= 3) {
|
|
464
|
-
// Step 4a: Support for SoftwareGet
|
|
465
|
-
ctx.logNode(node.id, {
|
|
466
|
-
endpoint: this.endpointIndex,
|
|
467
|
-
message: "querying if Z-Wave Software Get is supported...",
|
|
468
|
-
direction: "outbound",
|
|
469
|
-
});
|
|
470
|
-
const capsResponse = await api.getCapabilities();
|
|
471
|
-
if (capsResponse) {
|
|
472
|
-
const { supportsZWaveSoftwareGet } = capsResponse;
|
|
473
|
-
ctx.logNode(node.id, {
|
|
474
|
-
endpoint: this.endpointIndex,
|
|
475
|
-
message: `Z-Wave Software Get is${supportsZWaveSoftwareGet ? "" : " not"} supported`,
|
|
476
|
-
direction: "inbound",
|
|
477
|
-
});
|
|
478
|
-
if (supportsZWaveSoftwareGet) {
|
|
479
|
-
// Step 4b: Query Z-Wave Software versions
|
|
480
|
-
ctx.logNode(node.id, {
|
|
481
|
-
endpoint: this.endpointIndex,
|
|
482
|
-
message: "querying Z-Wave software versions...",
|
|
483
|
-
direction: "outbound",
|
|
484
|
-
});
|
|
485
|
-
await api.getZWaveSoftware();
|
|
486
|
-
ctx.logNode(node.id, {
|
|
487
|
-
endpoint: this.endpointIndex,
|
|
488
|
-
message: "received Z-Wave software versions",
|
|
489
|
-
direction: "inbound",
|
|
490
|
-
});
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
// Remember that the interview is complete
|
|
495
|
-
this.setInterviewComplete(ctx, true);
|
|
496
|
-
}
|
|
497
|
-
};
|
|
498
|
-
exports.VersionCC = VersionCC;
|
|
499
|
-
exports.VersionCC = VersionCC = __decorate([
|
|
500
|
-
(0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Version),
|
|
501
|
-
(0, CommandClassDecorators_1.implementedVersion)(3),
|
|
502
|
-
(0, CommandClassDecorators_1.ccValues)(exports.VersionCCValues)
|
|
503
|
-
], VersionCC);
|
|
504
|
-
let VersionCCReport = VersionCCReport_1 = class VersionCCReport extends VersionCC {
|
|
505
|
-
constructor(options) {
|
|
506
|
-
super(options);
|
|
507
|
-
if (!/^\d+\.\d+(\.\d+)?$/.test(options.protocolVersion)) {
|
|
508
|
-
throw new safe_1.ZWaveError(`protocolVersion must be a string in the format "major.minor" or "major.minor.patch", received "${options.protocolVersion}"`, safe_1.ZWaveErrorCodes.Argument_Invalid);
|
|
509
|
-
}
|
|
510
|
-
else if (!options.firmwareVersions.every((fw) => /^\d+\.\d+(\.\d+)?$/.test(fw))) {
|
|
511
|
-
throw new safe_1.ZWaveError(`firmwareVersions must be an array of strings in the format "major.minor" or "major.minor.patch", received "${JSON.stringify(options.firmwareVersions)}"`, safe_1.ZWaveErrorCodes.Argument_Invalid);
|
|
512
|
-
}
|
|
513
|
-
this.libraryType = options.libraryType;
|
|
514
|
-
this.protocolVersion = options.protocolVersion;
|
|
515
|
-
this.firmwareVersions = options.firmwareVersions;
|
|
516
|
-
this.hardwareVersion = options.hardwareVersion;
|
|
517
|
-
}
|
|
518
|
-
static from(raw, ctx) {
|
|
519
|
-
(0, safe_1.validatePayload)(raw.payload.length >= 5);
|
|
520
|
-
const libraryType = raw.payload[0];
|
|
521
|
-
const protocolVersion = `${raw.payload[1]}.${raw.payload[2]}`;
|
|
522
|
-
const firmwareVersions = [`${raw.payload[3]}.${raw.payload[4]}`];
|
|
523
|
-
let hardwareVersion;
|
|
524
|
-
if (raw.payload.length >= 7) {
|
|
525
|
-
// V2+
|
|
526
|
-
hardwareVersion = raw.payload[5];
|
|
527
|
-
const additionalFirmwares = raw.payload[6];
|
|
528
|
-
(0, safe_1.validatePayload)(raw.payload.length >= 7 + 2 * additionalFirmwares);
|
|
529
|
-
for (let i = 0; i < additionalFirmwares; i++) {
|
|
530
|
-
firmwareVersions.push(`${raw.payload[7 + 2 * i]}.${raw.payload[7 + 2 * i + 1]}`);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
return new VersionCCReport_1({
|
|
534
|
-
nodeId: ctx.sourceNodeId,
|
|
535
|
-
libraryType,
|
|
536
|
-
protocolVersion,
|
|
537
|
-
firmwareVersions,
|
|
538
|
-
hardwareVersion,
|
|
539
|
-
});
|
|
540
|
-
}
|
|
541
|
-
libraryType;
|
|
542
|
-
protocolVersion;
|
|
543
|
-
firmwareVersions;
|
|
544
|
-
hardwareVersion;
|
|
545
|
-
serialize(ctx) {
|
|
546
|
-
this.payload = safe_2.Bytes.from([
|
|
547
|
-
this.libraryType,
|
|
548
|
-
...this.protocolVersion
|
|
549
|
-
.split(".")
|
|
550
|
-
.map((n) => parseInt(n))
|
|
551
|
-
.slice(0, 2),
|
|
552
|
-
...this.firmwareVersions[0]
|
|
553
|
-
.split(".")
|
|
554
|
-
.map((n) => parseInt(n))
|
|
555
|
-
.slice(0, 2),
|
|
556
|
-
this.hardwareVersion ?? 0x00,
|
|
557
|
-
this.firmwareVersions.length - 1,
|
|
558
|
-
]);
|
|
559
|
-
if (this.firmwareVersions.length > 1) {
|
|
560
|
-
const firmwaresBuffer = new safe_2.Bytes((this.firmwareVersions.length - 1) * 2);
|
|
561
|
-
for (let i = 1; i < this.firmwareVersions.length; i++) {
|
|
562
|
-
const [major, minor] = this.firmwareVersions[i]
|
|
563
|
-
.split(".")
|
|
564
|
-
.map((n) => parseInt(n));
|
|
565
|
-
firmwaresBuffer[2 * (i - 1)] = major;
|
|
566
|
-
firmwaresBuffer[2 * (i - 1) + 1] = minor;
|
|
567
|
-
}
|
|
568
|
-
this.payload = safe_2.Bytes.concat([this.payload, firmwaresBuffer]);
|
|
569
|
-
}
|
|
570
|
-
return super.serialize(ctx);
|
|
571
|
-
}
|
|
572
|
-
toLogEntry(ctx) {
|
|
573
|
-
const message = {
|
|
574
|
-
"library type": (0, safe_3.getEnumMemberName)(safe_1.ZWaveLibraryTypes, this.libraryType),
|
|
575
|
-
"protocol version": this.protocolVersion,
|
|
576
|
-
"firmware versions": this.firmwareVersions.join(", "),
|
|
577
|
-
};
|
|
578
|
-
if (this.hardwareVersion != undefined) {
|
|
579
|
-
message["hardware version"] = this.hardwareVersion;
|
|
580
|
-
}
|
|
581
|
-
return {
|
|
582
|
-
...super.toLogEntry(ctx),
|
|
583
|
-
message,
|
|
584
|
-
};
|
|
585
|
-
}
|
|
586
|
-
};
|
|
587
|
-
exports.VersionCCReport = VersionCCReport;
|
|
588
|
-
__decorate([
|
|
589
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.libraryType)
|
|
590
|
-
], VersionCCReport.prototype, "libraryType", void 0);
|
|
591
|
-
__decorate([
|
|
592
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.protocolVersion)
|
|
593
|
-
], VersionCCReport.prototype, "protocolVersion", void 0);
|
|
594
|
-
__decorate([
|
|
595
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.firmwareVersions)
|
|
596
|
-
], VersionCCReport.prototype, "firmwareVersions", void 0);
|
|
597
|
-
__decorate([
|
|
598
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.hardwareVersion)
|
|
599
|
-
], VersionCCReport.prototype, "hardwareVersion", void 0);
|
|
600
|
-
exports.VersionCCReport = VersionCCReport = VersionCCReport_1 = __decorate([
|
|
601
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.Report)
|
|
602
|
-
], VersionCCReport);
|
|
603
|
-
let VersionCCGet = class VersionCCGet extends VersionCC {
|
|
604
|
-
};
|
|
605
|
-
exports.VersionCCGet = VersionCCGet;
|
|
606
|
-
exports.VersionCCGet = VersionCCGet = __decorate([
|
|
607
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.Get),
|
|
608
|
-
(0, CommandClassDecorators_1.expectedCCResponse)(VersionCCReport)
|
|
609
|
-
], VersionCCGet);
|
|
610
|
-
let VersionCCCommandClassReport = VersionCCCommandClassReport_1 = class VersionCCCommandClassReport extends VersionCC {
|
|
611
|
-
constructor(options) {
|
|
612
|
-
super(options);
|
|
613
|
-
this.requestedCC = options.requestedCC;
|
|
614
|
-
this.ccVersion = options.ccVersion;
|
|
615
|
-
}
|
|
616
|
-
static from(raw, ctx) {
|
|
617
|
-
(0, safe_1.validatePayload)(raw.payload.length >= 2);
|
|
618
|
-
const requestedCC = raw.payload[0];
|
|
619
|
-
const ccVersion = raw.payload[1];
|
|
620
|
-
return new VersionCCCommandClassReport_1({
|
|
621
|
-
nodeId: ctx.sourceNodeId,
|
|
622
|
-
requestedCC,
|
|
623
|
-
ccVersion,
|
|
624
|
-
});
|
|
625
|
-
}
|
|
626
|
-
ccVersion;
|
|
627
|
-
requestedCC;
|
|
628
|
-
serialize(ctx) {
|
|
629
|
-
this.payload = safe_2.Bytes.from([this.requestedCC, this.ccVersion]);
|
|
630
|
-
return super.serialize(ctx);
|
|
631
|
-
}
|
|
632
|
-
toLogEntry(ctx) {
|
|
633
|
-
return {
|
|
634
|
-
...super.toLogEntry(ctx),
|
|
635
|
-
message: {
|
|
636
|
-
CC: (0, safe_1.getCCName)(this.requestedCC),
|
|
637
|
-
version: this.ccVersion,
|
|
638
|
-
},
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
};
|
|
642
|
-
exports.VersionCCCommandClassReport = VersionCCCommandClassReport;
|
|
643
|
-
exports.VersionCCCommandClassReport = VersionCCCommandClassReport = VersionCCCommandClassReport_1 = __decorate([
|
|
644
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.CommandClassReport)
|
|
645
|
-
], VersionCCCommandClassReport);
|
|
646
|
-
function testResponseForVersionCommandClassGet(sent, received) {
|
|
647
|
-
// We expect a Version CommandClass Report that matches the requested CC
|
|
648
|
-
return sent.requestedCC === received.requestedCC;
|
|
649
|
-
}
|
|
650
|
-
let VersionCCCommandClassGet = VersionCCCommandClassGet_1 = class VersionCCCommandClassGet extends VersionCC {
|
|
651
|
-
constructor(options) {
|
|
652
|
-
super(options);
|
|
653
|
-
this.requestedCC = options.requestedCC;
|
|
654
|
-
}
|
|
655
|
-
static from(raw, ctx) {
|
|
656
|
-
(0, safe_1.validatePayload)(raw.payload.length >= 1);
|
|
657
|
-
const requestedCC = raw.payload[0];
|
|
658
|
-
return new VersionCCCommandClassGet_1({
|
|
659
|
-
nodeId: ctx.sourceNodeId,
|
|
660
|
-
requestedCC,
|
|
661
|
-
});
|
|
662
|
-
}
|
|
663
|
-
requestedCC;
|
|
664
|
-
serialize(ctx) {
|
|
665
|
-
this.payload = safe_2.Bytes.from([this.requestedCC]);
|
|
666
|
-
return super.serialize(ctx);
|
|
667
|
-
}
|
|
668
|
-
toLogEntry(ctx) {
|
|
669
|
-
return {
|
|
670
|
-
...super.toLogEntry(ctx),
|
|
671
|
-
message: { CC: (0, safe_1.getCCName)(this.requestedCC) },
|
|
672
|
-
};
|
|
673
|
-
}
|
|
674
|
-
};
|
|
675
|
-
exports.VersionCCCommandClassGet = VersionCCCommandClassGet;
|
|
676
|
-
exports.VersionCCCommandClassGet = VersionCCCommandClassGet = VersionCCCommandClassGet_1 = __decorate([
|
|
677
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.CommandClassGet),
|
|
678
|
-
(0, CommandClassDecorators_1.expectedCCResponse)(VersionCCCommandClassReport, testResponseForVersionCommandClassGet)
|
|
679
|
-
], VersionCCCommandClassGet);
|
|
680
|
-
let VersionCCCapabilitiesReport = VersionCCCapabilitiesReport_1 = class VersionCCCapabilitiesReport extends VersionCC {
|
|
681
|
-
constructor(options) {
|
|
682
|
-
super(options);
|
|
683
|
-
this.supportsZWaveSoftwareGet = options.supportsZWaveSoftwareGet;
|
|
684
|
-
}
|
|
685
|
-
static from(raw, ctx) {
|
|
686
|
-
(0, safe_1.validatePayload)(raw.payload.length >= 1);
|
|
687
|
-
const capabilities = raw.payload[0];
|
|
688
|
-
const supportsZWaveSoftwareGet = !!(capabilities & 0b100);
|
|
689
|
-
return new VersionCCCapabilitiesReport_1({
|
|
690
|
-
nodeId: ctx.sourceNodeId,
|
|
691
|
-
supportsZWaveSoftwareGet,
|
|
692
|
-
});
|
|
693
|
-
}
|
|
694
|
-
supportsZWaveSoftwareGet;
|
|
695
|
-
serialize(ctx) {
|
|
696
|
-
this.payload = safe_2.Bytes.from([
|
|
697
|
-
(this.supportsZWaveSoftwareGet ? 0b100 : 0) | 0b11,
|
|
698
|
-
]);
|
|
699
|
-
return super.serialize(ctx);
|
|
700
|
-
}
|
|
701
|
-
toLogEntry(ctx) {
|
|
702
|
-
return {
|
|
703
|
-
...super.toLogEntry(ctx),
|
|
704
|
-
message: {
|
|
705
|
-
"supports Z-Wave Software Get command": this.supportsZWaveSoftwareGet,
|
|
706
|
-
},
|
|
707
|
-
};
|
|
708
|
-
}
|
|
709
|
-
};
|
|
710
|
-
exports.VersionCCCapabilitiesReport = VersionCCCapabilitiesReport;
|
|
711
|
-
__decorate([
|
|
712
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.supportsZWaveSoftwareGet)
|
|
713
|
-
], VersionCCCapabilitiesReport.prototype, "supportsZWaveSoftwareGet", void 0);
|
|
714
|
-
exports.VersionCCCapabilitiesReport = VersionCCCapabilitiesReport = VersionCCCapabilitiesReport_1 = __decorate([
|
|
715
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.CapabilitiesReport)
|
|
716
|
-
], VersionCCCapabilitiesReport);
|
|
717
|
-
let VersionCCCapabilitiesGet = class VersionCCCapabilitiesGet extends VersionCC {
|
|
718
|
-
};
|
|
719
|
-
exports.VersionCCCapabilitiesGet = VersionCCCapabilitiesGet;
|
|
720
|
-
exports.VersionCCCapabilitiesGet = VersionCCCapabilitiesGet = __decorate([
|
|
721
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.CapabilitiesGet),
|
|
722
|
-
(0, CommandClassDecorators_1.expectedCCResponse)(VersionCCCapabilitiesReport)
|
|
723
|
-
], VersionCCCapabilitiesGet);
|
|
724
|
-
let VersionCCZWaveSoftwareReport = VersionCCZWaveSoftwareReport_1 = class VersionCCZWaveSoftwareReport extends VersionCC {
|
|
725
|
-
constructor(options) {
|
|
726
|
-
super(options);
|
|
727
|
-
// TODO: Check implementation:
|
|
728
|
-
this.sdkVersion = options.sdkVersion;
|
|
729
|
-
this.applicationFrameworkAPIVersion =
|
|
730
|
-
options.applicationFrameworkAPIVersion;
|
|
731
|
-
this.applicationFrameworkBuildNumber =
|
|
732
|
-
options.applicationFrameworkBuildNumber;
|
|
733
|
-
this.hostInterfaceVersion = options.hostInterfaceVersion;
|
|
734
|
-
this.hostInterfaceBuildNumber = options.hostInterfaceBuildNumber;
|
|
735
|
-
this.zWaveProtocolVersion = options.zWaveProtocolVersion;
|
|
736
|
-
this.zWaveProtocolBuildNumber = options.zWaveProtocolBuildNumber;
|
|
737
|
-
this.applicationVersion = options.applicationVersion;
|
|
738
|
-
this.applicationBuildNumber = options.applicationBuildNumber;
|
|
739
|
-
}
|
|
740
|
-
static from(raw, ctx) {
|
|
741
|
-
(0, safe_1.validatePayload)(raw.payload.length >= 23);
|
|
742
|
-
const sdkVersion = parseVersion(raw.payload);
|
|
743
|
-
const applicationFrameworkAPIVersion = parseVersion(raw.payload.subarray(3));
|
|
744
|
-
let applicationFrameworkBuildNumber;
|
|
745
|
-
if (applicationFrameworkAPIVersion !== "unused") {
|
|
746
|
-
applicationFrameworkBuildNumber = raw.payload.readUInt16BE(6);
|
|
747
|
-
}
|
|
748
|
-
else {
|
|
749
|
-
applicationFrameworkBuildNumber = 0;
|
|
750
|
-
}
|
|
751
|
-
const hostInterfaceVersion = parseVersion(raw.payload.subarray(8));
|
|
752
|
-
let hostInterfaceBuildNumber;
|
|
753
|
-
if (hostInterfaceVersion !== "unused") {
|
|
754
|
-
hostInterfaceBuildNumber = raw.payload.readUInt16BE(11);
|
|
755
|
-
}
|
|
756
|
-
else {
|
|
757
|
-
hostInterfaceBuildNumber = 0;
|
|
758
|
-
}
|
|
759
|
-
const zWaveProtocolVersion = parseVersion(raw.payload.subarray(13));
|
|
760
|
-
let zWaveProtocolBuildNumber;
|
|
761
|
-
if (zWaveProtocolVersion !== "unused") {
|
|
762
|
-
zWaveProtocolBuildNumber = raw.payload.readUInt16BE(16);
|
|
763
|
-
}
|
|
764
|
-
else {
|
|
765
|
-
zWaveProtocolBuildNumber = 0;
|
|
766
|
-
}
|
|
767
|
-
const applicationVersion = parseVersion(raw.payload.subarray(18));
|
|
768
|
-
let applicationBuildNumber;
|
|
769
|
-
if (applicationVersion !== "unused") {
|
|
770
|
-
applicationBuildNumber = raw.payload.readUInt16BE(21);
|
|
771
|
-
}
|
|
772
|
-
else {
|
|
773
|
-
applicationBuildNumber = 0;
|
|
774
|
-
}
|
|
775
|
-
return new VersionCCZWaveSoftwareReport_1({
|
|
776
|
-
nodeId: ctx.sourceNodeId,
|
|
777
|
-
sdkVersion,
|
|
778
|
-
applicationFrameworkAPIVersion,
|
|
779
|
-
applicationFrameworkBuildNumber,
|
|
780
|
-
hostInterfaceVersion,
|
|
781
|
-
hostInterfaceBuildNumber,
|
|
782
|
-
zWaveProtocolVersion,
|
|
783
|
-
zWaveProtocolBuildNumber,
|
|
784
|
-
applicationVersion,
|
|
785
|
-
applicationBuildNumber,
|
|
786
|
-
});
|
|
787
|
-
}
|
|
788
|
-
sdkVersion;
|
|
789
|
-
applicationFrameworkAPIVersion;
|
|
790
|
-
applicationFrameworkBuildNumber;
|
|
791
|
-
hostInterfaceVersion;
|
|
792
|
-
hostInterfaceBuildNumber;
|
|
793
|
-
zWaveProtocolVersion;
|
|
794
|
-
zWaveProtocolBuildNumber;
|
|
795
|
-
applicationVersion;
|
|
796
|
-
applicationBuildNumber;
|
|
797
|
-
toLogEntry(ctx) {
|
|
798
|
-
const message = {
|
|
799
|
-
"SDK version": this.sdkVersion,
|
|
800
|
-
};
|
|
801
|
-
message["appl. framework API version"] =
|
|
802
|
-
this.applicationFrameworkAPIVersion;
|
|
803
|
-
if (this.applicationFrameworkAPIVersion !== "unused") {
|
|
804
|
-
message["appl. framework build number"] =
|
|
805
|
-
this.applicationFrameworkBuildNumber;
|
|
806
|
-
}
|
|
807
|
-
message["host interface version"] = this.hostInterfaceVersion;
|
|
808
|
-
if (this.hostInterfaceVersion !== "unused") {
|
|
809
|
-
message["host interface build number"] =
|
|
810
|
-
this.hostInterfaceBuildNumber;
|
|
811
|
-
}
|
|
812
|
-
message["Z-Wave protocol version"] = this.zWaveProtocolVersion;
|
|
813
|
-
if (this.zWaveProtocolVersion !== "unused") {
|
|
814
|
-
message["Z-Wave protocol build number"] =
|
|
815
|
-
this.zWaveProtocolBuildNumber;
|
|
816
|
-
}
|
|
817
|
-
message["application version"] = this.applicationVersion;
|
|
818
|
-
if (this.applicationVersion !== "unused") {
|
|
819
|
-
message["application build number"] = this.applicationBuildNumber;
|
|
820
|
-
}
|
|
821
|
-
return {
|
|
822
|
-
...super.toLogEntry(ctx),
|
|
823
|
-
message,
|
|
824
|
-
};
|
|
825
|
-
}
|
|
826
|
-
};
|
|
827
|
-
exports.VersionCCZWaveSoftwareReport = VersionCCZWaveSoftwareReport;
|
|
828
|
-
__decorate([
|
|
829
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.sdkVersion)
|
|
830
|
-
], VersionCCZWaveSoftwareReport.prototype, "sdkVersion", void 0);
|
|
831
|
-
__decorate([
|
|
832
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.applicationFrameworkAPIVersion)
|
|
833
|
-
], VersionCCZWaveSoftwareReport.prototype, "applicationFrameworkAPIVersion", void 0);
|
|
834
|
-
__decorate([
|
|
835
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.applicationFrameworkBuildNumber)
|
|
836
|
-
], VersionCCZWaveSoftwareReport.prototype, "applicationFrameworkBuildNumber", void 0);
|
|
837
|
-
__decorate([
|
|
838
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.serialAPIVersion)
|
|
839
|
-
], VersionCCZWaveSoftwareReport.prototype, "hostInterfaceVersion", void 0);
|
|
840
|
-
__decorate([
|
|
841
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.serialAPIBuildNumber)
|
|
842
|
-
], VersionCCZWaveSoftwareReport.prototype, "hostInterfaceBuildNumber", void 0);
|
|
843
|
-
__decorate([
|
|
844
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.zWaveProtocolVersion)
|
|
845
|
-
], VersionCCZWaveSoftwareReport.prototype, "zWaveProtocolVersion", void 0);
|
|
846
|
-
__decorate([
|
|
847
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.zWaveProtocolBuildNumber)
|
|
848
|
-
], VersionCCZWaveSoftwareReport.prototype, "zWaveProtocolBuildNumber", void 0);
|
|
849
|
-
__decorate([
|
|
850
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.applicationVersion)
|
|
851
|
-
], VersionCCZWaveSoftwareReport.prototype, "applicationVersion", void 0);
|
|
852
|
-
__decorate([
|
|
853
|
-
(0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.applicationBuildNumber)
|
|
854
|
-
], VersionCCZWaveSoftwareReport.prototype, "applicationBuildNumber", void 0);
|
|
855
|
-
exports.VersionCCZWaveSoftwareReport = VersionCCZWaveSoftwareReport = VersionCCZWaveSoftwareReport_1 = __decorate([
|
|
856
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.ZWaveSoftwareReport)
|
|
857
|
-
], VersionCCZWaveSoftwareReport);
|
|
858
|
-
let VersionCCZWaveSoftwareGet = class VersionCCZWaveSoftwareGet extends VersionCC {
|
|
859
|
-
};
|
|
860
|
-
exports.VersionCCZWaveSoftwareGet = VersionCCZWaveSoftwareGet;
|
|
861
|
-
exports.VersionCCZWaveSoftwareGet = VersionCCZWaveSoftwareGet = __decorate([
|
|
862
|
-
(0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.ZWaveSoftwareGet),
|
|
863
|
-
(0, CommandClassDecorators_1.expectedCCResponse)(VersionCCZWaveSoftwareReport)
|
|
864
|
-
], VersionCCZWaveSoftwareGet);
|
|
865
|
-
//# sourceMappingURL=VersionCC.js.map
|