This repository has been archived by the owner on Apr 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
Add cli commands pause resume; fix stop #88
Open
Wandersalamander
wants to merge
66
commits into
wpietri:master
Choose a base branch
from
Wandersalamander:add-pause-resume
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add cli commands pause resume; fix stop #88
Wandersalamander
wants to merge
66
commits into
wpietri:master
from
Wandersalamander:add-pause-resume
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add EcoVacsIOT in VacBot
Add SpotArea option for D90X w/ Mapping
Add clean_status for IOT - Reports cleaning or paused
Add backward action
Fix tests Add tests for iot Modify Clean to use kwargs for SpotArea
Add spotarea command tests
Add spotclean to cli
Cleanup init code from adding IOT
Remove egg & update gitignore for vscode files
Handle already charging Small cleanup
Set timeout to 1.25 secs for IOT API - Some commands (Move) never return a status, so this allows things to continue moving along without waiting too long
WIP: Add initial EcoVacsMQTT client - Connect and get message TODO: Parse messages and plumb to events
MQTT Client plumbed up - Connect, disconnect, statuses working
Add test MQTTPing & Fix tests
Fix clean from CLI Inject an action='start' for IOTvacs
Add to protocol.md
Fix tables in protocol
Add more iot tests
Add mqtt tests
Added verify False to requests. Needed for work on Bumper
Make ssl verification optional Can be set via config manually, or used from library
Fix for custom commands with multiple inner tags Updated tests
stop printing positiion updates
Fix spot area clean
Added paho-mqtt dependency.
Update setup.py
Update SpotArea and CLI command to more closely reflect the app Library: SpotArea namedarea -> area SpotArea customarea -> map_position CLI Commands: spotclean -> area Ex: sucks area 0,1 - will clean areas 0 and 1 / A and B area options: --map-postion|-p - will clean a specified map coordinate Ex: sucks area -p "-602,1812,800,723" - will clean the specified custom map coordinates
Update protocol.md to reflect changes to CLI area command.
- Changed ClientXMPP to login/bind with resource - Changed clean to always add the action - Wrap command calls a new getReqID to add an ID to the ctl if needed - This was required for the ozmo commands, and shouldn't affect other boths - Updated tests
Ozmo930 working
Remove failing python 3.5 test for now
Is 3.5 failing because of a space?
It wasn't because of a space.... The tests were failing depending on the run because the xml string may have the id in a different order from run to run. Changed test to convert string to xml for testing id exists or matches customid.
Add D600 (dl8fht) to iotmqdevices - CR: Fredric Palmgren
Removing a test based on the assumption that iot products may not work as iotmq. This broke because D600 was added to the list of iotmq devices, but we can't assume the other devices from the productiotmap may not be added to the iotmq list in the future and this will just keep breaking. It really doesn't provide much value from a test perspective.
Add SetWaterPermeability setting to protocol.md - wpietri#64
Update README API example to show import properly per wpietri#65.
Add verify_ssl option to cli login
Merge 901 into master
Change str_to_bool func allowing for providing a CA Cert - Useful for Bumper
change str_to_bool func
Change portal url to use portal-ww instead of portal-continent, this seems to fix the issue with logging in from de. Change SetIOTMQDevices to check for device company instead of pre-defined list.
Fix de and setIOT
forgot to update the tests again...
fix lookup tests
Add retry for set token error first attempt retries as-is second attempt retries with "ww" continent
add retry for set token
`clean 0` will clean until the bot returns and is charging again - equivalent of 'auto' from the bot / app - sucks cli will execute the next command after the bot is charging again
clean until bot returns to charger
Added command line arguments pause, resume and corresponding classes. Fixed stop command, which was not working my robot. Tested with Deebot 900
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The command line options pause and resume were added and tested with a Deebot 900.
Besides the stop command was not working, which is fixed as well.