Mc Zigbee Window Treatment Edge Driver Issues

@Mariano_Colmenarejo thank you for everything you are doing for the community! For the Window Treatment driver im using Smartwings blinds and the open and closed commands appear to be reversed. I need to give an “open” command (either in SmartThings App or through Alexa) for the blinds to close and vice versa. I’ve attached a screenshot of the version of the driver I’m operating off of which I believe is the most up to date.

Hi @Kevin_Espinosa

This is the model that is in the driver, it worked perfectly when it was added and it has the open and close inverted with respect to the defaults, just like the ones from Ikea.

Is this exactly your model?

- id: "SmartWings/WM25/L-Z"
    deviceLabel: SmartWings Window Treatment
    manufacturer: SmartWings
    model: WM25/L-Z

Thank you Mariano. I pulled my shades down and it says motor type is 25L/Z-1. Other than that I don’t see a model number anywhere.

And you can’t interchange the open and close wires that go to the motor?

You can use this API browser to see the model

https://c31c-96-8-248-85.ngrok.io/

I haven’t tried opening up the blinds to interchange wires. When these were first installed using a DTH, the commands were correct. It recently stopped working so I re-installed and they picked up the EDGE driver but now commands are reversed. I don’t need anything fancy here so I would be willing to go back to a ST stock driver, but I don’t think they even have one for blinds from what I am seeing.

I tried clicking the link for the API but get the following error:

ERR_NGROK_3200

Tunnel c31c-96-8-248-85.ngrok.io not found

Never mind, I didn’t have zigbee window treatment installed. Trying that driver now.

@Kevin_Espinosa

Try this link

https://api-browser-plus.pinsky.us/

You’re awesome, Mariano. Confirmed Model Number is WM25/L-Z. I tried the stock ST zigbee window treatment driver and open/close are also reversed in that driver.

@Mariano_Colmenarejo so we are unfortunately back to square one. Model number matches what you had and open/close are reversed. Are you saying it is something that can’t be changed in your driver and I need to re-wire the blinds? Then I would think my remote control for my blinds would work in reverse so not really an ideal solution to re-wire.

Hi @Kevin_Espinosa

If as you say, the stock driver works the same as mine then there is something wrong.

With the stock driver device is paired as generic profile and should execute the defaults and handle the value 0% to 100% received from the device as it comes.

With my driver it is paired to execute the IKEA subdriver and this subdriver when it receives the value from the device subtracts them from 100% and therefore they should work inversely.

I would need you to send me the logs with the CLI open and close to see what it receives and what it executes.

Thank you @Mariano_Colmenarejo for this helpful explanation. When I get home from work tonight I’ll re-test everything and report back.

2 Likes

Please remember that the “request for edge drivers” threads should have only two posts per device: one to request an edge driver, and one to respond with a link to an existing edge driver, if there is one.

If you have questions about a specific edge driver or problems with it, please either ask in the author thread for that driver, or start a new thread and tag the author. Otherwise the request threads become unmanageable.

Thank you.

( I have moved this conversation to its own thread.)

2 Likes

@Mariano_Colmenarejo I confirmed that both the “Zigbee Window Treatment” and “Zigbee Window Treatment Mc” drivers are functioning the same for these blinds. Open command closes the blinds and close command opens the blinds.

I am by no means a computer person or coder, but I downloaded the CLI package, I think I successfully navigated to my hub, and I identified the drivers and tried to pull activity for driver 36 which is your modified Zigbee Window Treatment driver. I sent a “close” command (which opened the blinds) and then an “open” command (which closed the blinds). Here is what I saw in CLI:

