@zwave-js/cc 14.0.0-beta.1 → 14.0.0-beta.5
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 +510 -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 +877 -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 +887 -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 +748 -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 +478 -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 +590 -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 +546 -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 +472 -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 +208 -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 +584 -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 +646 -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 +330 -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 +1265 -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 +2477 -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 +168 -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 +1366 -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 +458 -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 +329 -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 +754 -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 +1322 -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 +91 -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 +449 -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 +250 -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 +821 -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 +251 -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 +1395 -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 +2224 -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 +364 -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 +322 -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 +269 -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 +440 -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 +1355 -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 +1090 -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 +1268 -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 +234 -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 +856 -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 +928 -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 +126 -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 +504 -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 +1399 -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 +657 -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 +859 -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 +261 -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 +473 -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 +526 -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 +2043 -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 +1853 -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 +977 -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 +853 -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 +398 -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 +495 -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 +252 -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 +559 -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 +248 -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 +366 -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 +792 -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 +635 -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 +413 -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 +522 -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 +1903 -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 +962 -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 +609 -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 +924 -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 +90 -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 +362 -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 +1638 -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 +533 -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 +108 -0
- package/build/cjs/lib/CommandClassDecorators.js +181 -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.d.ts +106 -0
- package/build/cjs/lib/Security2/Extension.js +424 -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 +490 -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 +847 -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 +889 -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 +751 -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 +468 -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 +578 -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 +515 -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 +441 -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 +187 -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 +541 -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 +607 -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 +294 -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 +1274 -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 +2666 -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 +138 -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 +1372 -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 +414 -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 +289 -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 +717 -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 +1311 -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 +60 -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 +412 -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 +210 -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 +805 -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 +211 -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 +1455 -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 +2239 -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 +325 -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 +282 -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 +252 -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 +404 -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 +1409 -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 +1094 -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 +1312 -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 +206 -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 +872 -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 +935 -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 +92 -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 +464 -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 +1481 -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 +611 -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 +830 -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 +223 -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 +462 -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 +534 -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 +2065 -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 +2041 -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 +989 -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 +796 -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 +396 -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 +463 -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 +212 -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 +530 -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 +208 -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 +333 -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 +786 -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 +590 -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 +385 -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 +523 -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 +1933 -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 +971 -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 +568 -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 +905 -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 +57 -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 +328 -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 +1520 -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 +489 -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 +108 -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 +380 -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 +0 -106
- 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/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
|
@@ -0,0 +1,1638 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var ZWaveProtocolCC_exports = {};
|
|
20
|
+
__export(ZWaveProtocolCC_exports, {
|
|
21
|
+
ZWaveProtocolCC: () => ZWaveProtocolCC,
|
|
22
|
+
ZWaveProtocolCCAcceptLost: () => ZWaveProtocolCCAcceptLost,
|
|
23
|
+
ZWaveProtocolCCAssignIDs: () => ZWaveProtocolCCAssignIDs,
|
|
24
|
+
ZWaveProtocolCCAssignReturnRoute: () => ZWaveProtocolCCAssignReturnRoute,
|
|
25
|
+
ZWaveProtocolCCAssignReturnRoutePriority: () => ZWaveProtocolCCAssignReturnRoutePriority,
|
|
26
|
+
ZWaveProtocolCCAssignSUCReturnRoute: () => ZWaveProtocolCCAssignSUCReturnRoute,
|
|
27
|
+
ZWaveProtocolCCAssignSUCReturnRoutePriority: () => ZWaveProtocolCCAssignSUCReturnRoutePriority,
|
|
28
|
+
ZWaveProtocolCCAutomaticControllerUpdateStart: () => ZWaveProtocolCCAutomaticControllerUpdateStart,
|
|
29
|
+
ZWaveProtocolCCCommandComplete: () => ZWaveProtocolCCCommandComplete,
|
|
30
|
+
ZWaveProtocolCCExcludeRequest: () => ZWaveProtocolCCExcludeRequest,
|
|
31
|
+
ZWaveProtocolCCFindNodesInRange: () => ZWaveProtocolCCFindNodesInRange,
|
|
32
|
+
ZWaveProtocolCCGetNodesInRange: () => ZWaveProtocolCCGetNodesInRange,
|
|
33
|
+
ZWaveProtocolCCLost: () => ZWaveProtocolCCLost,
|
|
34
|
+
ZWaveProtocolCCNOPPower: () => ZWaveProtocolCCNOPPower,
|
|
35
|
+
ZWaveProtocolCCNewNodeRegistered: () => ZWaveProtocolCCNewNodeRegistered,
|
|
36
|
+
ZWaveProtocolCCNewRangeRegistered: () => ZWaveProtocolCCNewRangeRegistered,
|
|
37
|
+
ZWaveProtocolCCNodeInformationFrame: () => ZWaveProtocolCCNodeInformationFrame,
|
|
38
|
+
ZWaveProtocolCCNodesExist: () => ZWaveProtocolCCNodesExist,
|
|
39
|
+
ZWaveProtocolCCNodesExistReply: () => ZWaveProtocolCCNodesExistReply,
|
|
40
|
+
ZWaveProtocolCCRangeInfo: () => ZWaveProtocolCCRangeInfo,
|
|
41
|
+
ZWaveProtocolCCRequestNodeInformationFrame: () => ZWaveProtocolCCRequestNodeInformationFrame,
|
|
42
|
+
ZWaveProtocolCCReserveNodeIDs: () => ZWaveProtocolCCReserveNodeIDs,
|
|
43
|
+
ZWaveProtocolCCReservedIDs: () => ZWaveProtocolCCReservedIDs,
|
|
44
|
+
ZWaveProtocolCCSUCNodeID: () => ZWaveProtocolCCSUCNodeID,
|
|
45
|
+
ZWaveProtocolCCSetNWIMode: () => ZWaveProtocolCCSetNWIMode,
|
|
46
|
+
ZWaveProtocolCCSetSUC: () => ZWaveProtocolCCSetSUC,
|
|
47
|
+
ZWaveProtocolCCSetSUCAck: () => ZWaveProtocolCCSetSUCAck,
|
|
48
|
+
ZWaveProtocolCCSmartStartIncludedNodeInformation: () => ZWaveProtocolCCSmartStartIncludedNodeInformation,
|
|
49
|
+
ZWaveProtocolCCSmartStartInclusionRequest: () => ZWaveProtocolCCSmartStartInclusionRequest,
|
|
50
|
+
ZWaveProtocolCCSmartStartPrime: () => ZWaveProtocolCCSmartStartPrime,
|
|
51
|
+
ZWaveProtocolCCStaticRouteRequest: () => ZWaveProtocolCCStaticRouteRequest,
|
|
52
|
+
ZWaveProtocolCCTransferEnd: () => ZWaveProtocolCCTransferEnd,
|
|
53
|
+
ZWaveProtocolCCTransferNewPrimaryControllerComplete: () => ZWaveProtocolCCTransferNewPrimaryControllerComplete,
|
|
54
|
+
ZWaveProtocolCCTransferNodeInformation: () => ZWaveProtocolCCTransferNodeInformation,
|
|
55
|
+
ZWaveProtocolCCTransferPresentation: () => ZWaveProtocolCCTransferPresentation,
|
|
56
|
+
ZWaveProtocolCCTransferRangeInformation: () => ZWaveProtocolCCTransferRangeInformation
|
|
57
|
+
});
|
|
58
|
+
module.exports = __toCommonJS(ZWaveProtocolCC_exports);
|
|
59
|
+
var import_core = require("@zwave-js/core");
|
|
60
|
+
var import_safe = require("@zwave-js/shared/safe");
|
|
61
|
+
var import_CommandClass = require("../lib/CommandClass.js");
|
|
62
|
+
var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
|
|
63
|
+
var import_Types = require("../lib/_Types.js");
|
|
64
|
+
var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
65
|
+
function accept(f) {
|
|
66
|
+
if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected");
|
|
67
|
+
return f;
|
|
68
|
+
}
|
|
69
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
70
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
71
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
72
|
+
var _, done = false;
|
|
73
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
74
|
+
var context = {};
|
|
75
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
76
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
77
|
+
context.addInitializer = function(f) {
|
|
78
|
+
if (done) throw new TypeError("Cannot add initializers after decoration has completed");
|
|
79
|
+
extraInitializers.push(accept(f || null));
|
|
80
|
+
};
|
|
81
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
82
|
+
if (kind === "accessor") {
|
|
83
|
+
if (result === void 0) continue;
|
|
84
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
85
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
86
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
87
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
88
|
+
} else if (_ = accept(result)) {
|
|
89
|
+
if (kind === "field") initializers.unshift(_);
|
|
90
|
+
else descriptor[key] = _;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
94
|
+
done = true;
|
|
95
|
+
};
|
|
96
|
+
var __runInitializers = function(thisArg, initializers, value) {
|
|
97
|
+
var useValue = arguments.length > 2;
|
|
98
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
99
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
100
|
+
}
|
|
101
|
+
return useValue ? value : void 0;
|
|
102
|
+
};
|
|
103
|
+
var DataRateBitmask;
|
|
104
|
+
(function(DataRateBitmask2) {
|
|
105
|
+
DataRateBitmask2[DataRateBitmask2["9k6"] = 1] = "9k6";
|
|
106
|
+
DataRateBitmask2[DataRateBitmask2["40k"] = 2] = "40k";
|
|
107
|
+
DataRateBitmask2[DataRateBitmask2["100k"] = 4] = "100k";
|
|
108
|
+
})(DataRateBitmask || (DataRateBitmask = {}));
|
|
109
|
+
function dataRate2Bitmask(dataRate) {
|
|
110
|
+
return dataRate === import_core.ZWaveDataRate["100k"] ? DataRateBitmask["100k"] : dataRate === import_core.ZWaveDataRate["40k"] ? DataRateBitmask["40k"] : DataRateBitmask["9k6"];
|
|
111
|
+
}
|
|
112
|
+
function bitmask2DataRate(mask) {
|
|
113
|
+
return mask === DataRateBitmask["100k"] ? import_core.ZWaveDataRate["100k"] : mask === DataRateBitmask["40k"] ? import_core.ZWaveDataRate["40k"] : import_core.ZWaveDataRate["9k6"];
|
|
114
|
+
}
|
|
115
|
+
let ZWaveProtocolCC = (() => {
|
|
116
|
+
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_core.CommandClasses["Z-Wave Protocol"]), (0, import_CommandClassDecorators.implementedVersion)(1)];
|
|
117
|
+
let _classDescriptor;
|
|
118
|
+
let _classExtraInitializers = [];
|
|
119
|
+
let _classThis;
|
|
120
|
+
let _classSuper = import_CommandClass.CommandClass;
|
|
121
|
+
var ZWaveProtocolCC2 = class extends _classSuper {
|
|
122
|
+
static {
|
|
123
|
+
_classThis = this;
|
|
124
|
+
}
|
|
125
|
+
static {
|
|
126
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
127
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
128
|
+
ZWaveProtocolCC2 = _classThis = _classDescriptor.value;
|
|
129
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
130
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
return ZWaveProtocolCC2 = _classThis;
|
|
134
|
+
})();
|
|
135
|
+
let ZWaveProtocolCCNodeInformationFrame = (() => {
|
|
136
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.NodeInformationFrame)];
|
|
137
|
+
let _classDescriptor;
|
|
138
|
+
let _classExtraInitializers = [];
|
|
139
|
+
let _classThis;
|
|
140
|
+
let _classSuper = ZWaveProtocolCC;
|
|
141
|
+
var ZWaveProtocolCCNodeInformationFrame2 = class extends _classSuper {
|
|
142
|
+
static {
|
|
143
|
+
_classThis = this;
|
|
144
|
+
}
|
|
145
|
+
static {
|
|
146
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
147
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
148
|
+
ZWaveProtocolCCNodeInformationFrame2 = _classThis = _classDescriptor.value;
|
|
149
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
150
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
151
|
+
}
|
|
152
|
+
constructor(options) {
|
|
153
|
+
super(options);
|
|
154
|
+
this.basicDeviceClass = options.basicDeviceClass;
|
|
155
|
+
this.genericDeviceClass = options.genericDeviceClass;
|
|
156
|
+
this.specificDeviceClass = options.specificDeviceClass;
|
|
157
|
+
this.isListening = options.isListening;
|
|
158
|
+
this.isFrequentListening = options.isFrequentListening;
|
|
159
|
+
this.isRouting = options.isRouting;
|
|
160
|
+
this.supportedDataRates = options.supportedDataRates;
|
|
161
|
+
this.protocolVersion = options.protocolVersion;
|
|
162
|
+
this.optionalFunctionality = options.optionalFunctionality;
|
|
163
|
+
this.nodeType = options.nodeType;
|
|
164
|
+
this.supportsSecurity = options.supportsSecurity;
|
|
165
|
+
this.supportsBeaming = options.supportsBeaming;
|
|
166
|
+
this.supportedCCs = options.supportedCCs;
|
|
167
|
+
}
|
|
168
|
+
static from(raw, ctx) {
|
|
169
|
+
const nif = (0, import_core.parseNodeInformationFrame)(raw.payload);
|
|
170
|
+
return new this({
|
|
171
|
+
nodeId: ctx.sourceNodeId,
|
|
172
|
+
...nif
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
basicDeviceClass;
|
|
176
|
+
genericDeviceClass;
|
|
177
|
+
specificDeviceClass;
|
|
178
|
+
isListening;
|
|
179
|
+
isFrequentListening;
|
|
180
|
+
isRouting;
|
|
181
|
+
supportedDataRates;
|
|
182
|
+
protocolVersion;
|
|
183
|
+
optionalFunctionality;
|
|
184
|
+
nodeType;
|
|
185
|
+
supportsSecurity;
|
|
186
|
+
supportsBeaming;
|
|
187
|
+
supportedCCs;
|
|
188
|
+
serialize(ctx) {
|
|
189
|
+
this.payload = (0, import_core.encodeNodeInformationFrame)(this);
|
|
190
|
+
return super.serialize(ctx);
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
return ZWaveProtocolCCNodeInformationFrame2 = _classThis;
|
|
194
|
+
})();
|
|
195
|
+
let ZWaveProtocolCCRequestNodeInformationFrame = (() => {
|
|
196
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.RequestNodeInformationFrame), (0, import_CommandClassDecorators.expectedCCResponse)(ZWaveProtocolCCNodeInformationFrame)];
|
|
197
|
+
let _classDescriptor;
|
|
198
|
+
let _classExtraInitializers = [];
|
|
199
|
+
let _classThis;
|
|
200
|
+
let _classSuper = ZWaveProtocolCC;
|
|
201
|
+
var ZWaveProtocolCCRequestNodeInformationFrame2 = class extends _classSuper {
|
|
202
|
+
static {
|
|
203
|
+
_classThis = this;
|
|
204
|
+
}
|
|
205
|
+
static {
|
|
206
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
207
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
208
|
+
ZWaveProtocolCCRequestNodeInformationFrame2 = _classThis = _classDescriptor.value;
|
|
209
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
210
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
return ZWaveProtocolCCRequestNodeInformationFrame2 = _classThis;
|
|
214
|
+
})();
|
|
215
|
+
let ZWaveProtocolCCAssignIDs = (() => {
|
|
216
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.AssignIDs)];
|
|
217
|
+
let _classDescriptor;
|
|
218
|
+
let _classExtraInitializers = [];
|
|
219
|
+
let _classThis;
|
|
220
|
+
let _classSuper = ZWaveProtocolCC;
|
|
221
|
+
var ZWaveProtocolCCAssignIDs2 = class extends _classSuper {
|
|
222
|
+
static {
|
|
223
|
+
_classThis = this;
|
|
224
|
+
}
|
|
225
|
+
static {
|
|
226
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
227
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
228
|
+
ZWaveProtocolCCAssignIDs2 = _classThis = _classDescriptor.value;
|
|
229
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
230
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
231
|
+
}
|
|
232
|
+
constructor(options) {
|
|
233
|
+
super(options);
|
|
234
|
+
this.assignedNodeId = options.assignedNodeId;
|
|
235
|
+
this.homeId = options.homeId;
|
|
236
|
+
}
|
|
237
|
+
static from(raw, ctx) {
|
|
238
|
+
(0, import_core.validatePayload)(raw.payload.length >= 5);
|
|
239
|
+
const assignedNodeId = raw.payload[0];
|
|
240
|
+
const homeId = raw.payload.readUInt32BE(1);
|
|
241
|
+
return new this({
|
|
242
|
+
nodeId: ctx.sourceNodeId,
|
|
243
|
+
assignedNodeId,
|
|
244
|
+
homeId
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
assignedNodeId;
|
|
248
|
+
homeId;
|
|
249
|
+
serialize(ctx) {
|
|
250
|
+
this.payload = new import_safe.Bytes(5);
|
|
251
|
+
this.payload[0] = this.assignedNodeId;
|
|
252
|
+
this.payload.writeUInt32BE(this.homeId, 1);
|
|
253
|
+
return super.serialize(ctx);
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
return ZWaveProtocolCCAssignIDs2 = _classThis;
|
|
257
|
+
})();
|
|
258
|
+
let ZWaveProtocolCCFindNodesInRange = (() => {
|
|
259
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.FindNodesInRange)];
|
|
260
|
+
let _classDescriptor;
|
|
261
|
+
let _classExtraInitializers = [];
|
|
262
|
+
let _classThis;
|
|
263
|
+
let _classSuper = ZWaveProtocolCC;
|
|
264
|
+
var ZWaveProtocolCCFindNodesInRange2 = class extends _classSuper {
|
|
265
|
+
static {
|
|
266
|
+
_classThis = this;
|
|
267
|
+
}
|
|
268
|
+
static {
|
|
269
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
270
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
271
|
+
ZWaveProtocolCCFindNodesInRange2 = _classThis = _classDescriptor.value;
|
|
272
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
273
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
274
|
+
}
|
|
275
|
+
constructor(options) {
|
|
276
|
+
super(options);
|
|
277
|
+
this.candidateNodeIds = options.candidateNodeIds;
|
|
278
|
+
this.wakeUpTime = options.wakeUpTime;
|
|
279
|
+
this.dataRate = options.dataRate ?? import_core.ZWaveDataRate["9k6"];
|
|
280
|
+
}
|
|
281
|
+
static from(raw, ctx) {
|
|
282
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
283
|
+
const speedPresent = raw.payload[0] & 128;
|
|
284
|
+
const bitmaskLength = raw.payload[0] & 31;
|
|
285
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1 + bitmaskLength);
|
|
286
|
+
const candidateNodeIds = (0, import_core.parseBitMask)(raw.payload.subarray(1, 1 + bitmaskLength));
|
|
287
|
+
const rest = raw.payload.subarray(1 + bitmaskLength);
|
|
288
|
+
let dataRate;
|
|
289
|
+
let wakeUpTime;
|
|
290
|
+
if (speedPresent) {
|
|
291
|
+
(0, import_core.validatePayload)(rest.length >= 1);
|
|
292
|
+
if (rest.length === 1) {
|
|
293
|
+
dataRate = rest[0] & 7;
|
|
294
|
+
wakeUpTime = import_Types.WakeUpTime.None;
|
|
295
|
+
} else if (rest.length === 2) {
|
|
296
|
+
wakeUpTime = (0, import_Types.parseWakeUpTime)(rest[0]);
|
|
297
|
+
dataRate = rest[1] & 7;
|
|
298
|
+
} else {
|
|
299
|
+
import_core.validatePayload.fail("Invalid payload length");
|
|
300
|
+
}
|
|
301
|
+
} else if (rest.length >= 1) {
|
|
302
|
+
wakeUpTime = (0, import_Types.parseWakeUpTime)(rest[0]);
|
|
303
|
+
dataRate = import_core.ZWaveDataRate["9k6"];
|
|
304
|
+
} else {
|
|
305
|
+
wakeUpTime = import_Types.WakeUpTime.None;
|
|
306
|
+
dataRate = import_core.ZWaveDataRate["9k6"];
|
|
307
|
+
}
|
|
308
|
+
return new this({
|
|
309
|
+
nodeId: ctx.sourceNodeId,
|
|
310
|
+
candidateNodeIds,
|
|
311
|
+
dataRate,
|
|
312
|
+
wakeUpTime
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
candidateNodeIds;
|
|
316
|
+
wakeUpTime;
|
|
317
|
+
dataRate;
|
|
318
|
+
serialize(ctx) {
|
|
319
|
+
const nodesBitmask = (0, import_core.encodeBitMask)(this.candidateNodeIds, import_core.MAX_NODES);
|
|
320
|
+
const speedAndLength = 128 | nodesBitmask.length;
|
|
321
|
+
this.payload = import_safe.Bytes.concat([
|
|
322
|
+
import_safe.Bytes.from([speedAndLength]),
|
|
323
|
+
nodesBitmask,
|
|
324
|
+
import_safe.Bytes.from([this.wakeUpTime, this.dataRate])
|
|
325
|
+
]);
|
|
326
|
+
return super.serialize(ctx);
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
return ZWaveProtocolCCFindNodesInRange2 = _classThis;
|
|
330
|
+
})();
|
|
331
|
+
let ZWaveProtocolCCRangeInfo = (() => {
|
|
332
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.RangeInfo)];
|
|
333
|
+
let _classDescriptor;
|
|
334
|
+
let _classExtraInitializers = [];
|
|
335
|
+
let _classThis;
|
|
336
|
+
let _classSuper = ZWaveProtocolCC;
|
|
337
|
+
var ZWaveProtocolCCRangeInfo2 = class extends _classSuper {
|
|
338
|
+
static {
|
|
339
|
+
_classThis = this;
|
|
340
|
+
}
|
|
341
|
+
static {
|
|
342
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
343
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
344
|
+
ZWaveProtocolCCRangeInfo2 = _classThis = _classDescriptor.value;
|
|
345
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
346
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
347
|
+
}
|
|
348
|
+
constructor(options) {
|
|
349
|
+
super(options);
|
|
350
|
+
this.neighborNodeIds = options.neighborNodeIds;
|
|
351
|
+
this.wakeUpTime = options.wakeUpTime;
|
|
352
|
+
}
|
|
353
|
+
static from(raw, ctx) {
|
|
354
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
355
|
+
const bitmaskLength = raw.payload[0] & 31;
|
|
356
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1 + bitmaskLength);
|
|
357
|
+
const neighborNodeIds = (0, import_core.parseBitMask)(raw.payload.subarray(1, 1 + bitmaskLength));
|
|
358
|
+
let wakeUpTime;
|
|
359
|
+
if (raw.payload.length >= 2 + bitmaskLength) {
|
|
360
|
+
wakeUpTime = (0, import_Types.parseWakeUpTime)(raw.payload[1 + bitmaskLength]);
|
|
361
|
+
}
|
|
362
|
+
return new this({
|
|
363
|
+
nodeId: ctx.sourceNodeId,
|
|
364
|
+
neighborNodeIds,
|
|
365
|
+
wakeUpTime
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
neighborNodeIds;
|
|
369
|
+
wakeUpTime;
|
|
370
|
+
serialize(ctx) {
|
|
371
|
+
const nodesBitmask = (0, import_core.encodeBitMask)(this.neighborNodeIds, import_core.MAX_NODES);
|
|
372
|
+
this.payload = import_safe.Bytes.concat([
|
|
373
|
+
import_safe.Bytes.from([nodesBitmask.length]),
|
|
374
|
+
nodesBitmask,
|
|
375
|
+
this.wakeUpTime != void 0 ? import_safe.Bytes.from([this.wakeUpTime]) : new import_safe.Bytes()
|
|
376
|
+
]);
|
|
377
|
+
return super.serialize(ctx);
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
return ZWaveProtocolCCRangeInfo2 = _classThis;
|
|
381
|
+
})();
|
|
382
|
+
let ZWaveProtocolCCGetNodesInRange = (() => {
|
|
383
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.GetNodesInRange), (0, import_CommandClassDecorators.expectedCCResponse)(ZWaveProtocolCCRangeInfo)];
|
|
384
|
+
let _classDescriptor;
|
|
385
|
+
let _classExtraInitializers = [];
|
|
386
|
+
let _classThis;
|
|
387
|
+
let _classSuper = ZWaveProtocolCC;
|
|
388
|
+
var ZWaveProtocolCCGetNodesInRange2 = class extends _classSuper {
|
|
389
|
+
static {
|
|
390
|
+
_classThis = this;
|
|
391
|
+
}
|
|
392
|
+
static {
|
|
393
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
394
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
395
|
+
ZWaveProtocolCCGetNodesInRange2 = _classThis = _classDescriptor.value;
|
|
396
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
397
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
return ZWaveProtocolCCGetNodesInRange2 = _classThis;
|
|
401
|
+
})();
|
|
402
|
+
let ZWaveProtocolCCCommandComplete = (() => {
|
|
403
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.CommandComplete)];
|
|
404
|
+
let _classDescriptor;
|
|
405
|
+
let _classExtraInitializers = [];
|
|
406
|
+
let _classThis;
|
|
407
|
+
let _classSuper = ZWaveProtocolCC;
|
|
408
|
+
var ZWaveProtocolCCCommandComplete2 = class extends _classSuper {
|
|
409
|
+
static {
|
|
410
|
+
_classThis = this;
|
|
411
|
+
}
|
|
412
|
+
static {
|
|
413
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
414
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
415
|
+
ZWaveProtocolCCCommandComplete2 = _classThis = _classDescriptor.value;
|
|
416
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
417
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
418
|
+
}
|
|
419
|
+
constructor(options) {
|
|
420
|
+
super(options);
|
|
421
|
+
this.sequenceNumber = options.sequenceNumber;
|
|
422
|
+
}
|
|
423
|
+
static from(raw, ctx) {
|
|
424
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
425
|
+
const sequenceNumber = raw.payload[0];
|
|
426
|
+
return new this({
|
|
427
|
+
nodeId: ctx.sourceNodeId,
|
|
428
|
+
sequenceNumber
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
sequenceNumber;
|
|
432
|
+
serialize(ctx) {
|
|
433
|
+
this.payload = import_safe.Bytes.from([this.sequenceNumber]);
|
|
434
|
+
return super.serialize(ctx);
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
return ZWaveProtocolCCCommandComplete2 = _classThis;
|
|
438
|
+
})();
|
|
439
|
+
let ZWaveProtocolCCTransferPresentation = (() => {
|
|
440
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.TransferPresentation)];
|
|
441
|
+
let _classDescriptor;
|
|
442
|
+
let _classExtraInitializers = [];
|
|
443
|
+
let _classThis;
|
|
444
|
+
let _classSuper = ZWaveProtocolCC;
|
|
445
|
+
var ZWaveProtocolCCTransferPresentation2 = class extends _classSuper {
|
|
446
|
+
static {
|
|
447
|
+
_classThis = this;
|
|
448
|
+
}
|
|
449
|
+
static {
|
|
450
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
451
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
452
|
+
ZWaveProtocolCCTransferPresentation2 = _classThis = _classDescriptor.value;
|
|
453
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
454
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
455
|
+
}
|
|
456
|
+
constructor(options) {
|
|
457
|
+
super(options);
|
|
458
|
+
if (options.includeNode && options.excludeNode) {
|
|
459
|
+
throw new import_core.ZWaveError(`${this.constructor.name}: the includeNode and excludeNode options cannot both be true`, import_core.ZWaveErrorCodes.Argument_Invalid);
|
|
460
|
+
}
|
|
461
|
+
this.supportsNWI = options.supportsNWI;
|
|
462
|
+
this.includeNode = options.includeNode;
|
|
463
|
+
this.excludeNode = options.excludeNode;
|
|
464
|
+
}
|
|
465
|
+
static from(raw, ctx) {
|
|
466
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
467
|
+
const option = raw.payload[0];
|
|
468
|
+
const supportsNWI = !!(option & 1);
|
|
469
|
+
const excludeNode = !!(option & 2);
|
|
470
|
+
const includeNode = !!(option & 4);
|
|
471
|
+
return new this({
|
|
472
|
+
nodeId: ctx.sourceNodeId,
|
|
473
|
+
supportsNWI,
|
|
474
|
+
excludeNode,
|
|
475
|
+
includeNode
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
supportsNWI;
|
|
479
|
+
includeNode;
|
|
480
|
+
excludeNode;
|
|
481
|
+
serialize(ctx) {
|
|
482
|
+
this.payload = import_safe.Bytes.from([
|
|
483
|
+
(this.supportsNWI ? 1 : 0) | (this.excludeNode ? 2 : 0) | (this.includeNode ? 4 : 0)
|
|
484
|
+
]);
|
|
485
|
+
return super.serialize(ctx);
|
|
486
|
+
}
|
|
487
|
+
};
|
|
488
|
+
return ZWaveProtocolCCTransferPresentation2 = _classThis;
|
|
489
|
+
})();
|
|
490
|
+
let ZWaveProtocolCCTransferNodeInformation = (() => {
|
|
491
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.TransferNodeInformation)];
|
|
492
|
+
let _classDescriptor;
|
|
493
|
+
let _classExtraInitializers = [];
|
|
494
|
+
let _classThis;
|
|
495
|
+
let _classSuper = ZWaveProtocolCC;
|
|
496
|
+
var ZWaveProtocolCCTransferNodeInformation2 = class extends _classSuper {
|
|
497
|
+
static {
|
|
498
|
+
_classThis = this;
|
|
499
|
+
}
|
|
500
|
+
static {
|
|
501
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
502
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
503
|
+
ZWaveProtocolCCTransferNodeInformation2 = _classThis = _classDescriptor.value;
|
|
504
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
505
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
506
|
+
}
|
|
507
|
+
constructor(options) {
|
|
508
|
+
super(options);
|
|
509
|
+
this.sequenceNumber = options.sequenceNumber;
|
|
510
|
+
this.sourceNodeId = options.sourceNodeId;
|
|
511
|
+
this.basicDeviceClass = options.basicDeviceClass;
|
|
512
|
+
this.genericDeviceClass = options.genericDeviceClass;
|
|
513
|
+
this.specificDeviceClass = options.specificDeviceClass;
|
|
514
|
+
this.isListening = options.isListening;
|
|
515
|
+
this.isFrequentListening = options.isFrequentListening;
|
|
516
|
+
this.isRouting = options.isRouting;
|
|
517
|
+
this.supportedDataRates = options.supportedDataRates;
|
|
518
|
+
this.protocolVersion = options.protocolVersion;
|
|
519
|
+
this.optionalFunctionality = options.optionalFunctionality;
|
|
520
|
+
this.nodeType = options.nodeType;
|
|
521
|
+
this.supportsSecurity = options.supportsSecurity;
|
|
522
|
+
this.supportsBeaming = options.supportsBeaming;
|
|
523
|
+
}
|
|
524
|
+
static from(raw, ctx) {
|
|
525
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
526
|
+
const sequenceNumber = raw.payload[0];
|
|
527
|
+
const sourceNodeId = raw.payload[1];
|
|
528
|
+
const { info } = (0, import_core.parseNodeProtocolInfoAndDeviceClass)(raw.payload.subarray(2));
|
|
529
|
+
return new this({
|
|
530
|
+
nodeId: ctx.sourceNodeId,
|
|
531
|
+
sequenceNumber,
|
|
532
|
+
sourceNodeId,
|
|
533
|
+
...info
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
sequenceNumber;
|
|
537
|
+
sourceNodeId;
|
|
538
|
+
basicDeviceClass;
|
|
539
|
+
genericDeviceClass;
|
|
540
|
+
specificDeviceClass;
|
|
541
|
+
isListening;
|
|
542
|
+
isFrequentListening;
|
|
543
|
+
isRouting;
|
|
544
|
+
supportedDataRates;
|
|
545
|
+
protocolVersion;
|
|
546
|
+
optionalFunctionality;
|
|
547
|
+
nodeType;
|
|
548
|
+
supportsSecurity;
|
|
549
|
+
supportsBeaming;
|
|
550
|
+
serialize(ctx) {
|
|
551
|
+
this.payload = import_safe.Bytes.concat([
|
|
552
|
+
import_safe.Bytes.from([this.sequenceNumber, this.sourceNodeId]),
|
|
553
|
+
(0, import_core.encodeNodeProtocolInfoAndDeviceClass)(this)
|
|
554
|
+
]);
|
|
555
|
+
return super.serialize(ctx);
|
|
556
|
+
}
|
|
557
|
+
};
|
|
558
|
+
return ZWaveProtocolCCTransferNodeInformation2 = _classThis;
|
|
559
|
+
})();
|
|
560
|
+
let ZWaveProtocolCCTransferRangeInformation = (() => {
|
|
561
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.TransferRangeInformation)];
|
|
562
|
+
let _classDescriptor;
|
|
563
|
+
let _classExtraInitializers = [];
|
|
564
|
+
let _classThis;
|
|
565
|
+
let _classSuper = ZWaveProtocolCC;
|
|
566
|
+
var ZWaveProtocolCCTransferRangeInformation2 = class extends _classSuper {
|
|
567
|
+
static {
|
|
568
|
+
_classThis = this;
|
|
569
|
+
}
|
|
570
|
+
static {
|
|
571
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
572
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
573
|
+
ZWaveProtocolCCTransferRangeInformation2 = _classThis = _classDescriptor.value;
|
|
574
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
575
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
576
|
+
}
|
|
577
|
+
constructor(options) {
|
|
578
|
+
super(options);
|
|
579
|
+
this.sequenceNumber = options.sequenceNumber;
|
|
580
|
+
this.testedNodeId = options.testedNodeId;
|
|
581
|
+
this.neighborNodeIds = options.neighborNodeIds;
|
|
582
|
+
}
|
|
583
|
+
static from(raw, ctx) {
|
|
584
|
+
(0, import_core.validatePayload)(raw.payload.length >= 3);
|
|
585
|
+
const sequenceNumber = raw.payload[0];
|
|
586
|
+
const testedNodeId = raw.payload[1];
|
|
587
|
+
const bitmaskLength = raw.payload[2];
|
|
588
|
+
(0, import_core.validatePayload)(raw.payload.length >= 3 + bitmaskLength);
|
|
589
|
+
const neighborNodeIds = (0, import_core.parseBitMask)(raw.payload.subarray(3, 3 + bitmaskLength));
|
|
590
|
+
return new this({
|
|
591
|
+
nodeId: ctx.sourceNodeId,
|
|
592
|
+
sequenceNumber,
|
|
593
|
+
testedNodeId,
|
|
594
|
+
neighborNodeIds
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
sequenceNumber;
|
|
598
|
+
testedNodeId;
|
|
599
|
+
neighborNodeIds;
|
|
600
|
+
serialize(ctx) {
|
|
601
|
+
const nodesBitmask = (0, import_core.encodeBitMask)(this.neighborNodeIds, import_core.MAX_NODES);
|
|
602
|
+
this.payload = import_safe.Bytes.concat([
|
|
603
|
+
import_safe.Bytes.from([
|
|
604
|
+
this.sequenceNumber,
|
|
605
|
+
this.testedNodeId,
|
|
606
|
+
nodesBitmask.length
|
|
607
|
+
]),
|
|
608
|
+
nodesBitmask
|
|
609
|
+
]);
|
|
610
|
+
return super.serialize(ctx);
|
|
611
|
+
}
|
|
612
|
+
};
|
|
613
|
+
return ZWaveProtocolCCTransferRangeInformation2 = _classThis;
|
|
614
|
+
})();
|
|
615
|
+
let ZWaveProtocolCCTransferEnd = (() => {
|
|
616
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.TransferEnd)];
|
|
617
|
+
let _classDescriptor;
|
|
618
|
+
let _classExtraInitializers = [];
|
|
619
|
+
let _classThis;
|
|
620
|
+
let _classSuper = ZWaveProtocolCC;
|
|
621
|
+
var ZWaveProtocolCCTransferEnd2 = class extends _classSuper {
|
|
622
|
+
static {
|
|
623
|
+
_classThis = this;
|
|
624
|
+
}
|
|
625
|
+
static {
|
|
626
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
627
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
628
|
+
ZWaveProtocolCCTransferEnd2 = _classThis = _classDescriptor.value;
|
|
629
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
630
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
631
|
+
}
|
|
632
|
+
constructor(options) {
|
|
633
|
+
super(options);
|
|
634
|
+
this.status = options.status;
|
|
635
|
+
}
|
|
636
|
+
static from(raw, ctx) {
|
|
637
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
638
|
+
const status = raw.payload[0];
|
|
639
|
+
return new this({
|
|
640
|
+
nodeId: ctx.sourceNodeId,
|
|
641
|
+
status
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
status;
|
|
645
|
+
serialize(ctx) {
|
|
646
|
+
this.payload = import_safe.Bytes.from([this.status]);
|
|
647
|
+
return super.serialize(ctx);
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
return ZWaveProtocolCCTransferEnd2 = _classThis;
|
|
651
|
+
})();
|
|
652
|
+
let ZWaveProtocolCCAssignReturnRoute = (() => {
|
|
653
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.AssignReturnRoute)];
|
|
654
|
+
let _classDescriptor;
|
|
655
|
+
let _classExtraInitializers = [];
|
|
656
|
+
let _classThis;
|
|
657
|
+
let _classSuper = ZWaveProtocolCC;
|
|
658
|
+
var ZWaveProtocolCCAssignReturnRoute2 = class extends _classSuper {
|
|
659
|
+
static {
|
|
660
|
+
_classThis = this;
|
|
661
|
+
}
|
|
662
|
+
static {
|
|
663
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
664
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
665
|
+
ZWaveProtocolCCAssignReturnRoute2 = _classThis = _classDescriptor.value;
|
|
666
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
667
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
668
|
+
}
|
|
669
|
+
constructor(options) {
|
|
670
|
+
super(options);
|
|
671
|
+
if (options.repeaters.length > import_core.MAX_REPEATERS) {
|
|
672
|
+
throw new import_core.ZWaveError(`${this.constructor.name}: too many repeaters`, import_core.ZWaveErrorCodes.Argument_Invalid);
|
|
673
|
+
}
|
|
674
|
+
this.destinationNodeId = options.destinationNodeId;
|
|
675
|
+
this.routeIndex = options.routeIndex;
|
|
676
|
+
this.repeaters = options.repeaters;
|
|
677
|
+
this.destinationWakeUp = options.destinationWakeUp;
|
|
678
|
+
this.destinationSpeed = options.destinationSpeed;
|
|
679
|
+
}
|
|
680
|
+
static from(raw, ctx) {
|
|
681
|
+
(0, import_core.validatePayload)(raw.payload.length >= 7);
|
|
682
|
+
const destinationNodeId = raw.payload[0];
|
|
683
|
+
const routeIndex = raw.payload[1] >>> 4;
|
|
684
|
+
const numRepeaters = raw.payload[1] & 15;
|
|
685
|
+
const repeaters = [...raw.payload.subarray(2, 2 + numRepeaters)];
|
|
686
|
+
const speedAndWakeup = raw.payload[2 + numRepeaters];
|
|
687
|
+
const destinationSpeed = bitmask2DataRate(speedAndWakeup >>> 3 & 7);
|
|
688
|
+
const destinationWakeUp = speedAndWakeup >>> 1 & 3;
|
|
689
|
+
return new this({
|
|
690
|
+
nodeId: ctx.sourceNodeId,
|
|
691
|
+
destinationNodeId,
|
|
692
|
+
routeIndex,
|
|
693
|
+
repeaters,
|
|
694
|
+
destinationSpeed,
|
|
695
|
+
destinationWakeUp
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
destinationNodeId;
|
|
699
|
+
routeIndex;
|
|
700
|
+
repeaters;
|
|
701
|
+
destinationWakeUp;
|
|
702
|
+
destinationSpeed;
|
|
703
|
+
serialize(ctx) {
|
|
704
|
+
const routeByte = this.routeIndex << 4 | this.repeaters.length;
|
|
705
|
+
const speedMask = dataRate2Bitmask(this.destinationSpeed);
|
|
706
|
+
const speedByte = speedMask << 3 | this.destinationWakeUp << 1;
|
|
707
|
+
this.payload = import_safe.Bytes.from([
|
|
708
|
+
this.destinationNodeId,
|
|
709
|
+
routeByte,
|
|
710
|
+
...this.repeaters,
|
|
711
|
+
speedByte
|
|
712
|
+
]);
|
|
713
|
+
return super.serialize(ctx);
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
return ZWaveProtocolCCAssignReturnRoute2 = _classThis;
|
|
717
|
+
})();
|
|
718
|
+
let ZWaveProtocolCCNewNodeRegistered = (() => {
|
|
719
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.NewNodeRegistered)];
|
|
720
|
+
let _classDescriptor;
|
|
721
|
+
let _classExtraInitializers = [];
|
|
722
|
+
let _classThis;
|
|
723
|
+
let _classSuper = ZWaveProtocolCC;
|
|
724
|
+
var ZWaveProtocolCCNewNodeRegistered2 = class extends _classSuper {
|
|
725
|
+
static {
|
|
726
|
+
_classThis = this;
|
|
727
|
+
}
|
|
728
|
+
static {
|
|
729
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
730
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
731
|
+
ZWaveProtocolCCNewNodeRegistered2 = _classThis = _classDescriptor.value;
|
|
732
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
733
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
734
|
+
}
|
|
735
|
+
constructor(options) {
|
|
736
|
+
super(options);
|
|
737
|
+
this.newNodeId = options.newNodeId;
|
|
738
|
+
this.basicDeviceClass = options.basicDeviceClass;
|
|
739
|
+
this.genericDeviceClass = options.genericDeviceClass;
|
|
740
|
+
this.specificDeviceClass = options.specificDeviceClass;
|
|
741
|
+
this.isListening = options.isListening;
|
|
742
|
+
this.isFrequentListening = options.isFrequentListening;
|
|
743
|
+
this.isRouting = options.isRouting;
|
|
744
|
+
this.supportedDataRates = options.supportedDataRates;
|
|
745
|
+
this.protocolVersion = options.protocolVersion;
|
|
746
|
+
this.optionalFunctionality = options.optionalFunctionality;
|
|
747
|
+
this.nodeType = options.nodeType;
|
|
748
|
+
this.supportsSecurity = options.supportsSecurity;
|
|
749
|
+
this.supportsBeaming = options.supportsBeaming;
|
|
750
|
+
this.supportedCCs = options.supportedCCs;
|
|
751
|
+
}
|
|
752
|
+
static from(raw, ctx) {
|
|
753
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
754
|
+
const newNodeId = raw.payload[0];
|
|
755
|
+
const nif = (0, import_core.parseNodeInformationFrame)(raw.payload.subarray(1));
|
|
756
|
+
return new this({
|
|
757
|
+
nodeId: ctx.sourceNodeId,
|
|
758
|
+
newNodeId,
|
|
759
|
+
...nif
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
newNodeId;
|
|
763
|
+
basicDeviceClass;
|
|
764
|
+
genericDeviceClass;
|
|
765
|
+
specificDeviceClass;
|
|
766
|
+
isListening;
|
|
767
|
+
isFrequentListening;
|
|
768
|
+
isRouting;
|
|
769
|
+
supportedDataRates;
|
|
770
|
+
protocolVersion;
|
|
771
|
+
optionalFunctionality;
|
|
772
|
+
nodeType;
|
|
773
|
+
supportsSecurity;
|
|
774
|
+
supportsBeaming;
|
|
775
|
+
supportedCCs;
|
|
776
|
+
serialize(ctx) {
|
|
777
|
+
this.payload = import_safe.Bytes.concat([
|
|
778
|
+
import_safe.Bytes.from([this.newNodeId]),
|
|
779
|
+
(0, import_core.encodeNodeInformationFrame)(this)
|
|
780
|
+
]);
|
|
781
|
+
return super.serialize(ctx);
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
return ZWaveProtocolCCNewNodeRegistered2 = _classThis;
|
|
785
|
+
})();
|
|
786
|
+
let ZWaveProtocolCCNewRangeRegistered = (() => {
|
|
787
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.NewRangeRegistered)];
|
|
788
|
+
let _classDescriptor;
|
|
789
|
+
let _classExtraInitializers = [];
|
|
790
|
+
let _classThis;
|
|
791
|
+
let _classSuper = ZWaveProtocolCC;
|
|
792
|
+
var ZWaveProtocolCCNewRangeRegistered2 = class extends _classSuper {
|
|
793
|
+
static {
|
|
794
|
+
_classThis = this;
|
|
795
|
+
}
|
|
796
|
+
static {
|
|
797
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
798
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
799
|
+
ZWaveProtocolCCNewRangeRegistered2 = _classThis = _classDescriptor.value;
|
|
800
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
801
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
802
|
+
}
|
|
803
|
+
constructor(options) {
|
|
804
|
+
super(options);
|
|
805
|
+
this.testedNodeId = options.testedNodeId;
|
|
806
|
+
this.neighborNodeIds = options.neighborNodeIds;
|
|
807
|
+
}
|
|
808
|
+
static from(raw, ctx) {
|
|
809
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
810
|
+
const testedNodeId = raw.payload[0];
|
|
811
|
+
const numNeighbors = raw.payload[1];
|
|
812
|
+
const neighborNodeIds = [
|
|
813
|
+
...raw.payload.subarray(2, 2 + numNeighbors)
|
|
814
|
+
];
|
|
815
|
+
return new this({
|
|
816
|
+
nodeId: ctx.sourceNodeId,
|
|
817
|
+
testedNodeId,
|
|
818
|
+
neighborNodeIds
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
testedNodeId;
|
|
822
|
+
neighborNodeIds;
|
|
823
|
+
serialize(ctx) {
|
|
824
|
+
const nodesBitmask = (0, import_core.encodeBitMask)(this.neighborNodeIds, import_core.MAX_NODES);
|
|
825
|
+
this.payload = import_safe.Bytes.concat([
|
|
826
|
+
import_safe.Bytes.from([this.testedNodeId, nodesBitmask.length]),
|
|
827
|
+
nodesBitmask
|
|
828
|
+
]);
|
|
829
|
+
return super.serialize(ctx);
|
|
830
|
+
}
|
|
831
|
+
};
|
|
832
|
+
return ZWaveProtocolCCNewRangeRegistered2 = _classThis;
|
|
833
|
+
})();
|
|
834
|
+
let ZWaveProtocolCCTransferNewPrimaryControllerComplete = (() => {
|
|
835
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.TransferNewPrimaryControllerComplete)];
|
|
836
|
+
let _classDescriptor;
|
|
837
|
+
let _classExtraInitializers = [];
|
|
838
|
+
let _classThis;
|
|
839
|
+
let _classSuper = ZWaveProtocolCC;
|
|
840
|
+
var ZWaveProtocolCCTransferNewPrimaryControllerComplete2 = class extends _classSuper {
|
|
841
|
+
static {
|
|
842
|
+
_classThis = this;
|
|
843
|
+
}
|
|
844
|
+
static {
|
|
845
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
846
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
847
|
+
ZWaveProtocolCCTransferNewPrimaryControllerComplete2 = _classThis = _classDescriptor.value;
|
|
848
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
849
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
850
|
+
}
|
|
851
|
+
constructor(options) {
|
|
852
|
+
super(options);
|
|
853
|
+
this.genericDeviceClass = options.genericDeviceClass;
|
|
854
|
+
}
|
|
855
|
+
static from(raw, ctx) {
|
|
856
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
857
|
+
const genericDeviceClass = raw.payload[0];
|
|
858
|
+
return new this({
|
|
859
|
+
nodeId: ctx.sourceNodeId,
|
|
860
|
+
genericDeviceClass
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
genericDeviceClass;
|
|
864
|
+
serialize(ctx) {
|
|
865
|
+
this.payload = import_safe.Bytes.from([this.genericDeviceClass]);
|
|
866
|
+
return super.serialize(ctx);
|
|
867
|
+
}
|
|
868
|
+
};
|
|
869
|
+
return ZWaveProtocolCCTransferNewPrimaryControllerComplete2 = _classThis;
|
|
870
|
+
})();
|
|
871
|
+
let ZWaveProtocolCCAutomaticControllerUpdateStart = (() => {
|
|
872
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.AutomaticControllerUpdateStart)];
|
|
873
|
+
let _classDescriptor;
|
|
874
|
+
let _classExtraInitializers = [];
|
|
875
|
+
let _classThis;
|
|
876
|
+
let _classSuper = ZWaveProtocolCC;
|
|
877
|
+
var ZWaveProtocolCCAutomaticControllerUpdateStart2 = class extends _classSuper {
|
|
878
|
+
static {
|
|
879
|
+
_classThis = this;
|
|
880
|
+
}
|
|
881
|
+
static {
|
|
882
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
883
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
884
|
+
ZWaveProtocolCCAutomaticControllerUpdateStart2 = _classThis = _classDescriptor.value;
|
|
885
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
886
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
887
|
+
}
|
|
888
|
+
};
|
|
889
|
+
return ZWaveProtocolCCAutomaticControllerUpdateStart2 = _classThis;
|
|
890
|
+
})();
|
|
891
|
+
let ZWaveProtocolCCSUCNodeID = (() => {
|
|
892
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.SUCNodeID)];
|
|
893
|
+
let _classDescriptor;
|
|
894
|
+
let _classExtraInitializers = [];
|
|
895
|
+
let _classThis;
|
|
896
|
+
let _classSuper = ZWaveProtocolCC;
|
|
897
|
+
var ZWaveProtocolCCSUCNodeID2 = class extends _classSuper {
|
|
898
|
+
static {
|
|
899
|
+
_classThis = this;
|
|
900
|
+
}
|
|
901
|
+
static {
|
|
902
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
903
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
904
|
+
ZWaveProtocolCCSUCNodeID2 = _classThis = _classDescriptor.value;
|
|
905
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
906
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
907
|
+
}
|
|
908
|
+
constructor(options) {
|
|
909
|
+
super(options);
|
|
910
|
+
this.sucNodeId = options.sucNodeId;
|
|
911
|
+
this.isSIS = options.isSIS;
|
|
912
|
+
}
|
|
913
|
+
static from(raw, ctx) {
|
|
914
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
915
|
+
const sucNodeId = raw.payload[0];
|
|
916
|
+
const capabilities = raw.payload[1] ?? 0;
|
|
917
|
+
const isSIS = !!(capabilities & 1);
|
|
918
|
+
return new this({
|
|
919
|
+
nodeId: ctx.sourceNodeId,
|
|
920
|
+
sucNodeId,
|
|
921
|
+
isSIS
|
|
922
|
+
});
|
|
923
|
+
}
|
|
924
|
+
sucNodeId;
|
|
925
|
+
isSIS;
|
|
926
|
+
serialize(ctx) {
|
|
927
|
+
this.payload = import_safe.Bytes.from([this.sucNodeId, this.isSIS ? 1 : 0]);
|
|
928
|
+
return super.serialize(ctx);
|
|
929
|
+
}
|
|
930
|
+
};
|
|
931
|
+
return ZWaveProtocolCCSUCNodeID2 = _classThis;
|
|
932
|
+
})();
|
|
933
|
+
let ZWaveProtocolCCSetSUC = (() => {
|
|
934
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.SetSUC)];
|
|
935
|
+
let _classDescriptor;
|
|
936
|
+
let _classExtraInitializers = [];
|
|
937
|
+
let _classThis;
|
|
938
|
+
let _classSuper = ZWaveProtocolCC;
|
|
939
|
+
var ZWaveProtocolCCSetSUC2 = class extends _classSuper {
|
|
940
|
+
static {
|
|
941
|
+
_classThis = this;
|
|
942
|
+
}
|
|
943
|
+
static {
|
|
944
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
945
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
946
|
+
ZWaveProtocolCCSetSUC2 = _classThis = _classDescriptor.value;
|
|
947
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
948
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
949
|
+
}
|
|
950
|
+
constructor(options) {
|
|
951
|
+
super(options);
|
|
952
|
+
this.enableSIS = options.enableSIS;
|
|
953
|
+
}
|
|
954
|
+
static from(raw, ctx) {
|
|
955
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
956
|
+
const capabilities = raw.payload[1] ?? 0;
|
|
957
|
+
const enableSIS = !!(capabilities & 1);
|
|
958
|
+
return new this({
|
|
959
|
+
nodeId: ctx.sourceNodeId,
|
|
960
|
+
enableSIS
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
enableSIS;
|
|
964
|
+
serialize(ctx) {
|
|
965
|
+
this.payload = import_safe.Bytes.from([1, this.enableSIS ? 1 : 0]);
|
|
966
|
+
return super.serialize(ctx);
|
|
967
|
+
}
|
|
968
|
+
};
|
|
969
|
+
return ZWaveProtocolCCSetSUC2 = _classThis;
|
|
970
|
+
})();
|
|
971
|
+
let ZWaveProtocolCCSetSUCAck = (() => {
|
|
972
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.SetSUCAck)];
|
|
973
|
+
let _classDescriptor;
|
|
974
|
+
let _classExtraInitializers = [];
|
|
975
|
+
let _classThis;
|
|
976
|
+
let _classSuper = ZWaveProtocolCC;
|
|
977
|
+
var ZWaveProtocolCCSetSUCAck2 = class extends _classSuper {
|
|
978
|
+
static {
|
|
979
|
+
_classThis = this;
|
|
980
|
+
}
|
|
981
|
+
static {
|
|
982
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
983
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
984
|
+
ZWaveProtocolCCSetSUCAck2 = _classThis = _classDescriptor.value;
|
|
985
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
986
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
987
|
+
}
|
|
988
|
+
constructor(options) {
|
|
989
|
+
super(options);
|
|
990
|
+
this.accepted = options.accepted;
|
|
991
|
+
this.isSIS = options.isSIS;
|
|
992
|
+
}
|
|
993
|
+
static from(raw, ctx) {
|
|
994
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
995
|
+
const accepted = raw.payload[0] === 1;
|
|
996
|
+
const capabilities = raw.payload[1] ?? 0;
|
|
997
|
+
const isSIS = !!(capabilities & 1);
|
|
998
|
+
return new this({
|
|
999
|
+
nodeId: ctx.sourceNodeId,
|
|
1000
|
+
accepted,
|
|
1001
|
+
isSIS
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
accepted;
|
|
1005
|
+
isSIS;
|
|
1006
|
+
serialize(ctx) {
|
|
1007
|
+
this.payload = import_safe.Bytes.from([
|
|
1008
|
+
this.accepted ? 1 : 0,
|
|
1009
|
+
this.isSIS ? 1 : 0
|
|
1010
|
+
]);
|
|
1011
|
+
return super.serialize(ctx);
|
|
1012
|
+
}
|
|
1013
|
+
};
|
|
1014
|
+
return ZWaveProtocolCCSetSUCAck2 = _classThis;
|
|
1015
|
+
})();
|
|
1016
|
+
let ZWaveProtocolCCAssignSUCReturnRoute = (() => {
|
|
1017
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.AssignSUCReturnRoute)];
|
|
1018
|
+
let _classDescriptor;
|
|
1019
|
+
let _classExtraInitializers = [];
|
|
1020
|
+
let _classThis;
|
|
1021
|
+
let _classSuper = ZWaveProtocolCCAssignReturnRoute;
|
|
1022
|
+
var ZWaveProtocolCCAssignSUCReturnRoute2 = class extends _classSuper {
|
|
1023
|
+
static {
|
|
1024
|
+
_classThis = this;
|
|
1025
|
+
}
|
|
1026
|
+
static {
|
|
1027
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1028
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1029
|
+
ZWaveProtocolCCAssignSUCReturnRoute2 = _classThis = _classDescriptor.value;
|
|
1030
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1031
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1032
|
+
}
|
|
1033
|
+
};
|
|
1034
|
+
return ZWaveProtocolCCAssignSUCReturnRoute2 = _classThis;
|
|
1035
|
+
})();
|
|
1036
|
+
let ZWaveProtocolCCStaticRouteRequest = (() => {
|
|
1037
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.StaticRouteRequest)];
|
|
1038
|
+
let _classDescriptor;
|
|
1039
|
+
let _classExtraInitializers = [];
|
|
1040
|
+
let _classThis;
|
|
1041
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1042
|
+
var ZWaveProtocolCCStaticRouteRequest2 = class extends _classSuper {
|
|
1043
|
+
static {
|
|
1044
|
+
_classThis = this;
|
|
1045
|
+
}
|
|
1046
|
+
static {
|
|
1047
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1048
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1049
|
+
ZWaveProtocolCCStaticRouteRequest2 = _classThis = _classDescriptor.value;
|
|
1050
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1051
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1052
|
+
}
|
|
1053
|
+
constructor(options) {
|
|
1054
|
+
super(options);
|
|
1055
|
+
if (options.nodeIds.some((n) => n < 1 || n > import_core.MAX_NODES)) {
|
|
1056
|
+
throw new import_core.ZWaveError(`All node IDs must be between 1 and ${import_core.MAX_NODES}!`, import_core.ZWaveErrorCodes.Argument_Invalid);
|
|
1057
|
+
}
|
|
1058
|
+
this.nodeIds = options.nodeIds;
|
|
1059
|
+
}
|
|
1060
|
+
static from(raw, ctx) {
|
|
1061
|
+
(0, import_core.validatePayload)(raw.payload.length >= 5);
|
|
1062
|
+
const nodeIds = [...raw.payload.subarray(0, 5)].filter((id) => id > 0 && id <= import_core.MAX_NODES);
|
|
1063
|
+
return new this({
|
|
1064
|
+
nodeId: ctx.sourceNodeId,
|
|
1065
|
+
nodeIds
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
nodeIds;
|
|
1069
|
+
serialize(ctx) {
|
|
1070
|
+
this.payload = import_safe.Bytes.alloc(5, 0);
|
|
1071
|
+
for (let i = 0; i < this.nodeIds.length && i < 5; i++) {
|
|
1072
|
+
this.payload[i] = this.nodeIds[i];
|
|
1073
|
+
}
|
|
1074
|
+
return super.serialize(ctx);
|
|
1075
|
+
}
|
|
1076
|
+
};
|
|
1077
|
+
return ZWaveProtocolCCStaticRouteRequest2 = _classThis;
|
|
1078
|
+
})();
|
|
1079
|
+
let ZWaveProtocolCCLost = (() => {
|
|
1080
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.Lost)];
|
|
1081
|
+
let _classDescriptor;
|
|
1082
|
+
let _classExtraInitializers = [];
|
|
1083
|
+
let _classThis;
|
|
1084
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1085
|
+
var ZWaveProtocolCCLost2 = class extends _classSuper {
|
|
1086
|
+
static {
|
|
1087
|
+
_classThis = this;
|
|
1088
|
+
}
|
|
1089
|
+
static {
|
|
1090
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1091
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1092
|
+
ZWaveProtocolCCLost2 = _classThis = _classDescriptor.value;
|
|
1093
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1094
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1095
|
+
}
|
|
1096
|
+
constructor(options) {
|
|
1097
|
+
super(options);
|
|
1098
|
+
this.lostNodeId = options.lostNodeId;
|
|
1099
|
+
}
|
|
1100
|
+
static from(raw, ctx) {
|
|
1101
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
1102
|
+
const lostNodeId = raw.payload[0];
|
|
1103
|
+
return new this({
|
|
1104
|
+
nodeId: ctx.sourceNodeId,
|
|
1105
|
+
lostNodeId
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
lostNodeId;
|
|
1109
|
+
serialize(ctx) {
|
|
1110
|
+
this.payload = import_safe.Bytes.from([this.lostNodeId]);
|
|
1111
|
+
return super.serialize(ctx);
|
|
1112
|
+
}
|
|
1113
|
+
};
|
|
1114
|
+
return ZWaveProtocolCCLost2 = _classThis;
|
|
1115
|
+
})();
|
|
1116
|
+
let ZWaveProtocolCCAcceptLost = (() => {
|
|
1117
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.AcceptLost)];
|
|
1118
|
+
let _classDescriptor;
|
|
1119
|
+
let _classExtraInitializers = [];
|
|
1120
|
+
let _classThis;
|
|
1121
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1122
|
+
var ZWaveProtocolCCAcceptLost2 = class extends _classSuper {
|
|
1123
|
+
static {
|
|
1124
|
+
_classThis = this;
|
|
1125
|
+
}
|
|
1126
|
+
static {
|
|
1127
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1128
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1129
|
+
ZWaveProtocolCCAcceptLost2 = _classThis = _classDescriptor.value;
|
|
1130
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1131
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1132
|
+
}
|
|
1133
|
+
constructor(options) {
|
|
1134
|
+
super(options);
|
|
1135
|
+
this.accepted = options.accepted;
|
|
1136
|
+
}
|
|
1137
|
+
static from(raw, ctx) {
|
|
1138
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
1139
|
+
(0, import_core.validatePayload)(raw.payload[0] === 4 || raw.payload[0] === 5);
|
|
1140
|
+
const accepted = raw.payload[0] === 5;
|
|
1141
|
+
return new this({
|
|
1142
|
+
nodeId: ctx.sourceNodeId,
|
|
1143
|
+
accepted
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
accepted;
|
|
1147
|
+
serialize(ctx) {
|
|
1148
|
+
this.payload = import_safe.Bytes.from([this.accepted ? 5 : 4]);
|
|
1149
|
+
return super.serialize(ctx);
|
|
1150
|
+
}
|
|
1151
|
+
};
|
|
1152
|
+
return ZWaveProtocolCCAcceptLost2 = _classThis;
|
|
1153
|
+
})();
|
|
1154
|
+
let ZWaveProtocolCCNOPPower = (() => {
|
|
1155
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.NOPPower)];
|
|
1156
|
+
let _classDescriptor;
|
|
1157
|
+
let _classExtraInitializers = [];
|
|
1158
|
+
let _classThis;
|
|
1159
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1160
|
+
var ZWaveProtocolCCNOPPower2 = class extends _classSuper {
|
|
1161
|
+
static {
|
|
1162
|
+
_classThis = this;
|
|
1163
|
+
}
|
|
1164
|
+
static {
|
|
1165
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1166
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1167
|
+
ZWaveProtocolCCNOPPower2 = _classThis = _classDescriptor.value;
|
|
1168
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1169
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1170
|
+
}
|
|
1171
|
+
constructor(options) {
|
|
1172
|
+
super(options);
|
|
1173
|
+
if (options.powerDampening < 0 || options.powerDampening > 14) {
|
|
1174
|
+
throw new import_core.ZWaveError(`${this.constructor.name}: power dampening must be between 0 and 14 dBm!`, import_core.ZWaveErrorCodes.Argument_Invalid);
|
|
1175
|
+
}
|
|
1176
|
+
this.powerDampening = options.powerDampening;
|
|
1177
|
+
}
|
|
1178
|
+
static from(raw, ctx) {
|
|
1179
|
+
let powerDampening;
|
|
1180
|
+
if (raw.payload.length >= 2) {
|
|
1181
|
+
powerDampening = raw.payload[1];
|
|
1182
|
+
} else if (raw.payload.length === 1) {
|
|
1183
|
+
powerDampening = [
|
|
1184
|
+
240,
|
|
1185
|
+
200,
|
|
1186
|
+
167,
|
|
1187
|
+
145,
|
|
1188
|
+
119,
|
|
1189
|
+
103,
|
|
1190
|
+
96,
|
|
1191
|
+
70,
|
|
1192
|
+
56,
|
|
1193
|
+
53,
|
|
1194
|
+
50,
|
|
1195
|
+
48,
|
|
1196
|
+
36,
|
|
1197
|
+
34,
|
|
1198
|
+
32
|
|
1199
|
+
].indexOf(raw.payload[0]);
|
|
1200
|
+
if (powerDampening === -1)
|
|
1201
|
+
powerDampening = 0;
|
|
1202
|
+
} else {
|
|
1203
|
+
import_core.validatePayload.fail("Invalid payload length!");
|
|
1204
|
+
}
|
|
1205
|
+
return new this({
|
|
1206
|
+
nodeId: ctx.sourceNodeId,
|
|
1207
|
+
powerDampening
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
// Power dampening in (negative) dBm. A value of 2 means -2 dBm.
|
|
1211
|
+
powerDampening;
|
|
1212
|
+
serialize(ctx) {
|
|
1213
|
+
this.payload = import_safe.Bytes.from([0, this.powerDampening]);
|
|
1214
|
+
return super.serialize(ctx);
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
return ZWaveProtocolCCNOPPower2 = _classThis;
|
|
1218
|
+
})();
|
|
1219
|
+
let ZWaveProtocolCCReservedIDs = (() => {
|
|
1220
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.ReservedIDs)];
|
|
1221
|
+
let _classDescriptor;
|
|
1222
|
+
let _classExtraInitializers = [];
|
|
1223
|
+
let _classThis;
|
|
1224
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1225
|
+
var ZWaveProtocolCCReservedIDs2 = class extends _classSuper {
|
|
1226
|
+
static {
|
|
1227
|
+
_classThis = this;
|
|
1228
|
+
}
|
|
1229
|
+
static {
|
|
1230
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1231
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1232
|
+
ZWaveProtocolCCReservedIDs2 = _classThis = _classDescriptor.value;
|
|
1233
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1234
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1235
|
+
}
|
|
1236
|
+
constructor(options) {
|
|
1237
|
+
super(options);
|
|
1238
|
+
this.reservedNodeIDs = options.reservedNodeIDs;
|
|
1239
|
+
}
|
|
1240
|
+
static from(raw, ctx) {
|
|
1241
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
1242
|
+
const numNodeIDs = raw.payload[0];
|
|
1243
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1 + numNodeIDs);
|
|
1244
|
+
const reservedNodeIDs = [
|
|
1245
|
+
...raw.payload.subarray(1, 1 + numNodeIDs)
|
|
1246
|
+
];
|
|
1247
|
+
return new this({
|
|
1248
|
+
nodeId: ctx.sourceNodeId,
|
|
1249
|
+
reservedNodeIDs
|
|
1250
|
+
});
|
|
1251
|
+
}
|
|
1252
|
+
reservedNodeIDs;
|
|
1253
|
+
serialize(ctx) {
|
|
1254
|
+
this.payload = import_safe.Bytes.from([
|
|
1255
|
+
this.reservedNodeIDs.length,
|
|
1256
|
+
...this.reservedNodeIDs
|
|
1257
|
+
]);
|
|
1258
|
+
return super.serialize(ctx);
|
|
1259
|
+
}
|
|
1260
|
+
};
|
|
1261
|
+
return ZWaveProtocolCCReservedIDs2 = _classThis;
|
|
1262
|
+
})();
|
|
1263
|
+
let ZWaveProtocolCCReserveNodeIDs = (() => {
|
|
1264
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.ReserveNodeIDs), (0, import_CommandClassDecorators.expectedCCResponse)(ZWaveProtocolCCReservedIDs)];
|
|
1265
|
+
let _classDescriptor;
|
|
1266
|
+
let _classExtraInitializers = [];
|
|
1267
|
+
let _classThis;
|
|
1268
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1269
|
+
var ZWaveProtocolCCReserveNodeIDs2 = class extends _classSuper {
|
|
1270
|
+
static {
|
|
1271
|
+
_classThis = this;
|
|
1272
|
+
}
|
|
1273
|
+
static {
|
|
1274
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1275
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1276
|
+
ZWaveProtocolCCReserveNodeIDs2 = _classThis = _classDescriptor.value;
|
|
1277
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1278
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1279
|
+
}
|
|
1280
|
+
constructor(options) {
|
|
1281
|
+
super(options);
|
|
1282
|
+
this.numNodeIDs = options.numNodeIDs;
|
|
1283
|
+
}
|
|
1284
|
+
static from(raw, ctx) {
|
|
1285
|
+
(0, import_core.validatePayload)(raw.payload.length >= 1);
|
|
1286
|
+
const numNodeIDs = raw.payload[0];
|
|
1287
|
+
return new this({
|
|
1288
|
+
nodeId: ctx.sourceNodeId,
|
|
1289
|
+
numNodeIDs
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
numNodeIDs;
|
|
1293
|
+
serialize(ctx) {
|
|
1294
|
+
this.payload = import_safe.Bytes.from([this.numNodeIDs]);
|
|
1295
|
+
return super.serialize(ctx);
|
|
1296
|
+
}
|
|
1297
|
+
};
|
|
1298
|
+
return ZWaveProtocolCCReserveNodeIDs2 = _classThis;
|
|
1299
|
+
})();
|
|
1300
|
+
let ZWaveProtocolCCNodesExistReply = (() => {
|
|
1301
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.NodesExistReply)];
|
|
1302
|
+
let _classDescriptor;
|
|
1303
|
+
let _classExtraInitializers = [];
|
|
1304
|
+
let _classThis;
|
|
1305
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1306
|
+
var ZWaveProtocolCCNodesExistReply2 = class extends _classSuper {
|
|
1307
|
+
static {
|
|
1308
|
+
_classThis = this;
|
|
1309
|
+
}
|
|
1310
|
+
static {
|
|
1311
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1312
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1313
|
+
ZWaveProtocolCCNodesExistReply2 = _classThis = _classDescriptor.value;
|
|
1314
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1315
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1316
|
+
}
|
|
1317
|
+
constructor(options) {
|
|
1318
|
+
super(options);
|
|
1319
|
+
this.nodeMaskType = options.nodeMaskType;
|
|
1320
|
+
this.nodeListUpdated = options.nodeListUpdated;
|
|
1321
|
+
}
|
|
1322
|
+
static from(raw, ctx) {
|
|
1323
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
1324
|
+
const nodeMaskType = raw.payload[0];
|
|
1325
|
+
const nodeListUpdated = raw.payload[1] === 1;
|
|
1326
|
+
return new this({
|
|
1327
|
+
nodeId: ctx.sourceNodeId,
|
|
1328
|
+
nodeMaskType,
|
|
1329
|
+
nodeListUpdated
|
|
1330
|
+
});
|
|
1331
|
+
}
|
|
1332
|
+
nodeMaskType;
|
|
1333
|
+
nodeListUpdated;
|
|
1334
|
+
serialize(ctx) {
|
|
1335
|
+
this.payload = import_safe.Bytes.from([
|
|
1336
|
+
this.nodeMaskType,
|
|
1337
|
+
this.nodeListUpdated ? 1 : 0
|
|
1338
|
+
]);
|
|
1339
|
+
return super.serialize(ctx);
|
|
1340
|
+
}
|
|
1341
|
+
};
|
|
1342
|
+
return ZWaveProtocolCCNodesExistReply2 = _classThis;
|
|
1343
|
+
})();
|
|
1344
|
+
function testResponseForZWaveProtocolNodesExist(sent, received) {
|
|
1345
|
+
return received.nodeMaskType === sent.nodeMaskType;
|
|
1346
|
+
}
|
|
1347
|
+
let ZWaveProtocolCCNodesExist = (() => {
|
|
1348
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.NodesExist), (0, import_CommandClassDecorators.expectedCCResponse)(ZWaveProtocolCCNodesExistReply, testResponseForZWaveProtocolNodesExist)];
|
|
1349
|
+
let _classDescriptor;
|
|
1350
|
+
let _classExtraInitializers = [];
|
|
1351
|
+
let _classThis;
|
|
1352
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1353
|
+
var ZWaveProtocolCCNodesExist2 = class extends _classSuper {
|
|
1354
|
+
static {
|
|
1355
|
+
_classThis = this;
|
|
1356
|
+
}
|
|
1357
|
+
static {
|
|
1358
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1359
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1360
|
+
ZWaveProtocolCCNodesExist2 = _classThis = _classDescriptor.value;
|
|
1361
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1362
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1363
|
+
}
|
|
1364
|
+
constructor(options) {
|
|
1365
|
+
super(options);
|
|
1366
|
+
this.nodeMaskType = options.nodeMaskType;
|
|
1367
|
+
this.nodeIDs = options.nodeIDs;
|
|
1368
|
+
}
|
|
1369
|
+
static from(raw, ctx) {
|
|
1370
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
1371
|
+
const nodeMaskType = raw.payload[0];
|
|
1372
|
+
const numNodeIDs = raw.payload[1];
|
|
1373
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2 + numNodeIDs);
|
|
1374
|
+
const nodeIDs = [...raw.payload.subarray(2, 2 + numNodeIDs)];
|
|
1375
|
+
return new this({
|
|
1376
|
+
nodeId: ctx.sourceNodeId,
|
|
1377
|
+
nodeMaskType,
|
|
1378
|
+
nodeIDs
|
|
1379
|
+
});
|
|
1380
|
+
}
|
|
1381
|
+
nodeMaskType;
|
|
1382
|
+
nodeIDs;
|
|
1383
|
+
serialize(ctx) {
|
|
1384
|
+
this.payload = import_safe.Bytes.from([
|
|
1385
|
+
this.nodeMaskType,
|
|
1386
|
+
this.nodeIDs.length,
|
|
1387
|
+
...this.nodeIDs
|
|
1388
|
+
]);
|
|
1389
|
+
return super.serialize(ctx);
|
|
1390
|
+
}
|
|
1391
|
+
};
|
|
1392
|
+
return ZWaveProtocolCCNodesExist2 = _classThis;
|
|
1393
|
+
})();
|
|
1394
|
+
let ZWaveProtocolCCSetNWIMode = (() => {
|
|
1395
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.SetNWIMode)];
|
|
1396
|
+
let _classDescriptor;
|
|
1397
|
+
let _classExtraInitializers = [];
|
|
1398
|
+
let _classThis;
|
|
1399
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1400
|
+
var ZWaveProtocolCCSetNWIMode2 = class extends _classSuper {
|
|
1401
|
+
static {
|
|
1402
|
+
_classThis = this;
|
|
1403
|
+
}
|
|
1404
|
+
static {
|
|
1405
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1406
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1407
|
+
ZWaveProtocolCCSetNWIMode2 = _classThis = _classDescriptor.value;
|
|
1408
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1409
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1410
|
+
}
|
|
1411
|
+
constructor(options) {
|
|
1412
|
+
super(options);
|
|
1413
|
+
this.enabled = options.enabled;
|
|
1414
|
+
this.timeoutMinutes = options.timeoutMinutes;
|
|
1415
|
+
}
|
|
1416
|
+
static from(raw, ctx) {
|
|
1417
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
1418
|
+
const enabled = raw.payload[0] === 1;
|
|
1419
|
+
const timeoutMinutes = raw.payload[1] || void 0;
|
|
1420
|
+
return new this({
|
|
1421
|
+
nodeId: ctx.sourceNodeId,
|
|
1422
|
+
enabled,
|
|
1423
|
+
timeoutMinutes
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
enabled;
|
|
1427
|
+
timeoutMinutes;
|
|
1428
|
+
serialize(ctx) {
|
|
1429
|
+
this.payload = import_safe.Bytes.from([
|
|
1430
|
+
this.enabled ? 1 : 0,
|
|
1431
|
+
this.timeoutMinutes ?? 0
|
|
1432
|
+
]);
|
|
1433
|
+
return super.serialize(ctx);
|
|
1434
|
+
}
|
|
1435
|
+
};
|
|
1436
|
+
return ZWaveProtocolCCSetNWIMode2 = _classThis;
|
|
1437
|
+
})();
|
|
1438
|
+
let ZWaveProtocolCCExcludeRequest = (() => {
|
|
1439
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.ExcludeRequest)];
|
|
1440
|
+
let _classDescriptor;
|
|
1441
|
+
let _classExtraInitializers = [];
|
|
1442
|
+
let _classThis;
|
|
1443
|
+
let _classSuper = ZWaveProtocolCCNodeInformationFrame;
|
|
1444
|
+
var ZWaveProtocolCCExcludeRequest2 = class extends _classSuper {
|
|
1445
|
+
static {
|
|
1446
|
+
_classThis = this;
|
|
1447
|
+
}
|
|
1448
|
+
static {
|
|
1449
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1450
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1451
|
+
ZWaveProtocolCCExcludeRequest2 = _classThis = _classDescriptor.value;
|
|
1452
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1453
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1454
|
+
}
|
|
1455
|
+
};
|
|
1456
|
+
return ZWaveProtocolCCExcludeRequest2 = _classThis;
|
|
1457
|
+
})();
|
|
1458
|
+
let ZWaveProtocolCCAssignReturnRoutePriority = (() => {
|
|
1459
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.AssignReturnRoutePriority)];
|
|
1460
|
+
let _classDescriptor;
|
|
1461
|
+
let _classExtraInitializers = [];
|
|
1462
|
+
let _classThis;
|
|
1463
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1464
|
+
var ZWaveProtocolCCAssignReturnRoutePriority2 = class extends _classSuper {
|
|
1465
|
+
static {
|
|
1466
|
+
_classThis = this;
|
|
1467
|
+
}
|
|
1468
|
+
static {
|
|
1469
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1470
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1471
|
+
ZWaveProtocolCCAssignReturnRoutePriority2 = _classThis = _classDescriptor.value;
|
|
1472
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1473
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1474
|
+
}
|
|
1475
|
+
constructor(options) {
|
|
1476
|
+
super(options);
|
|
1477
|
+
this.targetNodeId = options.targetNodeId;
|
|
1478
|
+
this.routeNumber = options.routeNumber;
|
|
1479
|
+
}
|
|
1480
|
+
static from(raw, ctx) {
|
|
1481
|
+
(0, import_core.validatePayload)(raw.payload.length >= 2);
|
|
1482
|
+
const targetNodeId = raw.payload[0];
|
|
1483
|
+
const routeNumber = raw.payload[1];
|
|
1484
|
+
return new this({
|
|
1485
|
+
nodeId: ctx.sourceNodeId,
|
|
1486
|
+
targetNodeId,
|
|
1487
|
+
routeNumber
|
|
1488
|
+
});
|
|
1489
|
+
}
|
|
1490
|
+
targetNodeId;
|
|
1491
|
+
routeNumber;
|
|
1492
|
+
serialize(ctx) {
|
|
1493
|
+
this.payload = import_safe.Bytes.from([this.targetNodeId, this.routeNumber]);
|
|
1494
|
+
return super.serialize(ctx);
|
|
1495
|
+
}
|
|
1496
|
+
};
|
|
1497
|
+
return ZWaveProtocolCCAssignReturnRoutePriority2 = _classThis;
|
|
1498
|
+
})();
|
|
1499
|
+
let ZWaveProtocolCCAssignSUCReturnRoutePriority = (() => {
|
|
1500
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.AssignSUCReturnRoutePriority)];
|
|
1501
|
+
let _classDescriptor;
|
|
1502
|
+
let _classExtraInitializers = [];
|
|
1503
|
+
let _classThis;
|
|
1504
|
+
let _classSuper = ZWaveProtocolCCAssignReturnRoutePriority;
|
|
1505
|
+
var ZWaveProtocolCCAssignSUCReturnRoutePriority2 = class extends _classSuper {
|
|
1506
|
+
static {
|
|
1507
|
+
_classThis = this;
|
|
1508
|
+
}
|
|
1509
|
+
static {
|
|
1510
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1511
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1512
|
+
ZWaveProtocolCCAssignSUCReturnRoutePriority2 = _classThis = _classDescriptor.value;
|
|
1513
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1514
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1515
|
+
}
|
|
1516
|
+
};
|
|
1517
|
+
return ZWaveProtocolCCAssignSUCReturnRoutePriority2 = _classThis;
|
|
1518
|
+
})();
|
|
1519
|
+
let ZWaveProtocolCCSmartStartIncludedNodeInformation = (() => {
|
|
1520
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.SmartStartIncludedNodeInformation)];
|
|
1521
|
+
let _classDescriptor;
|
|
1522
|
+
let _classExtraInitializers = [];
|
|
1523
|
+
let _classThis;
|
|
1524
|
+
let _classSuper = ZWaveProtocolCC;
|
|
1525
|
+
var ZWaveProtocolCCSmartStartIncludedNodeInformation2 = class extends _classSuper {
|
|
1526
|
+
static {
|
|
1527
|
+
_classThis = this;
|
|
1528
|
+
}
|
|
1529
|
+
static {
|
|
1530
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1531
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1532
|
+
ZWaveProtocolCCSmartStartIncludedNodeInformation2 = _classThis = _classDescriptor.value;
|
|
1533
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1534
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1535
|
+
}
|
|
1536
|
+
constructor(options) {
|
|
1537
|
+
super(options);
|
|
1538
|
+
if (options.nwiHomeId.length !== 4) {
|
|
1539
|
+
throw new import_core.ZWaveError(`nwiHomeId must have length 4`, import_core.ZWaveErrorCodes.Argument_Invalid);
|
|
1540
|
+
}
|
|
1541
|
+
this.nwiHomeId = options.nwiHomeId;
|
|
1542
|
+
}
|
|
1543
|
+
static from(raw, ctx) {
|
|
1544
|
+
(0, import_core.validatePayload)(raw.payload.length >= 4);
|
|
1545
|
+
const nwiHomeId = raw.payload.subarray(0, 4);
|
|
1546
|
+
return new this({
|
|
1547
|
+
nodeId: ctx.sourceNodeId,
|
|
1548
|
+
nwiHomeId
|
|
1549
|
+
});
|
|
1550
|
+
}
|
|
1551
|
+
nwiHomeId;
|
|
1552
|
+
serialize(ctx) {
|
|
1553
|
+
this.payload = import_safe.Bytes.from(this.nwiHomeId);
|
|
1554
|
+
return super.serialize(ctx);
|
|
1555
|
+
}
|
|
1556
|
+
};
|
|
1557
|
+
return ZWaveProtocolCCSmartStartIncludedNodeInformation2 = _classThis;
|
|
1558
|
+
})();
|
|
1559
|
+
let ZWaveProtocolCCSmartStartPrime = (() => {
|
|
1560
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.SmartStartPrime)];
|
|
1561
|
+
let _classDescriptor;
|
|
1562
|
+
let _classExtraInitializers = [];
|
|
1563
|
+
let _classThis;
|
|
1564
|
+
let _classSuper = ZWaveProtocolCCNodeInformationFrame;
|
|
1565
|
+
var ZWaveProtocolCCSmartStartPrime2 = class extends _classSuper {
|
|
1566
|
+
static {
|
|
1567
|
+
_classThis = this;
|
|
1568
|
+
}
|
|
1569
|
+
static {
|
|
1570
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1571
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1572
|
+
ZWaveProtocolCCSmartStartPrime2 = _classThis = _classDescriptor.value;
|
|
1573
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1574
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1575
|
+
}
|
|
1576
|
+
};
|
|
1577
|
+
return ZWaveProtocolCCSmartStartPrime2 = _classThis;
|
|
1578
|
+
})();
|
|
1579
|
+
let ZWaveProtocolCCSmartStartInclusionRequest = (() => {
|
|
1580
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ZWaveProtocolCommand.SmartStartInclusionRequest)];
|
|
1581
|
+
let _classDescriptor;
|
|
1582
|
+
let _classExtraInitializers = [];
|
|
1583
|
+
let _classThis;
|
|
1584
|
+
let _classSuper = ZWaveProtocolCCNodeInformationFrame;
|
|
1585
|
+
var ZWaveProtocolCCSmartStartInclusionRequest2 = class extends _classSuper {
|
|
1586
|
+
static {
|
|
1587
|
+
_classThis = this;
|
|
1588
|
+
}
|
|
1589
|
+
static {
|
|
1590
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
1591
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
1592
|
+
ZWaveProtocolCCSmartStartInclusionRequest2 = _classThis = _classDescriptor.value;
|
|
1593
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1594
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
1595
|
+
}
|
|
1596
|
+
};
|
|
1597
|
+
return ZWaveProtocolCCSmartStartInclusionRequest2 = _classThis;
|
|
1598
|
+
})();
|
|
1599
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1600
|
+
0 && (module.exports = {
|
|
1601
|
+
ZWaveProtocolCC,
|
|
1602
|
+
ZWaveProtocolCCAcceptLost,
|
|
1603
|
+
ZWaveProtocolCCAssignIDs,
|
|
1604
|
+
ZWaveProtocolCCAssignReturnRoute,
|
|
1605
|
+
ZWaveProtocolCCAssignReturnRoutePriority,
|
|
1606
|
+
ZWaveProtocolCCAssignSUCReturnRoute,
|
|
1607
|
+
ZWaveProtocolCCAssignSUCReturnRoutePriority,
|
|
1608
|
+
ZWaveProtocolCCAutomaticControllerUpdateStart,
|
|
1609
|
+
ZWaveProtocolCCCommandComplete,
|
|
1610
|
+
ZWaveProtocolCCExcludeRequest,
|
|
1611
|
+
ZWaveProtocolCCFindNodesInRange,
|
|
1612
|
+
ZWaveProtocolCCGetNodesInRange,
|
|
1613
|
+
ZWaveProtocolCCLost,
|
|
1614
|
+
ZWaveProtocolCCNOPPower,
|
|
1615
|
+
ZWaveProtocolCCNewNodeRegistered,
|
|
1616
|
+
ZWaveProtocolCCNewRangeRegistered,
|
|
1617
|
+
ZWaveProtocolCCNodeInformationFrame,
|
|
1618
|
+
ZWaveProtocolCCNodesExist,
|
|
1619
|
+
ZWaveProtocolCCNodesExistReply,
|
|
1620
|
+
ZWaveProtocolCCRangeInfo,
|
|
1621
|
+
ZWaveProtocolCCRequestNodeInformationFrame,
|
|
1622
|
+
ZWaveProtocolCCReserveNodeIDs,
|
|
1623
|
+
ZWaveProtocolCCReservedIDs,
|
|
1624
|
+
ZWaveProtocolCCSUCNodeID,
|
|
1625
|
+
ZWaveProtocolCCSetNWIMode,
|
|
1626
|
+
ZWaveProtocolCCSetSUC,
|
|
1627
|
+
ZWaveProtocolCCSetSUCAck,
|
|
1628
|
+
ZWaveProtocolCCSmartStartIncludedNodeInformation,
|
|
1629
|
+
ZWaveProtocolCCSmartStartInclusionRequest,
|
|
1630
|
+
ZWaveProtocolCCSmartStartPrime,
|
|
1631
|
+
ZWaveProtocolCCStaticRouteRequest,
|
|
1632
|
+
ZWaveProtocolCCTransferEnd,
|
|
1633
|
+
ZWaveProtocolCCTransferNewPrimaryControllerComplete,
|
|
1634
|
+
ZWaveProtocolCCTransferNodeInformation,
|
|
1635
|
+
ZWaveProtocolCCTransferPresentation,
|
|
1636
|
+
ZWaveProtocolCCTransferRangeInformation
|
|
1637
|
+
});
|
|
1638
|
+
//# sourceMappingURL=ZWaveProtocolCC.js.map
|