Commit graph

75 commits

Author SHA1 Message Date
Robert Resch
bfba75f0ad rename logers 2022-08-24 23:25:58 +02:00
Robert Resch
6fb5e99e06 add proxy mode 2022-08-20 12:22:31 +02:00
Robert Resch
8afc17e23e add type hints 2022-08-17 11:00:07 +02:00
Robert Resch
b3fbf79290 add type hints 2022-08-17 10:29:25 +02:00
Robert Resch
b984261749 use better start message 2022-05-18 01:49:59 +02:00
Robert Resch
6b2a6549f2 fix shutdown mqtt server correctly 2022-05-18 01:39:36 +02:00
Robert Resch
3bf77ec3cb improve start stop test 2022-04-08 22:57:24 +02:00
Robert Resch
6a58d8fb7f amqtt.client is not working correctly. Using gmqtt instead 2022-03-07 12:55:59 +01:00
Robert Resch
1a1dc17648 most plugins have same response schema 2022-03-06 22:21:45 +01:00
Robert Resch
3dd905d3d5 refactor common 2022-03-06 21:24:46 +01:00
Robert Resch
2f893f17ea rename confserver to webserver 2022-03-06 19:20:10 +01:00
Robert Resch
40c972e938 remove last star import 2022-03-06 15:29:16 +01:00
Robert Resch
89f4b56859 refactor bumper_confserver_api_appsvr plugin 2022-03-06 14:14:10 +01:00
Robert Resch
3a4a70a6bb remove unused imports 2022-03-06 00:16:00 +01:00
Robert Resch
2781f5d32e remove shebangs 2022-03-06 00:04:23 +01:00
Robert Resch
4dce3c262c start refactoring confserver 2022-03-06 00:03:05 +01:00
Robert Resch
1e2d87efda improve code quality for mqtt server 2022-03-03 14:10:36 +01:00
Robert Resch
e65446515d don't expose mqtt client/broker outside the class 2022-03-03 12:11:08 +01:00
Robert Resch
f8045c3be5 update to python 3.9 2022-02-11 11:54:40 +01:00
Robert Resch
913c15ad02 fix tests 2022-02-11 10:52:21 +01:00
Robert Resch
b48d3c8ad9 fix warnings 2022-01-30 22:45:48 +01:00
Robert Resch
226f7556ce resolve mypy issue on mqttserver.py 2022-01-30 22:33:31 +01:00
Robert Resch
c999be7057 migrate from hbmqtt to amqtt 2022-01-30 19:00:51 +01:00
Robert Resch
8642990b6e use asyncio_mode = auto and fixtures for mqtt and conf server 2022-01-30 14:52:08 +01:00
Robert Resch
ccca39761c run isort 2022-01-30 12:03:53 +01:00
Robert Resch
f80737c37b run codespell 2022-01-30 12:01:40 +01:00
Robert Resch
80f778c031 run black 2022-01-30 11:53:54 +01:00
Robert Resch
57f7490c92 fix tests 2022-01-30 11:41:56 +01:00
Robert Resch
04bd6b3ef0 run pyupgrade 2022-01-30 10:33:37 +01:00
Robert Resch
bbb2700a75
delete create_certs functionality 2021-06-17 22:11:47 +02:00
Robert Resch
df36bdd29d
add new endpoints for app v2 (#116)
* add some new endpoints for app v2

* add oauth

* update EcoVacsHomeProducts
- new attribute model

* add some missing endpoints for app v2

* - use only one level subdomain urls on service list
- add status

* add new used subdomains (for europe)

* improve docker images creation as requirements are change less often

* reformat area list

* add revoke expired oauths

* add docker-compose example

* wait for mqtt start fixes #107

* make images even smaller by copying only required folders instead of all (.git,...)

* fix exception during logging

* return fail if we can't get clean logs

* improve docker docs. Thanks for the hit @Bustel

* fix body not json serializable

* add docker-compose example in separate folder
2021-06-05 09:06:18 -04:00
Brian Martin
e4130e4626 re-enable log_all_requests
re-enable log_all_request
- with excludelogging for internal
2020-01-03 14:24:26 -05:00
Brian Martin
70fdfdb1b3 helperbot get_msg
- moved get_msg handler from helperbot to broker
2020-01-03 14:23:37 -05:00
Brian Martin
6da98acdad fix tests
- added kwargs for mqttserver init
  - passwd_file and allow_anonymous

- removed unused tests and sleeps
2020-01-03 08:57:02 -05:00
Brian Martin
cb693b5cf6 sleep a bit
tests work locally, seeing if added sleeps fix CI
2020-01-03 01:43:56 -05:00
Brian Martin
63e0620f0c add remove bot and client 2020-01-03 01:33:31 -05:00
Brian Martin
2d5e4e17a0 Update test_confserver.py
-fix tests, missing xmpp server for base
2020-01-02 09:21:15 -05:00
Brian Martin
0a2276d953 Add sniffing and developing notes
Add sniffing and developing notes
2020-01-01 17:00:39 -05:00
Brian Martin
75aa74f39c
Merge branch 'master' into extend-confserver-logging 2019-12-30 16:01:06 -05:00
Brian Martin
5219ab06ab Add tests and fix restart mqtt
Add tests and fix restart mqtt
2019-12-30 15:53:40 -05:00
Brian Martin
d504a248fb Update gitignore to add passwd in tests
Update gitignore to add passwd in tests
2019-12-30 11:54:03 -05:00
Brian Martin
2fbfd4188a add tests for file auth
add tests for file auth
2019-12-30 11:36:38 -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
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
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
40d4af3f80 fixing the broken tests
leftover helperbot= in tests causing failures....
2019-06-20 08:59:15 -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
0b38562b4a
Merge branch 'master' into docker 2019-06-15 00:12:45 -05:00