Commit graph

350 commits

Author SHA1 Message Date
Brian Martin
b604a4d214 fix ecovacshome cleanlogs
update for lg logs to support viewing cleaning logs in ecovacs home app. Tested with D901.
2019-10-13 01:14:14 -04:00
Brian Martin
abaf9ebae2 add log_all_requests middleware
Add middleware to log all request/responses to confserverlog.
2019-10-12 14:04:13 -04:00
Brian Martin
da9d2bbea7
Merge pull request #53 from bmartin5692/ozmo950
Handle json and 2 year certs
2019-10-06 16:48:49 -04:00
Brian Martin
ef79236363
Merge branch 'master' into ozmo950 2019-10-06 16:45:44 -04:00
Brian Martin
5ac6663502 fix send_command payloadType
Used toType instead of payloadType...
2019-10-01 20:20:23 -04:00
Brian Martin
e233fe933e send_command json instead of str
send_command json instead of str
2019-10-01 16:27:58 -04:00
Brian Martin
e873e22fd3 create certs valid 2 years
Update create_certs to generate certificates valid for 2 years per (https://support.apple.com/en-us/HT210176)
2019-10-01 09:57:30 -04:00
Brian Martin
729309bceb
Update README.md
Add Gitter community to README
2019-09-28 10:22:21 -04:00
Brian Martin
6876cab9a4
Merge pull request #52 from bmartin5692/diagram
Docs and diagram
2019-09-28 09:41:44 -04:00
Brian Martin
62ff086e68 Update Use_With_Sucks.md
Update Use w/ Sucks doc
2019-09-28 09:25:13 -04:00
Brian Martin
b3d950a42d Add diagram
Add diagram and update docs
2019-09-28 09:13:51 -04:00
Brian Martin
c8acac767f More MQTT Logging
MQTT Server logs routed to mqttserver.log
2019-09-27 17:25:57 -04:00
Brian Martin
2b934bb5fa Update EcoVacsHomeProducts
Update EcoVacsHomeProducts with latest map
2019-09-16 00:11:22 -04:00
Brian Martin
1fdbb055df
Update README.md 2019-06-20 22:31:08 -04:00
Brian Martin
52248d7c0e
Merge pull request #47 from bmartin5692/wip_dev
Re-org and start of API
2019-06-20 20:26:06 -05:00
Brian Martin
2663c46d52 remove a few try
remove a few try
2019-06-20 21:05:36 -04:00
Brian Martin
9be1ba8321 restart_XMPP
restart_XMPPServer
2019-06-20 20:39:45 -04:00
Brian Martin
40d4af3f80 fixing the broken tests
leftover helperbot= in tests causing failures....
2019-06-20 08:59:15 -04:00
Brian Martin
7fc7cb80cb api - restart_{service}
add restart_{service}

- restart_Helperbot
- restart_MQTTServer

- Removed a few outstanding references to threads
2019-06-20 08:48:01 -04:00
Brian Martin
58b3567887 split models and db from init
Move models into their own file
Move db functions into their own file
Update tests
2019-06-19 09:29:45 -04:00
Brian Martin
76528d1500 fix tests during wip
- Comment out test_base until api stablizes
2019-06-19 08:10:11 -04:00
Brian Martin
d541234600 add devicealert as boterror
add devicealert as boterror
2019-06-19 07:52:39 -04:00
Brian Martin
b48905b4e4 catch bot errors in log
Close #10
- New boterror log
- Works for MQTT and XMPP
2019-06-19 07:29:12 -04:00
Brian Martin
4fe7f056f4 test api
testing api pulling from db
2019-06-18 20:21:01 -04:00
Brian Martin
f0c13dc8e2 db with open
switch to using with open
2019-06-18 20:18:54 -04:00
Brian Martin
f2585b0450 Remove debug prints
Remove forgotten prints from debugging
2019-06-15 01:49:38 -04:00
Brian Martin
d236136dc0
Update README.md 2019-06-15 01:33:51 -04:00
Brian Martin
67fd5054e5
Update README.md 2019-06-15 01:31:06 -04:00
Brian Martin
8e149826c8
Merge pull request #46 from bmartin5692/docker
Docker
2019-06-15 00:15:23 -05:00
Brian Martin
0b38562b4a
Merge branch 'master' into docker 2019-06-15 00:12:45 -05:00
Brian Martin
52d192efed Update README.md 2019-06-15 01:01:04 -04:00
Brian Martin
8bb28a8b43
Update DNS_Setup.md 2019-06-14 10:13:10 -04:00
Brian Martin
e16360a29d
Update DNS_Setup.md 2019-06-14 10:05:19 -04:00
Brian Martin
6b2ed31c9e remove first run prompt - fix tests
remove first run prompt, default to generate certs
fix tests
2019-06-10 22:10:18 -04:00
Brian Martin
8ed31a1cb6
Merge pull request #45 from bmartin5692/fix-#41
Fix #41
2019-06-10 13:12:55 -05:00
Brian Martin
fa081393d2 re-build
re-build
2019-06-10 13:50:24 -04:00
Brian Martin
990a93e583 add test for create_certs args
add test for create_certs args
2019-06-10 13:49:39 -04:00
Brian Martin
d3db3e35e3 fix up paths and execution
Now works according to how the docs specify
2019-06-10 09:28:22 -04:00
Brian Martin
1e3550a5ee Make create_certs more resilient
Better error and file path handling
2019-06-10 08:56:56 -04:00
Brian Martin
07a9fa0dc8
Merge pull request #44 from bmartin5692/fix-#42
Fix command-line args
2019-06-09 20:30:31 -05:00
Brian Martin
d8b2d02ca4 remove extra listeners
removed service_listeners and using bumper_listen
2019-06-09 21:16:37 -04:00
Brian Martin
d5db3b696c dockerfile and env var
Add Dockerfile, requirement.txt, and new BUMPER_CERTS env var.
2019-06-09 20:09:35 -04:00
Brian Martin
3f44b33a0a
Update README.md 2019-06-08 17:04:24 -04:00
Brian Martin
edb6c7b5cc
Merge pull request #40 from bmartin5692/create_cert
Create cert
2019-06-08 16:02:08 -05:00
Brian Martin
4fb7b63863 Update test_z_problem.py
fix for windows tests
2019-06-08 16:55:42 -04:00
Brian Martin
b7aea02444 Update test_z_problem.py
fix bad test
2019-06-08 16:49:11 -04:00
Brian Martin
1f0e417760 no more start_bumper
remove start_bumper
- built into __main__ + __init__
- add tests
2019-06-08 16:45:52 -04:00
Brian Martin
7637dfca6e get tests to 100
get tests to 100% cov
2019-06-07 19:52:20 -04:00
Brian Martin
edf5e8e3c0 add first_run
if certs aren't in folder, ask to create with create_certs.
2019-06-07 19:16:44 -04:00
Brian Martin
b3be060760 Update README.md
Add command-line / env vars
2019-06-07 10:58:56 -04:00