Updated Tuya generic wifi curtain motor WIP (markdown)

Greefon 2019-09-26 17:54:27 +03:00
parent dc17eee59a
commit 02af5e53bb
1 changed files with 6 additions and 9 deletions

@ -35,21 +35,18 @@ SerialSend5 55aa0006000501010001010e -> Should enable 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.
Consider to send delay (1 sec) 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
backlog delay 10;SerialSend5 55aa00060005650400010276 open
backlog delay 10;SerialSend5 55aa00060005650400010074 close
SerialSend5 55aa00060005650400010175; stop
And if you use html requests:
http://ip/cm?cmnd=backlog%20delay%205%3BSerialSend5%2055aa00060005650400010276 open
http://ip/cm?cmnd=backlog%20delay%205%3BSerialSend5%2055aa00060005650400010074 close
http://ip/cm?cmnd=backlog%20delay%210%3BSerialSend5%2055aa00060005650400010276 open
http://ip/cm?cmnd=backlog%20delay%210%3BSerialSend5%2055aa00060005650400010074 close
http://ip/cm?cmnd=SerialSend5%2055aa00060005650400010175; stop
Or for better reliability put delay before each stop command and stop with delay before each movement
http://ip/cm?cmnd=backlog%20delay%202%3BSerialSend5%2055aa00060005650400010175%3Bdelay%202%3BSerialSend5%2055aa00060005650400010276 open
http://ip/cm?cmnd=backlog%20delay%202%3BSerialSend5%2055aa00060005650400010175%3Bdelay%202%3BSerialSend5%2055aa00060005650400010074 close
http://ip/cm?cmnd=backlog%20delay%202%3BSerialSend5%2055aa00060005650400010175; stop
```
![The motor](https://user-images.githubusercontent.com/16508296/65697684-01ae0f00-e084-11e9-91d5-eb85f312ef84.jpg)
![Inside](https://user-images.githubusercontent.com/16508296/65697737-1d191a00-e084-11e9-8752-6d5d78ce8abf.jpg)