Brian Martin
5bf202189d
Return 500 errors for command timeout
...
Bumper was returning an invalid errno when a command for MQTT would timeout. Change to return a 500 errno with a debug message.
Closes #31
2019-05-21 10:13:21 -04:00
Brian Martin
38f31a8e69
Update README.md
2019-05-20 22:59:08 -04:00
Brian Martin
8c5f603e15
Merge pull request #29 from bmartin5692/support-ecovacs-home
...
Support ecovacs home app
2019-05-20 22:16:47 -04:00
Brian Martin
5d8977d0cb
Merge pull request #28 from bmartin5692/dev
...
Add --listen arg
2019-05-20 21:59:51 -04:00
Brian Martin
25a7be6fc6
Logs and fixes
...
- Fix for username
- Cleaning log loads stats, but no logs
- This is broken without Bumper as well, maybe we can fix it as a TODO later it seems to be doing server-side processing unlike the Ecovacs app.
2019-05-20 12:45:13 -04:00
Brian Martin
734d1cee79
Initial Support
...
Initial Support for EcoVacs Home app.
- Login and most commands/controls work
2019-05-20 09:01:27 -04:00
Brian Martin
4d0d4d8f7a
Update README.md
2019-05-16 21:45:12 -04:00
Brian Martin
d5449961f3
Add --listen arg
...
A system with multiple nics had an issue with selecting the right IP to listen on.
Add --listen command-line arg.
Usage:
run_bumper.py --listen ip.address
2019-03-20 08:05:02 -04:00
Brian Martin
a0721d7f79
Merge pull request #19 from bmartin5692/dev
...
Update to xmpplogging
2019-03-19 09:07:09 -04:00
Brian Martin
d9c5b5ee27
Update to xmpplogging
...
Move some connection related exceptions to debug log.
- Rename run_bumper to start_bumper and fix in README.
2019-03-19 08:58:56 -04:00
Brian Martin
5acc71b38c
Merge pull request #18 from bmartin5692/dev
...
Fix hardcoded IP
2019-03-18 23:48:28 -04:00
Brian Martin
9980e34717
Fix hardcoded IP
...
Fix hardcoded IP
2019-03-18 23:45:32 -04:00
Brian Martin
e37eeef78a
Merge pull request #17 from bmartin5692/dev
...
Remove contextvar
2019-03-18 23:43:11 -04:00
Brian Martin
059b405869
Merge branch 'dev' of https://github.com/bmartin5692/bumper into dev
2019-03-18 23:40:08 -04:00
Brian Martin
386f04c831
Merge pull request #16 from bmartin5692/dev
...
Tests and CI
2019-03-18 23:39:03 -04:00
Brian Martin
f29c9a70ff
Create appveyor.yml
2019-03-18 23:33:35 -04:00
Brian Martin
d2a95f0168
Update .travis.yml
2019-03-18 23:23:28 -04:00
Brian Martin
ccbfc2d58f
Update .travis.yml
2019-03-18 23:18:55 -04:00
Brian Martin
70b88a4e26
Create .travis.yml
2019-03-18 23:16:30 -04:00
Brian Martin
5efd5112a2
Cleanup remaining contextvar
...
Remove remaining context vars
Fix minor formatting
Rename bumper.py to run_bumper.py to remove conflict with module name
2019-03-18 13:13:38 -04:00
Brian Martin
a1ff95cc23
Add session to mqtt
...
Add session to mqtt
2019-03-17 11:35:52 -04:00
Brian Martin
4080f0f950
More confserver tests
...
More confserver tests, coverage 75%
2019-03-17 11:02:53 -04:00
Brian Martin
5392bef74f
Additional tests for confserver
...
Additional tests for confserver
2019-03-15 09:05:54 -04:00
Brian Martin
747eeda4a5
Start adding tests for confserver
...
Start adding tests for confserver
2019-03-14 09:35:37 -04:00
Brian Martin
616729e97f
full coverage for init
...
full coverage for init
- 100% coverage of db operations
2019-03-13 21:07:29 -04:00
Brian Martin
9580687aea
Merge pull request #15 from bmartin5692/tests
...
first test
2019-03-11 23:18:42 -04:00
Brian Martin
4d4f0f4e40
Merge branch 'master' into tests
2019-03-11 23:18:23 -04:00
Brian Martin
98b65bb808
first test
...
first test
2019-03-11 23:14:50 -04:00
Brian Martin
1f16249f28
Merge pull request #14 from bmartin5692/dev
...
update pyyaml to address vulnerability
2019-03-11 21:48:00 -04:00
Brian Martin
34136f4fbf
update pyyaml to address vulnerability
...
update pyyaml to address vulnerability
2019-03-11 21:47:12 -04:00
Brian Martin
d7e73d7621
Merge pull request #13 from bmartin5692/dev
...
update gitignore and reformat files with black
2019-03-11 21:34:08 -04:00
Brian Martin
af3e4ab1ce
reformat files with black
...
reformat files with black
2019-03-11 21:32:55 -04:00
Brian Martin
028399c496
Update gitignore, pipfile
...
Update gitignore, pipfile
2019-03-11 21:25:05 -04:00
Brian Martin
6e6f664857
Merge pull request #12 from bmartin5692/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2019-03-11 21:12:28 -04:00
Brian Martin
ae21ed16ca
Create CODE_OF_CONDUCT.md
2019-03-11 21:12:15 -04:00
Brian Martin
2e59568744
Update issue templates
2019-03-11 21:10:27 -04:00
Brian Martin
5869b423d3
Merge pull request #11 from bmartin5692/tinydb
...
Tinydb added
2019-03-11 21:05:17 -04:00
Brian Martin
d6e853158c
Fix revoke expired and remove disconnected
...
Fix revoke expired and remove disconnected
2019-03-11 21:01:47 -04:00
Brian Martin
09e41cbc6e
Move tokens to new table
...
Move tokens to new table
- Authcode linked to token
2019-03-11 10:34:15 -04:00
Brian Martin
6994f5ae5e
Remove old tokens and authcodes
...
Remove old tokens and authcodes
2019-03-09 10:45:45 -05:00
Brian Martin
8806e804f0
Updated confserver
...
Updated confserver to use tinydb and set users, tokens, authcodes
2019-03-03 10:28:52 -05:00
Brian Martin
a4fec85717
WIP: Bot and Client
...
- Using tinydb
- Bot and clients tracked in db
2019-03-02 16:33:56 -05:00
Brian Martin
6da029af6b
Merge pull request #9 from bmartin5692/Ozmo930
...
Ozmo930
2019-02-27 09:10:14 -05:00
Brian Martin
0f48d37103
Add Ozmo to README
2019-02-27 09:07:02 -05:00
Brian Martin
a7ce14eb9c
additional optimizations and permission handling
...
Optimizations for handling XMPP data and commands
Basic permission handling - Add fuid users to bot
- Ozmo has ACLs and an "owner", if bot comes from eco to bumper the fuid_user won't have permissions
- Bumper will add the fuid_ user to bot ACLs and grant full
- This can be used later when bumper adds proper auth to allow/block users
2019-02-27 09:05:23 -05:00
Brian Martin
af29f69a99
optimize data
...
increase buffer and split <iq earlier
2019-02-24 21:48:37 -05:00
Brian Martin
3ec51e754e
ozmo working
...
app works
- changed a number of things on XMPP side to support
2019-02-24 21:18:58 -05:00
Brian Martin
e97b28a5c8
ozmo xmpp authentication
...
ozmo auths and shows up in the app
2019-02-24 02:29:40 -05:00
Brian Martin
95b4b05633
Merge pull request #4 from bmartin5692/dev
...
Beginning bumper's new journey
2019-02-22 08:34:24 -05:00
Brian Martin
7c40df4c27
Update README.md
2019-02-22 08:32:03 -05:00