You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,30 @@ Designed for ease of deployment, this solution can be run natively or as a Docke
8
8
9
9
By translating commands and status updates between SwitchBot's proprietary API and standard MQTT messages, this solution enables you to control and monitor your SwitchBot devices directly from your MQTT-enabled smart home platform. This eliminates the need for separate apps or complex workarounds, providing a unified and efficient control experience.
10
10
11
+
***Please, use version 0.1 if you would like to control your smart lock pro in a simple way***
12
+
11
13
## Usage
12
14
13
15
- Copy *.env-template* in *.env* and populate config variables according to your setup
14
16
- Follow this guide to obtain your authentication secrets: https://github.com/OpenWonderLabs/SwitchBotAPI?tab=readme-ov-file#getting-started
15
17
- Run switchbot_api2mqtt.py using your python environment OR run with docker compose
16
-
- Send commands to *MQTT_TOPIC_COMMAND* topic using an MQTT publisher
17
-
- Get response and status subscribing to *MQTT_TOPIC_STATUS* topic
18
+
- Send GET and POST call to Switchbot API to *MQTT_TOPIC_COMMAND* topic using an MQTT publisher
19
+
- Get responses subscribing to *MQTT_TOPIC_RESPONSE* topic
20
+
- Actually the *MQTT_TOPIC_STATUS* topic is not used
0 commit comments