Device Handler for Yoolax zigbee motorized shades

I’m not sure, I didn’t look at the model number. Is it a Yooksmart in the SmartThings Groovy IDE?

@thx1200 Thank you for your work on this!

I am looking at purchasing some Yoolax shades/blinds, maybe even the zebra blinds I don’t know. How do I make sure I am purchasing the ones that will work with your device handler? I don’t own any Alexa devices I just want to operate with Smartthings and Google Homes. I do not see anything in the product listing if the models are RF or Zigbee.

Could you point me in the right direction?

Thanks!

Works great on my Yoolax shades! Thank you so much for making this! One of my shades has “Yookee” as manufacturer but it seems to work the same way as “yooksmart” so I just made a tiny change. One problem I have is that I’m not able to create any automation around it. I tried smart lighting app and sharptool but my shades don’t show up in the device list for automation. I wonder if it is because I created DTH from code. I tried to pull from github but it errors out and keeps skipping.

Working for me now. It just needs “switch” capability and define on() off().

Having had these for a few months now, are the new motors disconnecting? I was thinking of getting these blinds, but may go RF if the new motors are still disconnecting. (RF also saves $70/ea and I need 13 total)

Nope, I haven’t had a single disconnection! In fact, the other week i had a prolonged power outage and the shades reconnected without trouble to the hub.

@magicyang2 What changes did you make to get the Yookee working? I made some (what I thought are) obvious changes to the DH, and the device appears to register correctly. But commands sent to it timeout with “A network or server error occurred. Try again later.”

I’m not super familiar with SmartThings interface. Is there a console or similar where I can “talk” to the device in Groovy?

I just received 3 Yoolax roller shades. I was able to get them paired up, custom device handler installed, and switched over in about 20 minutes. Thank you so much for making this so easy! It works great, and I will check back to compare notes if I see any disconnect errors or issues.

1 Like

I am waiting for my Graywind Shades to arrive - they are the same company as Yoolax and it appears the motor will indeed be the Yooksmart (they were back ordered and they just received a limited batch of them at this time of writing)

Interestingly I found a video that suggests they connect directly with ST (and also confirms the Yooksmart motor)

This is relatively recent, only posted end of March 2021
The video suggests it does not look like a device handler is necessary and it should pair directly from the available ‘brand’. Sure enough, I do see Yooksmart in the list of brands on the app.

One question about which hubs will work - they are marketing these motors to link directly to Alexa Smart Hub devices - and from the video obviously will work with SmartThings Hub.
Will this device work with any other Zigbee Hubs (that themselves will connect to ST)?
I really don’t need the Z-wave capability of an ST (Aeotec) hub and wondering what other (lower cost!) zigbee hubs will work? I have a Sonoff - that will be first thing I try. However I see my sonoff contact sensors in ST, but don’t seem to be able to add the ZBBridge hub itself …
In the video (if you catch it quick) it shows the Hub as yooksmart-streview (which could be just their personalized name for their ST Hub) - I couldn’t find a yooksmart branded hub anywhere.

So I’m presuming that once in ST, I can then utilize it Sharptools?
And will link to Alexa by the ST skill?

I’ve been going back and forth with Yoolax on this since I bought my blinds in September. My last email with them this week, they indicated to use the Yookee Smart Handler. When I select Yooksmart from the available devices in ST app, there is a Yookee shade. So I’ve selected that. The app says to press 4x then press again and hold for 3 seconds. I think I am doing it right. I can press 4x, and hear a beep each time. Then I press 5th time and hold, after about 3 seconds, the motor jogs down and then back up. I release the button and wait for the ST to connect but it never does. I’ve tried the yookee device, and the yooksmart, but neither of them connect.

@tjpoe - So I think you are saying that your ST Hub never detects the Zigbee Motor?
I can confirm that my Graywind* shade added directly with the SmartThings Hub/App by selecting the Yooksmart device in the SmartThings App setup. And as I suggested a couple of posts up, the device handler developed per the theme of this thread originally, is no longer required.
(It also works directly with an Alexa Smart Hub - new Echo 4 if I connect to that instead of ST Hub)
So not sure if something changed with the motors since you got yours originally, but certainly for product shipped recently, they do indeed link.
The process you are describing for pairing the zigbee is correct - 4 quick presses (with a beep response) then a long press & hold (~ 3 secs) until the shade ‘jogs’.

*I believe that Graywind and Yoolax are the same company

Timothy,

Thank you so much for your custom device handler. It makes these Yoolax blinds work the way they are supposed to. Would it be possible to adjust the code so that when you tell it to close it closes to 2% instead of 0%. My blinds are just a tiny bit too long. I was looking through your code but I don’t see a place to interface with them that way. For now I just tell google to set them to 2% and that works but it would be more elegant if I could say close and it just stopped them where I want.

Thanks,
Jason

@shizzaq you don’t actually need to edit the handler. The Yoolax shades have a function for calibrating the fully open and fully closed position. It’s called the “set up limit position” and “set down limit position.” It’s done entirely from the remote control. I’m attaching the relevant manual page to this post.

Thank you sir, I have solved the problem. I used the manual to set the down limit position with the remote but SmartThings never recognized the down limit position I set up. If I set up a new up limit position it would recognize that as the new top but it would never recognize the bottom position. So I reset the blind completely and then realized that the motor just goes continuously basically without any initial stops and you can actually get the blind to rewrap and be front wind if you want. Anyhow once I figured out how to get it back wound the way I wanted I set the Up Limit (which has to be done first I figured out) and then I set the Down Limit and now the awesome device handler you wrote is opening and closing them to the down limits I set and showing the shade percentage correctly. Thanks again for all of your help. You device handler works correctly and has more features compared to the YookSmart one they have in the pick list. They should adopt your device handler as the official solution for these blinds and pay you for your development hours. Because of your work I will now be purchasing these blinds for my great room and basement rec room.

Did you set the up/down limits before you paired it with Smartthings? I want to set the upper limit lower, it works via the remote but Smartthings opens it all the way.

I did initially, but then I also adjusted it after pairing.

So for me the smart things app would recognize up limits I set with the remote it never recognized the down limits. Then I reset the blinds and set up new initial stop points and once I did that the smart things handler would recognize both. You have to set up the custom handler that Tim made because the crap they have included in the app isn’t as good as his. I’m getting ready to buy thousands of dollars worth of blinds and I’m going to try to convince them to give him a kickback because without his work I wouldn’t be buying.

This works great except that when it’s closed Smartthings reports it as open and when it’s open Smartthings reports it as closed. Interestingly, when I click on the close button it closes correctly, but says it’s opening, and vice versa when I click the open button. The shading percentage reports correctly.

Regardless, thank you for the work!

It’s possible Yoolax switched motors again. Can you post the “data” information block from the Groovy IDE of the window shades device? If it’s a new motor, or just a new version, I can easily swap the completion percentages. The code is actually already in there to do that for a different motor.

i ended up just changing your code and reversed some things to make it work normal, i have since received more blinds from them and you code works perfect without the edit and its possible that when the motor is on the left side its reversed. below is from the blind that is reversed;

  • endpointId: 01
  • firmwareFullVersion: 11006780
  • firmwareImageType: 117
  • firmwareManufacturerCode: 4169
  • manufacturer: yooksmart
  • model: D10110
  • zigbeeNodeType: SLEEPY_END_DEVICE