mjg59 / python-broadlink

Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs
MIT License
1.35k stars 477 forks source link

Add dooya new (Dooya DT360E-45/20 curtain motor`s (Device ID: 4F6E)) #770

Closed burjakremen closed 2 months ago

burjakremen commented 10 months ago

Add support for a new Dooya DT360E-45/20 curtain motor (Device ID: 4F6E) Reopen pull request. Based on latest version 0.18.3 It checked and works for me. Previous PR here: https://github.com/mjg59/python-broadlink/pull/431

felipediel commented 2 months ago

Closed with https://github.com/mjg59/python-broadlink/pull/785. Great job @burjakremen! Thank you!

felipediel commented 2 months ago

@burjakremen Do you still have the data you collected? Could you confirm that packet[0x08] of get_percentage() is 0x02 (write)? Looking at similar devices it should be 0x01 (read).

burjakremen commented 2 months ago

@burjakremen Do you still have the data you collected? Could you confirm that packet[0x08] of get_percentage() is 0x02 (write)? Looking at similar devices it should be 0x01 (read).

No, I don’t have any previously collected data. But the motor works stably with this code.