Added a script to clean up log dumps for consumption and cut out some of the noise. Still not perfect, but useful. Also added more to the protocol documenation.

This commit is contained in:
William Pietri
2017-11-02 21:02:54 -07:00
parent ff272c87eb
commit e9d73a9caa
3 changed files with 133 additions and 4 deletions
+9 -3
View File
@@ -23,9 +23,15 @@ vacuum=[robot id]@126.ecorobot.net
I got these values by using xmppeek to do a man-in-the-middle attack on
the android app. I suspect that the Android app re-keys the connection
on a regular basis, as the secret was changing regularly up until I
cleared the Android app's data from my phone. It should be possible to
give this tool a command something like "login" that would create the config
file automatically.
cleared the Android app's data from my phone.
If you're curious about the protocol, I have [a very rough
doc](protocol.md) started. I'll happily accept pull requests for it.
Why the project name? Well, a) it's ridiculous that I needed to MITM
my own vacuum. This is not the future I signed up for. There should
be a nice, tidy RESTful API. That would be easy enough to make. And b),
it's a vacuum.
## To Do