Fabian Peter Hammerle
|
64a57aa390
add command-line option `--mqtt-topic-prefix`
|
%!s(int64=2) %!d(string=hai) anos |
Fabian Peter Hammerle
|
dce4e5601e
refactor: add param `mqtt_topic_prefix` to internal function `_run`
|
%!s(int64=2) %!d(string=hai) anos |
Fabian Peter Hammerle
|
3431242e67
add command-line option --mqtt-disable-tls (for upward compatibility; enabled by default)
|
%!s(int64=2) %!d(string=hai) anos |
Fabian Peter Hammerle
|
4ffe0c4023
add command-line option `--mqtt-enable-tls`
|
%!s(int64=2) %!d(string=hai) anos |
Fabian Peter Hammerle
|
22ef4b6299
internal function `_run`: add parameter to enable/disable TLS
|
%!s(int64=2) %!d(string=hai) anos |
Fabian Peter Hammerle
|
c6bc41e1c3
add additional (internal) type hints to enable mypy's strict mode
|
%!s(int64=2) %!d(string=hai) anos |
Fabian Peter Hammerle
|
71dd59b114
fix console entry point
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
2468700b4a
refactor: move `_main` to switchbot_mqtt/_cli.py
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
ef51646189
`--fetch-device-info` can now alternatively be enabled by setting env var `FETCH_DEVICE_INFO`
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
de6d509bdd
change default log level from `DEBUG` to `INFO`; added option `--debug`
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
90d274d00c
added option `--fetch-device-info` to toggle reporting of curtain motor's position (can't enable by default due to `bluepy.btle.BTLEManagementError: Failed to execute management command 'le on'`)
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
5dc3fc3b75
added command-line param `--device-password-file`
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
57906b1176
added command-line parameter `--retries` to alter maximum number of attempts to send a command to a SwitchBot device
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
44f2706bde
add support for switchbot curtain motors
|
%!s(int64=3) %!d(string=hai) anos |
Fabian Peter Hammerle
|
7ff05ba3f2
dev env: upgrade black
|
%!s(int64=4) %!d(string=hai) anos |
Fabian Peter Hammerle
|
9002166fbe
password file: fix \r\n getting replaced by \n
|
%!s(int64=4) %!d(string=hai) anos |
Fabian Peter Hammerle
|
5e0e2a0124
added command line parameter --mqtt-password-file
|
%!s(int64=4) %!d(string=hai) anos |
Fabian Peter Hammerle
|
396e3423ec
added command line parameters --mqtt-username and --mqtt-password
|
%!s(int64=4) %!d(string=hai) anos |
Fabian Peter Hammerle
|
050488109f
test argument parser
|
%!s(int64=4) %!d(string=hai) anos |