185 Commits

Author SHA1 Message Date
bittles cbac201d0d Update manifest.json 1.3.2 2023-01-02 19:20:58 -05:00
bittles 8d7aa5c582 add to do 1.3.1 2023-01-02 19:14:31 -05:00
bittles 0a2c296ef2 formatting 2023-01-02 19:12:44 -05:00
bittles d4afaceb62 add hacs support, bump version number, update readme 2023-01-02 19:11:56 -05:00
bittles b80f63252b Update README.md 1.3.0 2023-01-02 18:36:06 -05:00
bittles 32ede1c978 overwrite sucks init to show changes 2023-01-02 18:30:02 -05:00
bittles 9a4481ae5f add custom component from main branch 2023-01-02 18:22:04 -05:00
Brian Martin 33d864b3a5 Merge pull request #15 from bmartin5692/add-CleanAuto
clean until bot returns to charger
2019-07-03 07:51:21 -05:00
Brian Martin 2a2b0c419c clean until bot returns to charger
`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
2019-07-03 08:48:25 -04:00
Brian Martin eafccb64e6 Merge pull request #14 from bmartin5692/fix_setToken
add retry for set token
2019-06-17 08:35:13 -05:00
Brian Martin dba6f56a28 add retry for set token
Add retry for set token error
first attempt retries as-is
second attempt retries with "ww" continent
2019-06-17 09:33:12 -04:00
Brian Martin ded517b4a4 Merge pull request #12 from bmartin5692/fix-de
fix lookup tests
2019-06-15 14:09:58 -05:00
Brian Martin 25f806d1f6 fix lookup tests
forgot to update the tests again...
2019-06-15 15:08:51 -04:00
Brian Martin 56308ac0ec Merge pull request #10 from bmartin5692/fix-de
Fix de and setIOT
2019-06-15 13:21:53 -05:00
Brian Martin 9d9ebf379f Fix de and setIOT
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.
2019-06-15 14:21:12 -04:00
Brian Martin a14a294ae7 Merge pull request #9 from bmartin5692/bumper-certs
change str_to_bool func
2019-06-14 08:14:02 -05:00
Brian Martin 054f401590 Merge branch 'master' into bumper-certs 2019-06-14 08:13:55 -05:00
Brian Martin 3c9c834e34 change str_to_bool func
Change str_to_bool func allowing for providing a CA Cert - Useful for Bumper
2019-06-14 09:11:52 -04:00
Brian Martin 813c6206ea Merge pull request #7 from bmartin5692/pr/6
Pr/6
2019-06-14 07:30:27 -05:00
Brian Martin 4b47e8e0ef Merge branch 'master' into pr/6 2019-06-14 07:25:04 -05:00
William Pietri 304c0b4e80 Merge pull request #67 from OverloadUT/fix-certificate-issues
Swap to SleekXMPP-FS, a fork built specifically for sucks
2019-04-24 01:33:07 +00:00
Greg Laabs f137a7e79b Swap tests to sleekxmppfs as well 2019-04-18 11:18:38 -07:00
Greg Laabs 9d5a1d2aa1 Swap to SleekXMPP-FS, a fork built specifically for sucks
This fork of SleekXMPP disables certificate validation to work around #62 and #45

This fix should be seen as a temporary hack until we figure out a long term solution.
2019-04-18 10:14:22 -07:00
Brian Martin 3e1efae8ef Merge pull request #4 from bmartin5692/D901
Merge 901 into master
2019-03-18 23:02:54 -04:00
Brian Martin 5fda81e183 Add verify_ssl to cli login
Add verify_ssl option to cli login
2019-03-18 22:55:23 -04:00
Brian Martin 6da9a96441 Update README API example
Update README API example to show import properly per #65.
2019-03-18 22:45:34 -04:00
Brian Martin 79f9d679bf Update protocol.md with mopping setting
Add SetWaterPermeability setting to protocol.md - #64
2019-03-18 22:42:16 -04:00
Brian Martin 70ecd776c8 Removing test made on assumptions
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.
2019-03-13 20:35:15 -04:00
Brian Martin 3942e22205 Add D600 to iotmqdevices
Add D600 (dl8fht) to iotmqdevices - CR: Fredric Palmgren
2019-03-13 20:24:30 -04:00
Brian Martin e4848cb4d8 Fix failing test
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.
2019-02-28 09:20:29 -05:00
Brian Martin 91e3f3d577 fix failing tests?
Is 3.5 failing because of a space?
2019-02-28 08:49:05 -05:00
Brian Martin 3dbaccd2e8 Update test_ecovacs_xmpp.py
Remove failing python 3.5 test for now
2019-02-27 23:29:21 -05:00
Brian Martin f0aef139af Merge pull request #3 from bmartin5692/Ozmo930
Ozmo930 working
2019-02-27 23:03:36 -05:00
Brian Martin c37ebdd794 Ozmo930 working
- 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
2019-02-25 09:50:20 -05:00
Brian Martin 0fa5fe4aae Update protocol.md
Update protocol.md to reflect changes to CLI area command.
2019-02-20 20:51:34 -05:00
Brian Martin b7341b0735 Update SpotArea
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
2019-02-20 10:45:24 -05:00
Brian Martin bfca7e9e82 Merge pull request #2 from ecpunk/patch-1
Update setup.py
2019-02-19 07:31:16 -05:00
Jon 7fac965ff1 Update setup.py
Added paho-mqtt dependency.
2019-02-19 02:12:43 -05:00
Brian Martin 6c31e0752d add comments and cleanup 2019-02-18 22:22:38 -05:00
Brian Martin f1257b80d0 format updates 2019-02-18 21:45:09 -05:00
Brian Martin 6b23d8553e Add SpotArea details 2019-02-18 21:37:49 -05:00
Brian Martin ab303710a7 Update protocol.md 2019-02-18 21:26:49 -05:00
Brian Martin 597129dda0 Combine MQTT and IOT into IOTMQ
Combined MQTT and IOT into IOTMQ
Updated tests - now with 99% coverage for __init__
2019-02-18 17:44:41 -05:00
Brian Martin 9919baad27 more tests 2019-02-16 02:54:39 -05:00
Brian Martin 409b04b713 add tests 2019-02-16 02:19:13 -05:00
Brian Martin 94a7844f78 Fix spot area clean
Fix spot area clean
2019-02-15 22:27:47 -05:00
Brian Martin b0bf467aa4 stop printing positiion updates
stop printing positiion updates
2019-02-08 02:12:54 -05:00
Brian Martin 5d6df85ed6 Fix custom commands
Fix for custom commands with multiple inner tags
Updated tests
2019-02-08 01:43:00 -05:00
Brian Martin 57979c32bd Make ssl verification optional
Make ssl verification optional
Can be set via config manually, or used from library
2019-02-03 15:18:55 -05:00
Brian Martin 2cfa5ec26b Add ignore ssl to requests
Added verify False to requests. Needed for work on Bumper
2019-01-31 09:46:04 -05:00