node-zwave-js icon indicating copy to clipboard operation
node-zwave-js copied to clipboard

[Tracking] Implement `toLogEntry` in all CCs and their subclasses

Open AlCalzone opened this issue 6 years ago • 1 comments

current implementation status:

  • [x] AlarmSensorCCGet
  • [x] AlarmSensorCCReport
  • [x] AlarmSensorCCSupportedGet (empty CC)
  • [x] AlarmSensorCCSupportedReport
  • [x] ApplicationStatusCCBusy
  • [ ] ApplicationStatusCCRejectedRequest
  • [x] AssociationCCGet
  • [x] AssociationCCRemove
  • [x] AssociationCCReport
  • [x] AssociationCCSet
  • [x] AssociationCCSpecificGroupGet (empty CC)
  • [x] AssociationCCSpecificGroupReport
  • [x] AssociationCCSupportedGroupingsGet (empty CC)
  • [x] AssociationCCSupportedGroupingsReport
  • [x] AssociationGroupInfoCCCommandListGet
  • [x] AssociationGroupInfoCCCommandListReport
  • [x] AssociationGroupInfoCCInfoGet
  • [x] AssociationGroupInfoCCInfoReport
  • [x] AssociationGroupInfoCCNameGet
  • [x] AssociationGroupInfoCCNameReport
  • [x] BarrierOperatorCCEventSignalingGet
  • [x] BarrierOperatorCCEventSignalingReport
  • [x] BarrierOperatorCCEventSignalingSet
  • [x] BarrierOperatorCCGet (empty CC)
  • [x] BarrierOperatorCCReport
  • [x] BarrierOperatorCCSet
  • [x] BarrierOperatorCCSignalingCapabilitiesGet (empty CC)
  • [x] BarrierOperatorCCSignalingCapabilitiesReport
  • [x] BasicCCGet (empty CC)
  • [x] BasicCCReport
  • [x] BasicCCSet
  • [x] BasicWindowCoveringCCStartLevelChange
  • [x] BasicWindowCoveringCCStopLevelChange (empty CC)
  • [x] BatteryCCGet (empty CC)
  • [x] BatteryCCHealthGet (empty CC)
  • [x] BatteryCCHealthReport
  • [x] BatteryCCReport
  • [x] BinarySensorCCGet
  • [x] BinarySensorCCReport
  • [x] BinarySensorCCSupportedGet (empty CC)
  • [x] BinarySensorCCSupportedReport
  • [x] BinarySwitchCCGet (empty CC)
  • [x] BinarySwitchCCReport
  • [x] BinarySwitchCCSet
  • [x] CRC16CCCommandEncapsulation
  • [x] CentralSceneCCConfigurationGet (empty CC)
  • [x] CentralSceneCCConfigurationReport
  • [x] CentralSceneCCConfigurationSet
  • [x] CentralSceneCCNotification
  • [x] CentralSceneCCSupportedGet (empty CC)
  • [x] CentralSceneCCSupportedReport
  • [x] ClimateControlScheduleCCChangedGet (empty CC)
  • [x] ClimateControlScheduleCCChangedReport
  • [x] ClimateControlScheduleCCGet
  • [x] ClimateControlScheduleCCOverrideGet (empty CC)
  • [x] ClimateControlScheduleCCOverrideReport
  • [x] ClimateControlScheduleCCOverrideSet
  • [x] ClimateControlScheduleCCReport
  • [x] ClimateControlScheduleCCSet
  • [x] ClockCCGet (empty CC)
  • [x] ClockCCReport
  • [x] ClockCCSet
  • [x] ColorSwitchCCGet
  • [x] ColorSwitchCCReport
  • [x] ColorSwitchCCSet
  • [x] ColorSwitchCCStartLevelChange
  • [x] ColorSwitchCCStopLevelChange
  • [x] ColorSwitchCCSupportedGet (empty CC)
  • [x] ColorSwitchCCSupportedReport
  • [x] ConfigurationCCBulkGet
  • [x] ConfigurationCCBulkReport
  • [x] ConfigurationCCBulkSet
  • [x] ConfigurationCCDefaultReset (empty CC)
  • [x] ConfigurationCCError (constructor only)
  • [x] ConfigurationCCGet
  • [x] ConfigurationCCInfoGet
  • [x] ConfigurationCCInfoReport
  • [x] ConfigurationCCNameGet
  • [x] ConfigurationCCNameReport
  • [x] ConfigurationCCPropertiesGet
  • [x] ConfigurationCCPropertiesReport
  • [x] ConfigurationCCReport
  • [x] ConfigurationCCSet
  • [x] DeviceResetLocallyCCNotification (ignored with comment)
  • [x] DoorLockCCCapabilitiesGet (empty CC)
  • [x] DoorLockCCCapabilitiesReport
  • [x] DoorLockCCConfigurationGet (empty CC)
  • [x] DoorLockCCConfigurationReport
  • [x] DoorLockCCConfigurationSet
  • [x] DoorLockCCOperationGet (empty CC)
  • [x] DoorLockCCOperationReport
  • [x] DoorLockCCOperationSet
  • [x] DoorLockLoggingCCRecordGet
  • [x] DoorLockLoggingCCRecordReport
  • [x] DoorLockLoggingCCRecordsSupportedGet (empty CC)
  • [x] DoorLockLoggingCCRecordsSupportedReport
  • [x] EnergyProductionCCGet
  • [x] EnergyProductionCCReport
  • [x] EntryControlCCConfigurationGet (empty CC)
  • [x] EntryControlCCConfigurationReport
  • [x] EntryControlCCConfigurationSet
  • [x] EntryControlCCEventSupportedGet (empty CC)
  • [x] EntryControlCCEventSupportedReport
  • [x] EntryControlCCKeySupportedGet (empty CC)
  • [x] EntryControlCCKeySupportedReport
  • [x] EntryControlCCNotification
  • [x] FibaroVenetianBlindCCGet (ignored with comment)
  • [x] FibaroVenetianBlindCCReport
  • [x] FibaroVenetianBlindCCSet
  • [x] FirmwareUpdateMetaDataCCActivationReport
  • [x] FirmwareUpdateMetaDataCCActivationSet
  • [x] FirmwareUpdateMetaDataCCGet
  • [x] FirmwareUpdateMetaDataCCMetaDataGet (empty CC)
  • [x] FirmwareUpdateMetaDataCCMetaDataReport
  • [x] FirmwareUpdateMetaDataCCPrepareGet
  • [x] FirmwareUpdateMetaDataCCPrepareReport
  • [x] FirmwareUpdateMetaDataCCReport
  • [x] FirmwareUpdateMetaDataCCRequestGet
  • [x] FirmwareUpdateMetaDataCCRequestReport
  • [x] FirmwareUpdateMetaDataCCStatusReport
  • [x] HumidityControlModeCCGet (empty CC)
  • [x] HumidityControlModeCCReport
  • [x] HumidityControlModeCCSet
  • [x] HumidityControlModeCCSupportedGet (empty CC)
  • [x] HumidityControlModeCCSupportedReport
  • [x] HumidityControlOperatingStateCCGet (empty CC)
  • [x] HumidityControlOperatingStateCCReport
  • [x] HumidityControlSetpointCCCapabilitiesGet
  • [x] HumidityControlSetpointCCCapabilitiesReport
  • [x] HumidityControlSetpointCCGet
  • [x] HumidityControlSetpointCCReport
  • [x] HumidityControlSetpointCCScaleSupportedGet
  • [x] HumidityControlSetpointCCScaleSupportedReport
  • [x] HumidityControlSetpointCCSet
  • [x] HumidityControlSetpointCCSupportedGet (empty CC)
  • [x] HumidityControlSetpointCCSupportedReport
  • [x] InclusionControllerCCComplete
  • [x] InclusionControllerCCInitiate
  • [x] IndicatorCCDescriptionGet
  • [x] IndicatorCCDescriptionReport
  • [x] IndicatorCCGet
  • [x] IndicatorCCReport
  • [x] IndicatorCCSet
  • [x] IndicatorCCSupportedGet
  • [x] IndicatorCCSupportedReport
  • [x] IrrigationCCSystemConfigGet (empty CC)
  • [x] IrrigationCCSystemConfigReport
  • [x] IrrigationCCSystemConfigSet
  • [x] IrrigationCCSystemInfoGet (empty CC)
  • [x] IrrigationCCSystemInfoReport
  • [x] IrrigationCCSystemShutoff
  • [x] IrrigationCCSystemStatusGet (empty CC)
  • [x] IrrigationCCSystemStatusReport
  • [x] IrrigationCCValveConfigGet
  • [x] IrrigationCCValveConfigReport
  • [x] IrrigationCCValveConfigSet
  • [x] IrrigationCCValveInfoGet
  • [x] IrrigationCCValveInfoReport
  • [x] IrrigationCCValveRun
  • [x] IrrigationCCValveTableGet
  • [x] IrrigationCCValveTableReport
  • [x] IrrigationCCValveTableRun
  • [x] IrrigationCCValveTableSet
  • [x] LanguageCCGet (empty CC)
  • [x] LanguageCCReport
  • [x] LanguageCCSet
  • [x] LockCCGet (empty CC)
  • [x] LockCCReport
  • [x] LockCCSet
  • [x] ManufacturerSpecificCCDeviceSpecificGet
  • [x] ManufacturerSpecificCCDeviceSpecificReport
  • [x] ManufacturerSpecificCCGet (empty CC)
  • [x] ManufacturerSpecificCCReport
  • [x] MeterCCGet
  • [x] MeterCCReport
  • [x] MeterCCReset
  • [x] MeterCCSupportedGet (empty CC)
  • [x] MeterCCSupportedReport
  • [x] MultiChannelAssociationCCGet
  • [x] MultiChannelAssociationCCRemove
  • [x] MultiChannelAssociationCCReport
  • [x] MultiChannelAssociationCCSet
  • [x] MultiChannelAssociationCCSupportedGroupingsGet (empty CC)
  • [x] MultiChannelAssociationCCSupportedGroupingsReport
  • [x] MultiChannelCCAggregatedMembersGet
  • [x] MultiChannelCCAggregatedMembersReport
  • [x] MultiChannelCCCapabilityGet
  • [x] MultiChannelCCCapabilityReport
  • [x] MultiChannelCCCommandEncapsulation
  • [x] MultiChannelCCEndPointFind
  • [x] MultiChannelCCEndPointFindReport
  • [x] MultiChannelCCEndPointGet (empty CC)
  • [x] MultiChannelCCEndPointReport
  • [x] MultiChannelCCV1CommandEncapsulation
  • [x] MultiChannelCCV1Get
  • [x] MultiChannelCCV1Report
  • [x] MultiCommandCCCommandEncapsulation
  • [x] MultilevelSensorCCGet
  • [x] MultilevelSensorCCGetSupportedScale
  • [x] MultilevelSensorCCGetSupportedSensor (empty CC)
  • [x] MultilevelSensorCCReport
  • [x] MultilevelSensorCCSupportedScaleReport
  • [x] MultilevelSensorCCSupportedSensorReport
  • [x] MultilevelSwitchCCGet (empty CC)
  • [x] MultilevelSwitchCCReport
  • [x] MultilevelSwitchCCSet
  • [x] MultilevelSwitchCCStartLevelChange
  • [x] MultilevelSwitchCCStopLevelChange (empty CC)
  • [x] MultilevelSwitchCCSupportedGet (empty CC)
  • [x] MultilevelSwitchCCSupportedReport
  • [x] NodeNamingAndLocationCCLocationGet (empty CC)
  • [x] NodeNamingAndLocationCCLocationReport
  • [x] NodeNamingAndLocationCCLocationSet
  • [x] NodeNamingAndLocationCCNameGet (empty CC)
  • [x] NodeNamingAndLocationCCNameReport
  • [x] NodeNamingAndLocationCCNameSet
  • [x] NotificationCCEventSupportedGet
  • [x] NotificationCCEventSupportedReport
  • [x] NotificationCCGet
  • [x] NotificationCCReport
  • [x] NotificationCCSet
  • [x] NotificationCCSupportedGet (empty CC)
  • [x] NotificationCCSupportedReport
  • [x] PowerlevelCCGet (empty CC)
  • [x] PowerlevelCCReport
  • [x] PowerlevelCCSet
  • [x] PowerlevelCCTestNodeGet (empty CC)
  • [x] PowerlevelCCTestNodeReport
  • [x] PowerlevelCCTestNodeSet
  • [x] ProtectionCCExclusiveControlGet (empty CC)
  • [x] ProtectionCCExclusiveControlReport
  • [x] ProtectionCCExclusiveControlSet
  • [x] ProtectionCCGet (empty CC)
  • [x] ProtectionCCReport
  • [x] ProtectionCCSet
  • [x] ProtectionCCSupportedGet (empty CC)
  • [x] ProtectionCCSupportedReport
  • [x] ProtectionCCTimeoutGet (empty CC)
  • [x] ProtectionCCTimeoutReport
  • [x] ProtectionCCTimeoutSet
  • [x] SceneActivationCCSet
  • [x] SceneActuatorConfigurationCCGet
  • [x] SceneActuatorConfigurationCCReport
  • [x] SceneActuatorConfigurationCCSet
  • [x] SceneControllerConfigurationCCGet
  • [x] SceneControllerConfigurationCCReport
  • [x] SceneControllerConfigurationCCSet
  • [x] ScheduleEntryLockCCDailyRepeatingScheduleGet
  • [x] ScheduleEntryLockCCDailyRepeatingScheduleReport
  • [x] ScheduleEntryLockCCDailyRepeatingScheduleSet
  • [x] ScheduleEntryLockCCEnableAllSet
  • [x] ScheduleEntryLockCCEnableSet
  • [x] ScheduleEntryLockCCSupportedGet (empty CC)
  • [x] ScheduleEntryLockCCSupportedReport
  • [x] ScheduleEntryLockCCTimeOffsetGet (empty CC)
  • [x] ScheduleEntryLockCCTimeOffsetReport
  • [x] ScheduleEntryLockCCTimeOffsetSet
  • [x] ScheduleEntryLockCCWeekDayScheduleGet
  • [x] ScheduleEntryLockCCWeekDayScheduleReport
  • [x] ScheduleEntryLockCCWeekDayScheduleSet
  • [x] ScheduleEntryLockCCYearDayScheduleGet
  • [x] ScheduleEntryLockCCYearDayScheduleReport
  • [x] ScheduleEntryLockCCYearDayScheduleSet
  • [x] Security2CCCommandsSupportedGet (empty CC)
  • [x] Security2CCCommandsSupportedReport
  • [x] Security2CCKEXFail
  • [x] Security2CCKEXGet (empty CC)
  • [x] Security2CCKEXReport
  • [x] Security2CCKEXSet
  • [x] Security2CCMessageEncapsulation
  • [x] Security2CCNetworkKeyGet
  • [x] Security2CCNetworkKeyReport
  • [x] Security2CCNetworkKeyVerify (empty CC)
  • [x] Security2CCNonceGet
  • [x] Security2CCNonceReport
  • [x] Security2CCPublicKeyReport
  • [x] Security2CCTransferEnd
  • [x] SecurityCCCommandEncapsulation
  • [x] SecurityCCCommandEncapsulationNonceGet (empty CC)
  • [x] SecurityCCCommandsSupportedGet (empty CC)
  • [x] SecurityCCCommandsSupportedReport
  • [x] SecurityCCNetworkKeySet
  • [x] SecurityCCNetworkKeyVerify (empty CC)
  • [x] SecurityCCNonceGet (empty CC)
  • [x] SecurityCCNonceReport
  • [x] SecurityCCSchemeGet
  • [x] SecurityCCSchemeInherit
  • [x] SecurityCCSchemeReport
  • [x] SoundSwitchCCConfigurationGet (empty CC)
  • [x] SoundSwitchCCConfigurationReport
  • [x] SoundSwitchCCConfigurationSet
  • [x] SoundSwitchCCToneInfoGet
  • [x] SoundSwitchCCToneInfoReport
  • [x] SoundSwitchCCTonePlayGet (empty CC)
  • [x] SoundSwitchCCTonePlayReport
  • [x] SoundSwitchCCTonePlaySet
  • [x] SoundSwitchCCTonesNumberGet (empty CC)
  • [x] SoundSwitchCCTonesNumberReport
  • [x] SupervisionCCGet
  • [x] SupervisionCCReport
  • [x] ThermostatFanModeCCGet (empty CC)
  • [x] ThermostatFanModeCCReport
  • [x] ThermostatFanModeCCSet
  • [x] ThermostatFanModeCCSupportedGet (empty CC)
  • [x] ThermostatFanModeCCSupportedReport
  • [x] ThermostatFanStateCCGet (empty CC)
  • [x] ThermostatFanStateCCReport
  • [x] ThermostatModeCCGet (empty CC)
  • [x] ThermostatModeCCReport
  • [x] ThermostatModeCCSet
  • [x] ThermostatModeCCSupportedGet (empty CC)
  • [x] ThermostatModeCCSupportedReport
  • [x] ThermostatOperatingStateCCGet (empty CC)
  • [x] ThermostatOperatingStateCCReport
  • [x] ThermostatSetbackCCGet (empty CC)
  • [x] ThermostatSetbackCCReport
  • [x] ThermostatSetbackCCSet
  • [x] ThermostatSetpointCCCapabilitiesGet
  • [x] ThermostatSetpointCCCapabilitiesReport
  • [x] ThermostatSetpointCCGet
  • [x] ThermostatSetpointCCReport
  • [x] ThermostatSetpointCCSet
  • [x] ThermostatSetpointCCSupportedGet (empty CC)
  • [x] ThermostatSetpointCCSupportedReport
  • [x] TimeCCDateGet (empty CC)
  • [x] TimeCCDateReport
  • [x] TimeCCTimeGet (empty CC)
  • [x] TimeCCTimeOffsetGet (empty CC)
  • [x] TimeCCTimeOffsetReport
  • [x] TimeCCTimeOffsetSet
  • [x] TimeCCTimeReport
  • [x] TimeParametersCCGet (empty CC)
  • [x] TimeParametersCCReport
  • [x] TimeParametersCCSet
  • [x] TransportServiceCCFirstSegment
  • [x] TransportServiceCCSegmentComplete
  • [x] TransportServiceCCSegmentRequest
  • [x] TransportServiceCCSegmentWait
  • [x] TransportServiceCCSubsequentSegment
  • [x] UserCodeCCAdminCodeGet (empty CC)
  • [x] UserCodeCCAdminCodeReport
  • [x] UserCodeCCAdminCodeSet
  • [x] UserCodeCCCapabilitiesGet (empty CC)
  • [x] UserCodeCCCapabilitiesReport
  • [x] UserCodeCCExtendedUserCodeGet
  • [x] UserCodeCCExtendedUserCodeReport
  • [x] UserCodeCCExtendedUserCodeSet
  • [x] UserCodeCCGet
  • [x] UserCodeCCKeypadModeGet (empty CC)
  • [x] UserCodeCCKeypadModeReport
  • [x] UserCodeCCKeypadModeSet
  • [x] UserCodeCCReport
  • [x] UserCodeCCSet
  • [x] UserCodeCCUserCodeChecksumGet (empty CC)
  • [x] UserCodeCCUserCodeChecksumReport
  • [x] UserCodeCCUsersNumberGet (empty CC)
  • [x] UserCodeCCUsersNumberReport
  • [x] VersionCCCapabilitiesGet (empty CC)
  • [x] VersionCCCapabilitiesReport
  • [x] VersionCCCommandClassGet
  • [x] VersionCCCommandClassReport
  • [x] VersionCCGet (empty CC)
  • [x] VersionCCReport
  • [x] VersionCCZWaveSoftwareGet (empty CC)
  • [x] VersionCCZWaveSoftwareReport
  • [x] WakeUpCCIntervalCapabilitiesGet (empty CC)
  • [x] WakeUpCCIntervalCapabilitiesReport
  • [x] WakeUpCCIntervalGet (empty CC)
  • [x] WakeUpCCIntervalReport
  • [x] WakeUpCCIntervalSet
  • [x] WakeUpCCNoMoreInformation (empty CC)
  • [x] WakeUpCCWakeUpNotification (empty CC)
  • [x] WindowCoveringCCGet
  • [x] WindowCoveringCCReport
  • [x] WindowCoveringCCSet
  • [x] WindowCoveringCCStartLevelChange
  • [x] WindowCoveringCCStopLevelChange
  • [x] WindowCoveringCCSupportedGet (empty CC)
  • [x] WindowCoveringCCSupportedReport
  • [x] ZWavePlusCCGet (empty CC)
  • [x] ZWavePlusCCReport

AlCalzone avatar Apr 28 '19 18:04 AlCalzone

The implementation can be generated with the zwcclog snippet. Any toJSON implementations can be deleted. Some of the above entries are false positives, e.g. encapsulating CCs without any custom values or empty Get-type CCs.

AlCalzone avatar Sep 23 '20 21:09 AlCalzone