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 роки тому |