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!