From 02af5e53bb0332e0b3f65a04243756866565cb90 Mon Sep 17 00:00:00 2001 From: Greefon Date: Thu, 26 Sep 2019 17:54:27 +0300 Subject: [PATCH] Updated Tuya generic wifi curtain motor WIP (markdown) --- Tuya-generic-wifi-curtain-motor-WIP.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Tuya-generic-wifi-curtain-motor-WIP.md b/Tuya-generic-wifi-curtain-motor-WIP.md index 6a47d555..02ad2685 100644 --- a/Tuya-generic-wifi-curtain-motor-WIP.md +++ b/Tuya-generic-wifi-curtain-motor-WIP.md @@ -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)