Commit Graph

196 Commits

Author SHA1 Message Date
bittles 724e167114 change ping schedule from 30s to 300s
decrease calls to robot, see if this is contributing to battery use
2023-01-02 22:56:34 -05:00
bittles cf817145a0 more code cleanup, no need to handle differences if server_address defined or not
mustve fixed init at some point, whatever, it works
2023-01-02 22:54:48 -05:00
bittles 066cc5bf7b code cleanup and more searching 2023-01-02 22:41:04 -05:00
bittles aea75338f6 some init logging to catch whether bumper or sucks is handling pings 2023-01-02 22:28:22 -05:00
bittles cd4c8069bc typo 2023-01-02 22:18:08 -05:00
bittles 43a9cef3b7 try ping? unsure how to register handlers 2023-01-02 22:14:28 -05:00
bittles 42356582cc remove what i think are some unneeded changes 2023-01-02 20:19:37 -05:00
bittles 0d95ef7fac Merge pull request #1 from bittles/master
change xmpp ping from 30 to 300s to not spam robot, add ifs for mqtt …
2023-01-02 19:55:04 -05:00
bittles a9bd4d2d48 change xmpp ping from 30 to 300s to not spam robot, add ifs for mqtt or xmpp robot 2023-01-02 19:54:11 -05:00
bittles f9899bbf0d Delete sucksbumper.py.save 2023-01-02 19:32:51 -05:00
bittles c6a11b47b6 more hacs stuff 1.3.3 2023-01-02 19:27:03 -05:00
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