MQTT client controlling SwitchBot button automators & curtain motors, compatible with Home Assistant 🐳
GPL-3.0 License
Published by fphammerle about 2 years ago
homeassistant/switchbot-mqtt/status
instead of topichomeassistant/switchbot_mqtt/status
.Published by fphammerle about 2 years ago
homeassistant/switchbot-mqtt/status
Correction: Inadvertently publishing on homeassistant/switchbot_mqtt/status
instead of documented homeassistant/switchbot-mqtt/status
. Topic will be fixed in next release.
Published by fphammerle over 2 years ago
ValueError: too many values to unpack
when connecting to MQTT broker via IPv6Published by fphammerle over 2 years ago
--mqtt-topic-prefix
Published by fphammerle over 2 years ago
--mqtt-enable-tls
--mqtt-disable-tls
(enabled by default)--mqtt-enable-tls
nor --mqtt-disable-tls
Published by fphammerle over 2 years ago
homeassistant/cover/switchbot-curtain/MAC_ADDRESS/position/set-percent
[0, 100]
)PySwitchbot
v0.11.0
and v0.12.0
python3.6
homeassistant/cover/switchbot/+/battery-percentage
homeassistant/switch/switchbot/+/battery-percentage
instead, see v2.1.0
)Published by fphammerle about 3 years ago
homeassistant/switch/switchbot/MAC_ADDRESS/request-device-info
homeassistant/cover/switchbot-curtain/MAC_ADDRESS/request-device-info
trigger--fetch-device-info
.Published by fphammerle about 3 years ago
homeassistant/switch/switchbot/MAC_ADDRESS/battery-percentage
.--fetch-device-info
can alternatively be enabled by assigning a non-empty valueFETCH_DEVICE_INFO
Published by fphammerle about 3 years ago
--fetch-device-info
enables battery level reports on topicshomeassistant/cover/{switchbot,switchbot-curtain}/MAC_ADDRESS/battery-percentage
--debug
to change log level to DEBUG
DEBUG
to INFO
--debug
)python3.5
Published by fphammerle about 3 years ago
--fetch-device-info
enables reporting of curtain motors'homeassistant/cover/switchbot-curtain/MAC_ADDRESS/position
Published by fphammerle about 3 years ago
--device-password-file
Published by fphammerle over 3 years ago
--retries
to alter maximum number of attempts to send a commandpipenv install
into two stages to speed up image buildschmod
files copied from host to no longer require o=rX
perms on hostpodman build
--force
flag to rm
invocation to avoid interactive questions while running podman build
Published by fphammerle almost 4 years ago
OPEN
, CLOSE
, and STOP
on topic homeassistant/cover/switchbot-curtain/aa:bb:cc:dd:ee:ff/set
paho-mqtt
to no longer suppress exceptions occuring in mqtt callbackschown
workaround for inter-stage copyPublished by fphammerle almost 4 years ago
MQTT_HOST
, MQTT_PORT
, MQTT_USERNAME
& MQTT_PASSWORD
)Published by fphammerle over 4 years ago
Published by fphammerle over 4 years ago
--mqtt-password-file
pipenv
failing to create cachePublished by fphammerle over 4 years ago
homeassistant/switch/switchbot/MAC_ADDRESS/state
on successPublished by fphammerle over 4 years ago
--mqtt-username
and --mqtt-password
SWITCHBOT_MQTT_VERSION
Published by fphammerle over 4 years ago