Fix logic errors in previous commits, update version readme and changelog, add features, improve things, etc.

This commit is contained in:
2025-09-11 21:49:43 -07:00
parent 720c24ed89
commit 0ea920b628
5 changed files with 151 additions and 98 deletions

View File

@@ -1,6 +1,21 @@
# v1.2
- Add mode selection
- Major changes to default behavior:
- If time is not specified, whatever mode is selected will run until the vacuum gets low on battery. Then it will go home.
- If a time is specified, vacuum will run until the end of elapsed time then it will stop in place.
- Addition of a mode flag:
- `-m quiet`: Automatic direction, low suction
- `-m default`: Automatic direction, medium suction
- `-m max`: Automatic direction, maximum suction
- `-m edge`: Stick to the edges of the room
- `-m spot`: "Spot clean" - goes in goes in a spiral from one point
- Addition of a status flag:
- `-s or --status` will connect to robovac and print status.
- Improve tuya logs and callbacks by associating status names with their values.
- whereas before, status indicators such as "power" and "work mode" were reported as numerical keys, the keys are now just called "power" and "work mode".
- add a return to base flag
- `--return or -r`: when combined with `--time or -t`, will instruct robovac to return to base after time has elapsed. (default is to pause in place when time elapses).
- This is semantically different from `-b or --home` because it only impacts a timed job.
# v1.1