36 e7070ea0-2ed9-4802-b7e7-5912a75f20fa Zigbee Window Treatment Mc
────────────────────────────────────────────────────────────────────────────────
? Select a driver. 36
connecting… connected
2023-04-27T22:04:54.419132474+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:05:24.429842821+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:05:54.439367805+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:06:24.437350946+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:06:54.437064949+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:07:24.553341286+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:07:32.326650287+00:00 TRACE Zigbee Window Treatment Mc Received event with handler capability
2023-04-27T22:07:32.346854954+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received command: {“args”:{},“capability”:“windowShade”,“command”:“close”,“component”:“main”,“positional_args”:{}}
2023-04-27T22:07:32.364925954+00:00 TRACE Zigbee Window Treatment Mc Found CapabilityCommandDispatcher handler in zigbee_window_treatment
2023-04-27T22:07:32.371685954+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:07:32.732501621+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:07:32.733486287+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x92, rssi: -83, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x47, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x01, ZclStatus: SUCCESS > > >
2023-04-27T22:07:32.759132287+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:07:32.760088621+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:07:32.761336954+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x94, rssi: -85, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x47, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x01, ZclStatus: UNSUP_CLUSTER_COMMAND > > >
2023-04-27T22:07:32.775501287+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:07:33.162052621+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:07:33.170661954+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: PowerConfiguration >, lqi: 0x94, rssi: -84, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x22, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0021, DataType: Uint8, BatteryPercentageRemaining: 0x4D > > > >
2023-04-27T22:07:33.197560287+00:00 TRACE Zigbee Window Treatment Mc Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:07:33.198387954+00:00 INFO Zigbee Window Treatment Mc Executing ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryPercentageRemaining
2023-04-27T22:07:33.203161621+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“battery”,“capability_id”:“battery”,“component_id”:“main”,“state”:{“value”:39}}
2023-04-27T22:07:33.206379287+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:07:54.449101290+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:07:57.281403290+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:07:57.282580290+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x8A, rssi: -82, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x23, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0008, DataType: Uint8, CurrentPositionLiftPercentage: 0x00 > > > >
2023-04-27T22:07:57.345061290+00:00 TRACE Zigbee Window Treatment Mc Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:07:57.345889624+00:00 INFO Zigbee Window Treatment Mc Executing ZclClusterAttributeValueHandler: cluster: WindowCovering, attribute: CurrentPositionLiftPercentage
2023-04-27T22:07:57.361381957+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“shadeLevel”,“capability_id”:“windowShadeLevel”,“component_id”:“main”,“state”:{“value”:0}}
2023-04-27T22:07:57.386937624+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“windowShade”,“capability_id”:“windowShade”,“component_id”:“main”,“state”:{“value”:“closed”}}
2023-04-27T22:07:57.420222957+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:07:57.421074624+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:07:57.701653957+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:07:57.712518624+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: PowerConfiguration >, lqi: 0x94, rssi: -84, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x24, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0021, DataType: Uint8, BatteryPercentageRemaining: 0x51 > > > >
2023-04-27T22:07:57.800924624+00:00 TRACE Zigbee Window Treatment Mc Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:07:57.801761290+00:00 INFO Zigbee Window Treatment Mc Executing ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryPercentageRemaining
2023-04-27T22:07:57.804524624+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“battery”,“capability_id”:“battery”,“component_id”:“main”,“state”:{“value”:41}}
2023-04-27T22:07:57.807287290+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:07:59.435940624+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:02.817761291+00:00 TRACE Zigbee Window Treatment Mc Received event with handler capability
2023-04-27T22:08:02.832497291+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received command: {“args”:{},“capability”:“windowShade”,“command”:“open”,“component”:“main”,“positional_args”:{}}
2023-04-27T22:08:02.834221958+00:00 TRACE Zigbee Window Treatment Mc Found CapabilityCommandDispatcher handler in zigbee_window_treatment
2023-04-27T22:08:02.895608624+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:03.544198958+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:08:03.550349291+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x92, rssi: -91, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x48, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x00, ZclStatus: SUCCESS > > >
2023-04-27T22:08:03.559509291+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:03.600279291+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:08:03.601111958+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x88, rssi: -86, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x48, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x00, ZclStatus: UNSUP_CLUSTER_COMMAND > > >
2023-04-27T22:08:03.609939624+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:04.031226624+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:08:04.032641624+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: PowerConfiguration >, lqi: 0x7E, rssi: -83, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x25, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0021, DataType: Uint8, BatteryPercentageRemaining: 0x4E > > > >
2023-04-27T22:08:04.077229291+00:00 TRACE Zigbee Window Treatment Mc Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:08:04.078056624+00:00 INFO Zigbee Window Treatment Mc Executing ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryPercentageRemaining
2023-04-27T22:08:04.086564624+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“battery”,“capability_id”:“battery”,“component_id”:“main”,“state”:{“value”:39}}
2023-04-27T22:08:04.093018624+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:24.448927960+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled
2023-04-27T22:08:28.098319294+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:08:28.099763961+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x86, rssi: -86, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x26, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0008, DataType: Uint8, CurrentPositionLiftPercentage: 0x64 > > > >
2023-04-27T22:08:28.159955294+00:00 TRACE Zigbee Window Treatment Mc Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:08:28.161397961+00:00 INFO Zigbee Window Treatment Mc Executing ZclClusterAttributeValueHandler: cluster: WindowCovering, attribute: CurrentPositionLiftPercentage
2023-04-27T22:08:28.163187961+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“shadeLevel”,“capability_id”:“windowShadeLevel”,“component_id”:“main”,“state”:{“value”:100}}
2023-04-27T22:08:28.179013627+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“windowShade”,“capability_id”:“windowShade”,“component_id”:“main”,“state”:{“value”:“open”}}
2023-04-27T22:08:28.205174627+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:28.206175627+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:28.551406294+00:00 TRACE Zigbee Window Treatment Mc Received event with handler zigbee
2023-04-27T22:08:28.552368627+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: PowerConfiguration >, lqi: 0x96, rssi: -85, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x27, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0021, DataType: Uint8, BatteryPercentageRemaining: 0x51 > > > >
2023-04-27T22:08:28.572160294+00:00 TRACE Zigbee Window Treatment Mc Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:08:28.577637627+00:00 INFO Zigbee Window Treatment Mc Executing ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryPercentageRemaining
2023-04-27T22:08:28.579599627+00:00 INFO Zigbee Window Treatment Mc <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“battery”,“capability_id”:“battery”,“component_id”:“main”,“state”:{“value”:41}}
2023-04-27T22:08:28.586274961+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:30.205926294+00:00 DEBUG Zigbee Window Treatment Mc Theater Room Blinds device thread event handled
2023-04-27T22:08:54.461029964+00:00 DEBUG Zigbee Window Treatment Mc driver device thread event handled

