Migrate Window Covering handling to Matter Switch #7637
1 errors, 30 fail, 2 459 pass in 0s
Annotations
github-actions / Test Results
1 out of 48 runs failed: Refresh necessary attributes
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "Refresh necessary attributes" (19 of 31)
------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
WARN || Unexpected filesystem lookup for capability refresh
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"refresh","positional_args":[],"capability":"refresh","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
FAILED
Running test "Refresh necessary attributes" (19 of 31)
------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
WARN || Unexpected filesystem lookup for capability refresh
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"refresh","positional_args":[],"capability":"refresh","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state closed following lift position update
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state closed following lift position update" (1 of 31)
-----------------------------------------------------------------------------------------------------
WARN || Unexpected filesystem lookup for capability windowShade
WARN || Unexpected filesystem lookup for capability windowShadePreset
WARN || Unexpected filesystem lookup for capability battery
WARN || Unexpected filesystem lookup for capability batteryLevel
WARN || Unexpected filesystem lookup for capability colorControl
WARN || Unexpected filesystem lookup for capability colorTemperature
WARN || Unexpected filesystem lookup for capability energyMeter
WARN || Unexpected filesystem lookup for capability fanMode
WARN || Unexpected filesystem lookup for capability fanSpeedPercent
WARN || Unexpected filesystem lookup for capability illuminanceMeasurement
WARN || Unexpected filesystem lookup for capability motionSensor
WARN || Unexpected filesystem lookup for capability level
WARN || Unexpected filesystem lookup for capability switch
WARN || Unexpected filesystem lookup for capability powerMeter
WARN || Unexpected filesystem lookup for capability relativeHumidityMeasurement
WARN || Unexpected filesystem lookup for capability switchLevel
WARN || Unexpected filesystem lookup for capability temperatureMeasurement
WARN || Unexpected filesystem lookup for capability valve
WARN || Unexpected filesystem lookup for capability windowShadeLevel
WARN || Unexpected filesystem lookup for capability windowShadeTiltLevel
WARN || Unexpected filesystem lookup for capability button
WARN || Unexpected filesystem lookup for capability audioMute
WARN || Unexpected filesystem lookup for capability audioRecording
WARN || Unexpected filesystem lookup for capability audioVolume
WARN || Unexpected filesystem lookup for capability cameraPrivacyMode
WARN || Unexpected filesystem lookup for capability cameraViewportSettings
WARN || Unexpected filesystem lookup for capability hdr
WARN || Unexpected filesystem lookup for capability imageControl
WARN || Unexpected filesystem lookup for capability localMediaStorage
WARN || Unexpected filesystem lookup for capability mechanicalPanTiltZoom
WARN || Unexpected filesystem lookup for capability nightVision
WARN || Unexpected filesystem lookup for capability powerConsumptionReport
WARN || Unexpected filesystem lookup for capability sounds
WARN || Unexpected filesystem lookup for capability videoStreamSettings
WARN || Unexpected filesystem lookup for capability webrtc
WARN || Unexpected filesystem lookup for capability zoneManagement
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x27\x10>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state closed following lift position update" (1 of 31)
-----------------------------------------------------------------------------------------------------
WARN || Unexpected filesystem lookup for capability windowShade
WARN || Unexpected filesystem lookup for capability windowShadePreset
WARN || Unexpected filesystem lookup for capability battery
WARN || Unexpected filesystem lookup for capability batteryLevel
WARN || Unexpected filesystem lookup for capability colorControl
WARN || Unexpected filesystem lookup for capability colorTemperature
WARN || Unexpected filesystem lookup for capability energyMeter
WARN || Unexpected filesystem lookup for capability fanMode
WARN || Unexpected filesystem lookup for capability fanSpeedPercent
WARN || Unexpected filesystem lookup for capability illuminanceMeasurement
WARN || Unexpected filesystem lookup for capability motionSensor
WARN || Unexpected filesystem lookup for capability level
WARN || Unexpected filesystem lookup for capability switch
WARN || Unexpected filesystem lookup for capability powerMeter
WARN || Unexpected filesystem lookup for capability relativeHumidityMeasurement
WARN || Unexpected filesystem lookup for capability switchLevel
WARN || Unexpected filesystem lookup for capability temperatureMeasurement
WARN || Unexpected filesystem lookup for capability valve
WARN || Unexpected filesystem lookup for capability windowShadeLevel
WARN || Unexpected filesystem lookup for capability windowShadeTiltLevel
WARN || Unexpected filesystem lookup for capability button
WARN || Unexpected filesystem lookup for capability audioMute
WARN || Unexpected filesystem lookup for capability audioRecording
WARN || Unexpected filesystem lookup for capability audioVolume
WARN || Unexpected filesystem lookup for capability cameraPrivacyMode
WARN || Unexpected filesystem lookup for capability cameraViewportSettings
WARN || Unexpected filesystem lookup for capability hdr
WARN || Unexpected filesystem lookup for capability imageControl
WARN || Unexpected filesystem lookup for capability localMediaStorage
WARN || Unexpected filesystem lookup for capability mechanicalPanTiltZoom
WARN || Unexpected filesystem lookup for capability nightVision
WARN || Unexpected filesystem lookup for capability powerConsumptionReport
WARN || Unexpected filesystem lookup for capability sounds
WARN || Unexpected filesystem lookup for capability videoStreamSettings
WARN || Unexpected filesystem lookup for capability webrtc
WARN || Unexpected filesystem lookup for capability zoneManagement
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x27\x10>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state closed following tilt position update
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state closed following tilt position update" (2 of 31)
-----------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x27\x10>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state closed following tilt position update" (2 of 31)
-----------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x27\x10>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state closed before lift position 0
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state closed before lift position 0" (3 of 31)
---------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x27\x10>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state closed before lift position 0" (3 of 31)
---------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x27\x10>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state closed before tilt position 0
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state closed before tilt position 0" (4 of 31)
---------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x27\x10>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state closed before tilt position 0" (4 of 31)
---------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x27\x10>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":0},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closed"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state open following lift position update
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state open following lift position update" (5 of 31)
---------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x00\x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state open following lift position update" (5 of 31)
---------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x00\x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state open following tilt position update
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state open following tilt position update" (6 of 31)
---------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x00\x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state open following tilt position update" (6 of 31)
---------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x00\x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state open before lift position event
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state open before lift position event" (7 of 31)
-----------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x00\x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state open before lift position event" (7 of 31)
-----------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x00\x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus state open before tilt position event
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus state open before tilt position event" (8 of 31)
-----------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x00\x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus state open before tilt position event" (8 of 31)
-----------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x00\x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus partially open following lift position update
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus partially open following lift position update" (9 of 31)
-------------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus partially open following lift position update" (9 of 31)
-------------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus partially open following tilt position update
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus partially open following tilt position update" (10 of 31)
--------------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x21\x34>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":15},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus partially open following tilt position update" (10 of 31)
--------------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x21\x34>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":15},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus partially open before lift position event
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus partially open before lift position event" (11 of 31)
----------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus partially open before lift position event" (11 of 31)
----------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus partially open before tilt position event
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus partially open before tilt position event" (12 of 31)
----------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x0D\xAC>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":65},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus partially open before tilt position event" (12 of 31)
----------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths, data: Uint16: \x0D\xAC>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":65},"component_id":"main","attribute_id":"shadeTiltLevel","capability_id":"windowShadeTiltLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus opening
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus opening" (13 of 31)
------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x01>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"opening"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus opening" (13 of 31)
------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x01>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"opening"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus closing
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus closing" (14 of 31)
------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x02>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closing"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus closing" (14 of 31)
------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x02>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"closing"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowCovering OperationalStatus unknown
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowCovering OperationalStatus unknown" (15 of 31)
------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x03>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"unknown"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "WindowCovering OperationalStatus unknown" (15 of 31)
------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x03>>]>
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"unknown"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 3 runs failed: WindowShade open cmd handler
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowShade open cmd handler" (16 of 31)
------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"open","positional_args":[],"capability":"windowShade","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: UpOrOpen>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: UpOrOpen>]>
FAILED
Running test "WindowShade open cmd handler" (16 of 31)
------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"open","positional_args":[],"capability":"windowShade","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: UpOrOpen>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: UpOrOpen>]>
FAILED
github-actions / Test Results
1 out of 3 runs failed: WindowShade close cmd handler
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowShade close cmd handler" (17 of 31)
-------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"close","positional_args":[],"capability":"windowShade","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: DownOrClose>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: DownOrClose>]>
FAILED
Running test "WindowShade close cmd handler" (17 of 31)
-------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"close","positional_args":[],"capability":"windowShade","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: DownOrClose>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: DownOrClose>]>
FAILED
github-actions / Test Results
1 out of 3 runs failed: WindowShade pause cmd handler
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowShade pause cmd handler" (18 of 31)
-------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"pause","positional_args":[],"capability":"windowShade","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: StopMotion>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: StopMotion>]>
FAILED
Running test "WindowShade pause cmd handler" (18 of 31)
-------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"pause","positional_args":[],"capability":"windowShade","args":[]}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: StopMotion>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: StopMotion>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowShade setShadeLevel cmd handler
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowShade setShadeLevel cmd handler" (20 of 31)
---------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"setShadeLevel","positional_args":[20],"capability":"windowShadeLevel","args":{"shadeLevel":20}}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {lift_percent100ths_value: \x1F\x40, }>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {Uint16: \x1F\x40}>]>
FAILED
Running test "WindowShade setShadeLevel cmd handler" (20 of 31)
---------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"setShadeLevel","positional_args":[20],"capability":"windowShadeLevel","args":{"shadeLevel":20}}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {lift_percent100ths_value: \x1F\x40, }>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {Uint16: \x1F\x40}>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: WindowShade setShadeTiltLevel cmd handler
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "WindowShade setShadeTiltLevel cmd handler" (21 of 31)
-------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"setShadeTiltLevel","positional_args":[60],"capability":"windowShadeTiltLevel","args":{"level":60}}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToTiltPercentage, data: Structure: {tilt_percent100ths_value: \x0F\xA0, }>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToTiltPercentage, data: Structure: {Uint16: \x0F\xA0}>]>
FAILED
Running test "WindowShade setShadeTiltLevel cmd handler" (21 of 31)
-------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"setShadeTiltLevel","positional_args":[60],"capability":"windowShadeTiltLevel","args":{"level":60}}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToTiltPercentage, data: Structure: {tilt_percent100ths_value: \x0F\xA0, }>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToTiltPercentage, data: Structure: {Uint16: \x0F\xA0}>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: LevelControl CurrentLevel handler
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "LevelControl CurrentLevel handler" (22 of 31)
-----------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: LevelControl, attribute: CurrentLevel, data: Uint8: \x64>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":39},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "LevelControl CurrentLevel handler" (22 of 31)
-----------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: LevelControl, attribute: CurrentLevel, data: Uint8: \x64>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":39},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 8 runs failed: Battery percent reports should generate correct messages
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "Battery percent reports should generate correct messages" (23 of 31)
----------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: PowerSource, attribute: BatPercentRemaining, data: Uint8: \x96>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":75},"component_id":"main","attribute_id":"battery","capability_id":"battery"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "Battery percent reports should generate correct messages" (23 of 31)
----------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: PowerSource, attribute: BatPercentRemaining, data: Uint8: \x96>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":75},"component_id":"main","attribute_id":"battery","capability_id":"battery"}
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: OperationalStatus report contains current position report
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "OperationalStatus report contains current position report" (24 of 31)
-----------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>, <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
Running test "OperationalStatus report contains current position report" (24 of 31)
-----------------------------------------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler matter
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths, data: Uint16: \x1D\x4C>>, <InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, attribute: OperationalStatus, data: OperationalStatus: \x00>>]>
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":25},"component_id":"main","attribute_id":"shadeLevel","capability_id":"windowShadeLevel"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":"partially open"},"component_id":"main","attribute_id":"windowShade","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
TRACE || Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.closures
DEBUG || matter-switch device thread event handled
matter was not sent expected message:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
FAILED
github-actions / Test Results
1 out of 2 runs failed: Handle preset commands
tests/matter-switch_test_output.xml
Raw output
FAILED
Running test "Handle preset commands" (25 of 31)
------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"setPresetPosition","positional_args":[30],"capability":"windowShadePreset","args":{"position":30}}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":30},"component_id":"main","attribute_id":"position","capability_id":"windowShadePreset"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"presetPosition","positional_args":[],"capability":"windowShadePreset","args":[]}
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {lift_percent100ths_value: \x1B\x58, }>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {Uint16: \x1B\x58}>]>
FAILED
Running test "Handle preset commands" (25 of 31)
------------------------------------------------
TRACE || Setup driver matter-switch with lifecycle handlers:
DeviceLifecycleDispatcher: matter-switch
default_handlers:
init:
doConfigure:
infoChanged:
added:
removed:
driverSwitched:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
DeviceLifecycleDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Capability handlers:
CapabilityCommandDispatcher: matter-switch
default_handlers:
fanSpeedPercent:
setPercent
switch:
off
on
switchLevel:
setLevel
colorTemperature:
setColorTemperature
energyMeter:
resetEnergyMeter
valve:
close
open
fanMode:
setFanMode
colorControl:
setColor
setSaturation
setHue
refresh:
refresh
level:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
child_dispatchers:
CapabilityCommandDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
child_dispatchers:
TRACE || Setup driver matter-switch with Matter handlers:
MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
INFO || Starting matter-switch driver, with dispatcher: MatterMessageDispatcher: matter-switch
default_handlers:
attr:
AttributeReportHandler: cluster: 768, attribute: 1
AttributeReportHandler: cluster: 768, attribute: 3
AttributeReportHandler: cluster: 768, attribute: 4
AttributeReportHandler: cluster: 768, attribute: 7
AttributeReportHandler: cluster: 768, attribute: 8
AttributeReportHandler: cluster: 768, attribute: 0
AttributeReportHandler: cluster: 768, attribute: 16396
AttributeReportHandler: cluster: 768, attribute: 16394
AttributeReportHandler: cluster: 768, attribute: 16395
AttributeReportHandler: cluster: 145, attribute: 1
AttributeReportHandler: cluster: 145, attribute: 3
AttributeReportHandler: cluster: 1026, attribute: 1
AttributeReportHandler: cluster: 1026, attribute: 2
AttributeReportHandler: cluster: 1026, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 1
AttributeReportHandler: cluster: 514, attribute: 0
AttributeReportHandler: cluster: 514, attribute: 3
AttributeReportHandler: cluster: 1029, attribute: 0
AttributeReportHandler: cluster: 1030, attribute: 0
AttributeReportHandler: cluster: 1024, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 0
AttributeReportHandler: cluster: 8, attribute: 2
AttributeReportHandler: cluster: 8, attribute: 3
AttributeReportHandler: cluster: 144, attribute: 8
AttributeReportHandler: cluster: 6, attribute: 0
AttributeReportHandler: cluster: 59, attribute: 2
AttributeReportHandler: cluster: 156, attribute: 0
AttributeReportHandler: cluster: 29, attribute: 3
AttributeReportHandler: cluster: 129, attribute: 6
AttributeReportHandler: cluster: 129, attribute: 4
AttributeReportHandler: cluster: 47, attribute: 12
AttributeReportHandler: cluster: 47, attribute: 14
AttributeReportHandler: cluster: 47, attribute: 65531
event:
EventReportHandler: cluster: 59, event: 1
EventReportHandler: cluster: 59, event: 2
EventReportHandler: cluster: 59, event: 3
EventReportHandler: cluster: 59, event: 6
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.aqara_cube
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.camera
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.closures
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.eve_energy
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.ikea_scroll
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
MatterMessageDispatcher: matter-switch -> sub_drivers.third_reality_mk1
default_handlers:
attr:
event:
cmd_response:
child_dispatchers:
TRACE || Waiting on startupState message
INFO || received driver startupState: {"device_ids":[]}
INFO || Starting driver[matter-switch] with 0 device IDs
TRACE || Waiting on init messages
TRACE || Startup process completed
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: added
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["open","close","pause"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedWindowShadeCommands","capability_id":"windowShade"}
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> added callback did not fail
TRACE || Received event with handler device_lifecycle
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: doConfigure
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["presetPosition","setPresetPosition"]},"component_id":"main","visibility":{"displayed":false},"attribute_id":"supportedCommands","capability_id":"windowShadePreset"}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":50},"component_id":"main","visibility":{"displayed":false},"attribute_id":"position","capability_id":"windowShadePreset"}
WARN || Device does not support cluster 0x0008 not adding subscribed attribute
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionLiftPercent100ths>, <InteractionInfoBlock || cluster: WindowCovering, attribute: OperationalStatus>, <InteractionInfoBlock || cluster: WindowCovering, attribute: CurrentPositionTiltPercent100ths>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
DEBUG || matter-switch device thread event handled
TRACE || Found DeviceLifecycleDispatcher handler in matter-switch
DEBUG || matter-switch device thread event handled
DEBUG || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> doConfigure callback did not fail, transitioning device to "PROVISIONED"
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"setPresetPosition","positional_args":[30],"capability":"windowShadePreset","args":{"position":30}}
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> Lazy loaded driver into dispatcher: sub_drivers.closures
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":30},"component_id":"main","attribute_id":"position","capability_id":"windowShadePreset"}
DEBUG || matter-switch device thread event handled
TRACE || Received event with handler capability
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received command: {"component":"main","command":"presetPosition","positional_args":[],"capability":"windowShadePreset","args":[]}
TRACE || Found CapabilityCommandDispatcher handler in matter-switch -> sub_drivers.closures
INFO || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {lift_percent100ths_value: \x1B\x58, }>]>
Failed with message:
matter message channel send was expecting:
<InteractionRequest || type: READ, info_blocks: [<InteractionInfoBlock || cluster: PowerSource, attribute: AttributeList>]>
but received:
<InteractionRequest || type: INVOKE, info_blocks: [<InteractionInfoBlock || endpoint: 0x0A, cluster: WindowCovering, command: GoToLiftPercentage, data: Structure: {Uint16: \x1B\x58}>]>
FAILED