Updated Tuya generic wifi curtain motor WIP (markdown)

Greefon 2019-09-26 17:32:29 +03:00
parent 9078e85d71
commit 5c40dbd743
1 changed files with 10 additions and 4 deletions

@ -1,4 +1,7 @@
```55aa0007000501010001010f Says auto power mode is on - Maybe
Setup for the functionId and dpId that was made:
stat/sonoff/RESULT = [{"fnId":11, "dpId":1},{"fnId":12, "dpId":101},{"fnId":13, "dpId":103}]
55aa0007000501010001010f Says auto power mode is on - Maybe
55aa00070005650400010075 says Curtain motor is opening or opened - Confirmed working
55aa000700086602000400000032ac Control percentage 50%
55aa00070005670100010074 report working state ( opening or closing )
@ -28,7 +31,7 @@ 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.
@ -36,12 +39,15 @@ 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
Or for better reliability put delay before each stop command and stop with delay before each movement
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
http://192.168.1.119/cm?cmnd=backlog%20delay%202%3BSerialSend5%2055aa00060005650400010175; stop