Yoolax Blinds - Preset 3rd position (50% open/closed)

I recently installed Yoolax Blinds and they work great with Bond Pro once I did some advanced editing and changed the number of “reps” for each command. Now set at 2 instead of the default of 1.

Now I am on to trying to figure out how to edit the “preset” command in Bond so that it actually works. In a nut shell, if I long press (approx. 5 seconds) the stop button on the remote for the shades, it will send a command to set the blinds to 50% open (or closed depending on perspective). How can I make the necessary edits to the API in order to tell Bond to “long press” a command as opposed to “tap”?

curl -iH “Bond-Token: BONDTOKEN” http://BONDIPADDRESS/v2/devices/DEVICEID/commands/COMMANDID/

Not sure if this is the case for Yoolax, but on another brand, I found the long press on the remote for “preset” actually transmitted a different RF command.

So when I was teaching Bond the remote commands, I used the long press on the remote to teach Bond to use the “preset” command in place of the “stop” command (I don’t need a stop command when using Bond). Works great!

Good info. Indeed sometimes the receiver just looks for the STOP signal to be transmitted for >= 5 sec, other times the transmitter changes from STOP signal to a PRESET signal. Obviously we would prefer the dedicated PRESET signal, but we don’t get to decide :slight_smile: .

One way to do this is to already be holding down the button before asking Bond to start recording. That way you definitely catch only the second signal.

The Bond Bridge is designed to capture the end of the transmission, so theoretically you would get the last 0.6 sec of the transmission and would not need to start holding the button down before starting recording. However, in reality there can be gaps in the transmission which may cause Bond Bridge to end the capture early and possibly record only the STOP signal but not the PRESET signal.

If however we are wrong about the STOP → PRESET signal transition, and it is only based on duration of STOP signal, then you’d need to use a higher reps of the STOP signal to emulate 5+ sec button press. This may not work because of a gap in the 0.6 sec buffer, which unfortunately would need to be manually removed by deleting (most of) the 000s at the end of the buffer. Not ideal, but that’s the best I can offer right now.

1 Like

Following up on an old conversation, I managed to get this at least kinda sorta working. I have been trying to get this working with my Greywind blinds, which are just rebranded Yoolax/Dooya motors from what I can tell. And just for Google’s sake, I’m working with the DC1602 remote and a DM28 motor.

Putting the pieces together from various threads, I created an “Other” device (inside the Shades category) and manually recorded the buttons for open/close/stop. For the Preset button, I recorded a short press of the stop button. (I tried doing starting recording after the button was pressed as suggested above, but that didn’t seem to work for me, nor did recording a long press.)

Once I did that, I followed the tutorial here to figure out how to edit the settings. Changing reps didn’t seem to work reliably UNTIL I removed a bunch of zeroes as suggested here. That created a much shorter command, so I upped the reps to 20, which resulted in around a 5-second command. It’s still not SUPER reliable, but it’s the best I’ve been able to come up with, and it DOES work more often than not.

And in terms of the specific commands you need, here are the two I used:

curl -iH "Bond-Token: YOURTOKENHERE" http://IPADDRESSHERE/v2/devices/DEVICEIDHERE/commands/COMMANDIDHERE/signal -X PATCH -d '{"encoding":"hex","data":"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000000003FFFFFFC0003FFE00000003FFE00000003FFE00000003FFFFFFC0001FFF00000000FFFFFFE0000FFFFFFE0000FFF80000000FFF80000000FFFFFFF00007FFFFFF00003FFFFFF00007FFFFFF00003FFC00000003FFC00000003FFE00000003FFE00000003FFE00000003FFFFFFC0003FFE00000003FFFFFFC0001FFF00000000FFF00000000FFFFFFE0000FFFFFFE0000FFFFFFE0000FFF00000000FFF00000000FFF00000000FFF00000000FFF00000000FFF80000000FFFFFFE0000FFF80000000FFFFFFF0000FFF80000000FFFFFFF00007FF80000000FFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000FFFFFFE0000FFF80000000FFF80000000FFFC00000003FFFFFF80003FFC00000003FFFFFF80003FFFFFF80003FFE00000003FFE00000003FFFFFFC0001FFFFFFC0000FFFFFFC0000FFFFFFC0000FFF00000000FFF00000000FFF80000000FFF80000000FFF80000000FFFFFFF00007FFC00000003FFFFFF80003FFC00000003FFC00000003FFFFFFC0003FFFFFFC0003FFFFFFC0001FFF00000000FFF00000000FFF00000000FFF80000000FFF800000007FFC00000003FFFFFF80003FFC00000003FFFFFF80003FFE00000003FFFFFFC0003FFE00000003FFFFFFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0000000000000003FFFFFF80003FFE00000003FFE00000003FFE00000003FFFFFFC0001FFF00000000FFFFFFE0000FFFFFFE0000FFF80000000FFF80000000FFFFFFF00007FFFFFF00003FFFFFF00003FFFFFF00003FFC00000003FFC00000003FFE00000003FFE00000003FFE00000003FFFFFFC0001FFF00000000FFFFFFE0000FFF00000000FFF00000000FFFFFFE0000FFFFFFE0000FFFFFFE0000FFF80000000FFF80000000FFF80000000FFF80000000FFFC00000003FFC00000003FFFFFF80003FFC00000003FFFFFF80003FFE00000003FFFFFFC0003FFE00000003FFFFFFC"}'
curl -iH "Bond-Token: YOURTOKENHERE" http://IPADDRESSHERE/v2/devices/DEVICEIDHERE/commands/COMMANDIDHERE/signal -X PATCH -d '{"reps": 20}'

Hope that helps someone out there. And if anyone can figure out a way to make it more reliable, I’d love to hear it!

3 Likes

Any updates on this one recently? I have 4 Yoolax blinds that I’m currently scheduling up and down timers 8 times in the morning and evening— it’s the only way I’ve gotten them to work each time.

If I could get a long press from the remote to work, all shades would go up/down all at once, but as it stands now it’s a crap shoot I’ve overcome with redundancy of short presses over 8 minutes, lol.

Out of curiosity, how are you using the short presses to achieve what the long press would do? I can’t get it to do anything other than “up” or “down” consistently - the long press stop is hit or miss even with all of the tweaking I’ve done.

@bondhome Any update on a long press solution?

Hi All - I am hopping into this forum late, but I am having trouble integrating my Yoolax Blinds through the Bond Pro Hub into Google Home App. They load in, but I can only fully open and close them, I cannot stop them without using the Bond Home App. Is there a way to integrate the stop button into the Google Home App a stronger user experience?