@Mariano_Colmenarejo if it helps, I then switched to the stock Zigbee Window Treatment driver and grabbed the CLI again for a “close” command (that opened the blinds):

35 46b8bada-1a55-4f84-8915-47ce2cad3621 Zigbee Window Treatment
────────────────────────────────────────────────────────────────────────────────
36 e7070ea0-2ed9-4802-b7e7-5912a75f20fa Zigbee Window Treatment Mc
────────────────────────────────────────────────────────────────────────────────
? Select a driver. 35
connecting… connected
2023-04-27T22:15:33.674619965+00:00 DEBUG Zigbee Window Treatment driver device thread event handled
2023-04-27T22:15:35.781009632+00:00 TRACE Zigbee Window Treatment Received event with handler capability
2023-04-27T22:15:35.820421299+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received command: {“args”:{},“capability”:“windowShade”,“command”:“close”,“component”:“main”,“positional_args”:{}}
2023-04-27T22:15:35.821795299+00:00 TRACE Zigbee Window Treatment Found CapabilityCommandDispatcher handler in zigbee_window_treatment
2023-04-27T22:15:35.822967632+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:15:36.131403966+00:00 TRACE Zigbee Window Treatment Received event with handler zigbee
2023-04-27T22:15:36.132572299+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x94, rssi: -86, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x4D, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x01, ZclStatus: SUCCESS > > >
2023-04-27T22:15:36.152236633+00:00 TRACE Zigbee Window Treatment Received event with handler zigbee
2023-04-27T22:15:36.153084633+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x8E, rssi: -90, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x4D, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x01, ZclStatus: UNSUP_CLUSTER_COMMAND > > >
2023-04-27T22:15:36.155017633+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:15:36.158260966+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:15:36.740884633+00:00 TRACE Zigbee Window Treatment Received event with handler zigbee
2023-04-27T22:15:36.741862633+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: PowerConfiguration >, lqi: 0x8A, rssi: -85, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x2A, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0021, DataType: Uint8, BatteryPercentageRemaining: 0x4D > > > >
2023-04-27T22:15:36.766036300+00:00 TRACE Zigbee Window Treatment Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:15:36.766870633+00:00 INFO Zigbee Window Treatment Executing ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryPercentageRemaining
2023-04-27T22:15:36.769593633+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“battery”,“capability_id”:“battery”,“component_id”:“main”,“state”:{“value”:39}}
2023-04-27T22:15:36.772425633+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:16:00.709217644+00:00 TRACE Zigbee Window Treatment Received event with handler zigbee
2023-04-27T22:16:00.710485311+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: WindowCovering >, lqi: 0x94, rssi: -83, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x2B, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0008, DataType: Uint8, CurrentPositionLiftPercentage: 0x00 > > > >
2023-04-27T22:16:00.736381644+00:00 TRACE Zigbee Window Treatment Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:16:00.737214644+00:00 INFO Zigbee Window Treatment Executing ZclClusterAttributeValueHandler: cluster: WindowCovering, attribute: CurrentPositionLiftPercentage
2023-04-27T22:16:00.738888311+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“shadeLevel”,“capability_id”:“windowShadeLevel”,“component_id”:“main”,“state”:{“value”:0}}
2023-04-27T22:16:00.744951311+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“windowShade”,“capability_id”:“windowShade”,“component_id”:“main”,“state”:{“value”:“closed”}}
2023-04-27T22:16:00.782414311+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:16:00.787994644+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:16:01.197699311+00:00 TRACE Zigbee Window Treatment Received event with handler zigbee
2023-04-27T22:16:01.198674645+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x4011, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: PowerConfiguration >, lqi: 0x8A, rssi: -83, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x2C, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0021, DataType: Uint8, BatteryPercentageRemaining: 0x51 > > > >
2023-04-27T22:16:01.293842645+00:00 TRACE Zigbee Window Treatment Found ZigbeeMessageDispatcher handler in zigbee_window_treatment
2023-04-27T22:16:01.294678978+00:00 INFO Zigbee Window Treatment Executing ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryPercentageRemaining
2023-04-27T22:16:01.297602311+00:00 INFO Zigbee Window Treatment <ZigbeeDevice: 0245cb8b-0904-4efe-87e6-bb87e608da2e [0x4011] (Theater Room Blinds)> emitting event: {“attribute_id”:“battery”,“capability_id”:“battery”,“component_id”:“main”,“state”:{“value”:41}}
2023-04-27T22:16:01.304935645+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:16:02.979476645+00:00 DEBUG Zigbee Window Treatment Theater Room Blinds device thread event handled
2023-04-27T22:16:03.700872312+00:00 DEBUG Zigbee Window Treatment driver device thread event handled
2023-04-27T22:16:33.676718993+00:00 DEBUG Zigbee Window Treatment driver device thread event handled
2023-04-27T22:17:03.743528008+00:00 DEBUG Zigbee Window Treatment driver device thread event handled

Hi @Kevin_Espinosa
I don’t know why it doesn’t run the IKEA subdriver for this device, it always runs the default handlers.

Try installing this new version on your hub to see if it runs the subdriver it works

───────────────────────────────────────────────────
 Name         Zigbee Window Treatment Mc
 Version      2023-04-28T11:29:11.23165082
───────────────────────────────────────────────────

Thanks! I’ll wait for the new version of the driver to update to my hub and then test it again

Might I suggest that the manufacturer could be ‘Smartwings’ and not ‘SmartWings’. The DTH certainly says ‘Smartwings’.

2 Likes

@Mariano_Colmenarejo unfortunately, still reversed.

And the DTH worked correctly. Sorry I’m not much use here other than providing testing. I have zero coding experience!

Thanks @orangebucket , that might explain everything. Pairs by cluster 0102, instead of manufacturer and model, and does not run the subdriver

Please @Kevin_Espinosa send me a screenshot of API Browser+ to see the correct manufacturer.

1 Like