Commit Graph

16 Commits

Author SHA1 Message Date
William Pietri d300df99eb Moving waiting logic to CLI. 2017-12-19 16:01:16 -08:00
Torbjörn Axelsson aab8d769aa Fixed mistake in ChargeAndWaitForCompletion command 2017-12-16 17:03:56 -08:00
Torbjörn Axelsson 66d73f7cf0 VacBotCommand class updated and more commands added 2017-12-16 15:26:57 -08:00
William Pietri d6e4f7d5c5 Events now flow to Vacbot as reasonably sane dicts. 2017-12-12 11:49:10 -08:00
William Pietri fbd3c3d85a Seeing if I can split the XMPP responsibilities from the vacuum responsibilities. 2017-12-11 16:14:52 -08:00
William Pietri 5dcb819d6a Merge pull request #14 from OverloadUT/fix-command-formatting
Fix for commands that need to be CamelCased
2017-12-09 13:16:33 -08:00
Greg Laabs b32ced6f5a Lowercase the args tag when building the command XML
The args tag is always lowercase, while the command name is Capitalized or CamelCased
2017-12-08 19:42:34 -08:00
Greg Laabs 072db977ef Stop capitilization adjustment on commands, allow None for args
The capitalization adjustment was breaking any commands that required CamelCase, such as GetChargeState. Args are not needed for commands such as GetChargeState, so the xml will no longer build that array if it's set to None.
2017-12-08 16:10:48 -08:00
Greg Laabs 53fad263b1 Save battery status to VacBot
Makes battery status available as a public property on VacBot
2017-12-08 15:27:25 -08:00
William Pietri d52dd40f6e Fixing bad merge. 2017-12-05 15:15:29 -08:00
William Pietri 7daa4c837f Extracting duplication. 2017-12-05 15:11:37 -08:00
William Pietri 0b5a4b6d51 Merge branch 'master' of https://github.com/Zenconomy/sucks into Zenconomy-master 2017-12-05 15:05:17 -08:00
William Pietri 60a74e6549 Minor tidying and removing unused instance variables. 2017-12-05 14:51:11 -08:00
Torbjörn Axelsson 84139df7a7 Implemented XMPP ping 2017-12-05 14:32:25 -08:00
Torbjörn Axelsson e1208e2dfe Added handler for error messages from bot in VacBot class 2017-12-05 10:16:25 -08:00
William Pietri 7a39d7e271 Preparing for PyPi submission. 2017-12-04 14:11:27 -08:00