Fabian Peter Hammerle
|
b7197cbc67
pylint: enable various optional checks/extensions
|
преди 2 години |
Fabian Peter Hammerle
|
64a57aa390
add command-line option `--mqtt-topic-prefix`
|
преди 2 години |
Fabian Peter Hammerle
|
dce4e5601e
refactor: add param `mqtt_topic_prefix` to internal function `_run`
|
преди 2 години |
Fabian Peter Hammerle
|
3431242e67
add command-line option --mqtt-disable-tls (for upward compatibility; enabled by default)
|
преди 2 години |
Fabian Peter Hammerle
|
4ffe0c4023
add command-line option `--mqtt-enable-tls`
|
преди 2 години |
Fabian Peter Hammerle
|
22ef4b6299
internal function `_run`: add parameter to enable/disable TLS
|
преди 2 години |
Fabian Peter Hammerle
|
c6bc41e1c3
add additional (internal) type hints to enable mypy's strict mode
|
преди 2 години |
Fabian Peter Hammerle
|
71dd59b114
fix console entry point
|
преди 3 години |
Fabian Peter Hammerle
|
2468700b4a
refactor: move `_main` to switchbot_mqtt/_cli.py
|
преди 3 години |
Fabian Peter Hammerle
|
ef51646189
`--fetch-device-info` can now alternatively be enabled by setting env var `FETCH_DEVICE_INFO`
|
преди 3 години |
Fabian Peter Hammerle
|
de6d509bdd
change default log level from `DEBUG` to `INFO`; added option `--debug`
|
преди 3 години |
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'`)
|
преди 3 години |
Fabian Peter Hammerle
|
5dc3fc3b75
added command-line param `--device-password-file`
|
преди 3 години |
Fabian Peter Hammerle
|
57906b1176
added command-line parameter `--retries` to alter maximum number of attempts to send a command to a SwitchBot device
|
преди 3 години |
Fabian Peter Hammerle
|
44f2706bde
add support for switchbot curtain motors
|
преди 3 години |
Fabian Peter Hammerle
|
7ff05ba3f2
dev env: upgrade black
|
преди 4 години |
Fabian Peter Hammerle
|
9002166fbe
password file: fix \r\n getting replaced by \n
|
преди 4 години |
Fabian Peter Hammerle
|
5e0e2a0124
added command line parameter --mqtt-password-file
|
преди 4 години |
Fabian Peter Hammerle
|
396e3423ec
added command line parameters --mqtt-username and --mqtt-password
|
преди 4 години |
Fabian Peter Hammerle
|
050488109f
test argument parser
|
преди 4 години |