Fabian Peter Hammerle
|
885d557c51
curtains: report position after sending stop command
|
3 gadi atpakaļ |
Fabian Peter Hammerle
|
ab364bca38
implement _CurtainMotor._report_position()
|
3 gadi atpakaļ |
Fabian Peter Hammerle
|
c6a19b7cb9
refactor _MQTTControlledActor: split method _mqtt_publish from report_state
|
3 gadi atpakaļ |
Fabian Peter Hammerle
|
607019f8fc
log subscribed mqtt topics
|
3 gadi atpakaļ |
Fabian Peter Hammerle
|
699ecd6bda
added logger name to logging format
|
3 gadi atpakaļ |
Fabian Peter Hammerle
|
44f2706bde
add support for switchbot curtain motors
|
3 gadi atpakaļ |
Fabian Peter Hammerle
|
b49dbfa18c
upgrade paho-mqtt to no longer suppress exceptions occuring in mqtt callbacks
|
3 gadi atpakaļ |
Fabian Peter Hammerle
|
7ff05ba3f2
dev env: upgrade black
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
d4294995c1
replaced variable type hint incompatible with python3.5
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
9002166fbe
password file: fix \r\n getting replaced by \n
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
5e0e2a0124
added command line parameter --mqtt-password-file
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
7fce0c4545
_report_state; adapt logging; no longer wait for publish (froze)
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
ce8cf8c8bf
publish new state to homeassistant/switch/switchbot/MAC_ADDRESS/state on success
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
396e3423ec
added command line parameters --mqtt-username and --mqtt-password
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
1cbea6d273
fixed executable name in command line help
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
421c928905
test _mqtt_on_message callback
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
040db05101
refactor: split _run from _main; added tests
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
df72a8593f
fix linter warnings
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
701ec81f1f
validate mac address
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
85f6a05fab
log outcome of sent command
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
623fc50691
send command to switchbot
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
833ef5ea8f
extract mac address from topic
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
563ffd546a
subscribe to homeassistant/switch/switchbot/+/set
|
4 gadi atpakaļ |
Fabian Peter Hammerle
|
cb2596d32e
standard python project tech stack (pipenv, pytest, pylint etc.); mqtt connect; GPLv3+
|
4 gadi atpakaļ |