Updated Tuya generic wifi curtain motor WIP (markdown)

Greefon 2019-09-26 17:18:09 +03:00
parent 92c51a4d91
commit 9078e85d71
1 changed files with 17 additions and 1 deletions

@ -28,4 +28,20 @@ SerialSend5 55aa000600086602000400000032ab should open curtain to 20%
It might be that it needs commands start opening after setting the percentage.
SerialSend5 55aa0006000501010001010e -> Should enable auto close mode
SerialSend5 55aa0006000501010001000d -> should disable auto close mode.```
SerialSend5 55aa0006000501010001000d -> should disable auto close mode.```
If you send the direction changing too fast (from open to close and vice versa) the motor can be blocked by security reasons.
Consider to send delay before changing direction.
For example the commands in console works OK and don't make the motor block:
backlog delay 50;SerialSend5 55aa00060005650400010276 open
backlog delay 50;SerialSend5 55aa00060005650400010074 close
SerialSend5 55aa00060005650400010175; stop
And if you use html requests:
http://192.168.1.119/cm?cmnd=backlog%20delay%205%3BSerialSend5%2055aa00060005650400010276 open
http://192.168.1.119/cm?cmnd=backlog%20delay%205%3BSerialSend5%2055aa00060005650400010074 close
http://192.168.1.119/cm?cmnd=SerialSend5%2055aa00060005650400010175; stop
Or for better reliability put delay before each stop command and stop with delay before each rotate
http://192.168.1.119/cm?cmnd=backlog%20delay%202%3BSerialSend5%2055aa00060005650400010175%3Bdelay%202%3BSerialSend5%2055aa00060005650400010276 open
http://192.168.1.119/cm?cmnd=backlog%20delay%202%3BSerialSend5%2055aa00060005650400010175%3Bdelay%202%3BSerialSend5%2055aa00060005650400010074 close
http://192.168.1.119/cm?cmnd=backlog%20delay%202%3BSerialSend5%2055aa00060005650400010175; stop