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