Fabian Peter Hammerle
|
ed7f106a95
document new birth & last will message in readme & changelog; extend tests; refactor
|
2 years ago |
Fabian Peter Hammerle
|
64a57aa390
add command-line option `--mqtt-topic-prefix`
|
2 years ago |
Fabian Peter Hammerle
|
3431242e67
add command-line option --mqtt-disable-tls (for upward compatibility; enabled by default)
|
2 years ago |
Fabian Peter Hammerle
|
d9ed83a845
send command to set curtain motors' position
|
2 years ago |
Fabian Peter Hammerle
|
7b25b3a3ec
update & report device info when receiving msg on `homeassistant/{switch/switchbot,cover/switchbot-curtain}/MAC_ADDRESS/request-device-info` (requires `--fetch-device-info`)
|
3 years ago |
Fabian Peter Hammerle
|
ef51646189
`--fetch-device-info` can now alternatively be enabled by setting env var `FETCH_DEVICE_INFO`
|
3 years ago |
Fabian Peter Hammerle
|
32c3391404
report battery level of button automators on expected topic `homeassistant/switch/switchbot/MAC_ADDRESS/battery-percentage` (commit 4feeb7a56d99d2a3b3649c027a150157d2678b2c introduced report on unexpected topic)
|
3 years ago |
Fabian Peter Hammerle
|
4feeb7a56d
report button automator's battery level in topic `homeassistant/cover/switchbot/MAC_ADDRESS/battery-percentage` after every command
|
3 years ago |
Fabian Peter Hammerle
|
32c2b2364f
report curtain motor's battery level in topic `homeassistant/cover/switchbot-curtain/MAC_ADDRESS/battery-percentage` after every command
|
3 years ago |
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 years ago |
Fabian Peter Hammerle
|
717ab31d1a
readme: move mqtt auth section
|
3 years ago |
Fabian Peter Hammerle
|
5dc3fc3b75
added command-line param `--device-password-file`
|
3 years ago |
Fabian Peter Hammerle
|
ac664f4655
readme / home assistant: added cover configuration
|
3 years ago |
Fabian Peter Hammerle
|
44f2706bde
add support for switchbot curtain motors
|
3 years ago |
Fabian Peter Hammerle
|
5f7ed542c9
docker: add env vars $MQTT_HOST/PORT/USERNAME/PASSWORD
|
4 years ago |
Gautam Korlam
|
a807e3d07e
Add docker compose support
|
4 years ago |
Fabian Peter Hammerle
|
5e0e2a0124
added command line parameter --mqtt-password-file
|
4 years ago |
Fabian Peter Hammerle
|
ce8cf8c8bf
publish new state to homeassistant/switch/switchbot/MAC_ADDRESS/state on success
|
4 years ago |
Fabian Peter Hammerle
|
db971b354b
readme: added link to docker hub
|
4 years ago |
Fabian Peter Hammerle
|
8c662d480c
readme: added badges
|
4 years ago |
Fabian Peter Hammerle
|
2c353a02e0
readme: added setup instructions
|
4 years ago |
Fabian Peter Hammerle
|
461d848731
readme: added rationale
|
4 years ago |
Fabian Peter Hammerle
|
094cd7a394
readme: added home assistant config snippet
|
4 years ago |
Fabian Peter Hammerle
|
623fc50691
send command to switchbot
|
4 years ago |
Fabian Peter Hammerle
|
5be02d1bf0
readme: added links to some alternatives
|
4 years ago |
Fabian Peter Hammerle
|
cb2596d32e
standard python project tech stack (pipenv, pytest, pylint etc.); mqtt connect; GPLv3+
|
4 years ago |