Vacuum rotation only works in one direction
Describe the bug Vacuum only rotates left, command for right gives an error.
Version information (please complete the following information):
- OS: Win 10
- python-miio: 0.5.11
Device information:
- Model: dreame.vacuum.mc1808
- Hardware version: Linux
- Firmware version: 4.3.3_1122
To Reproduce
-
run rotate command with an out-of-range value:
> miiocli dreamevacuum --ip 192.168.179.4 --token ... rotate 190Output:Error: Given rotation is invalid, should be [-120, 120], was 190 -
run rotate with a positive value in range:
> miiocli dreamevacuum --ip 192.168.179.4 --token ... rotate 30Output:Nonebut vacuum rotated successfully -
run rotate with negative value in range (like described above):
> miiocli dreamevacuum --ip 192.168.179.4 --token ... rotate -30
Output:Error: No such option: -1
Expected behavior step 3 should rotate the vacuum to the right by given value successfully without trowing an error.
Console output see steps above
step 1 is only there to know, which values are supported, as --help does not output that information.
also putting the value in qoutes did not work either. could be something windows specific.
Also is there a way to rotate/move forward with a specific speed?
Any help is appreciated.