Commit graph

261 commits

Author SHA1 Message Date
Brian Martin
97a53656eb
Merge pull request #68 from bmartin5692/feature-57
add image for bots in ecovacs home
2019-12-27 11:56:39 -05:00
Brian Martin
18f3a807f1 add image for bots in ecovacs home
add endpoint for /api/pim/file/get so an image is displayed for bots in the ecovacs home app
2019-12-27 11:51:31 -05:00
Brian Martin
3aefbe2fd8
Merge pull request #67 from bmartin5692/fix-66
create passwd file if it doesnt exist
2019-12-27 11:19:09 -05:00
Brian Martin
cc16a5ceb5 create passwd file if it doesnt exist
create passwd file if it doesnt exist
2019-12-27 11:12:13 -05:00
Brian Martin
b3215b74f6
Merge pull request #63 from aharter/docs/android-certificate
Add certificate instructions for Android 7 and up
2019-12-17 17:26:55 -05:00
Andreas Harter
91c70ccb3f Add certificate instructions for Android 7 and up 2019-12-17 18:30:23 +01:00
Brian Martin
d28eac632e
Merge pull request #60 from bmartin5692/fix-docker-#59
Fix docker #59
2019-11-22 15:10:06 -05:00
Brian Martin
d99e1c281c Update appveyor.yml 2019-11-22 15:04:50 -05:00
Brian Martin
7aec175588 Update Dockerfile 2019-11-22 14:59:23 -05:00
Brian Martin
4ac3dbb19f
Merge pull request #56 from bmartin5692/fix-55
handle #55
2019-10-19 15:10:03 -04:00
Brian Martin
e690436a37 handle #55
Better handling if a bot is missing a DID, which could be a corrupt or outdated database.
2019-10-19 15:06:08 -04:00
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