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: source/_components/xiaomi.markdown
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,9 @@ What's not available?
46
46
47
47
Follow the setup process using your phone and Mi Home app. From here you will be able to retrieve the key from within the app following [this tutorial](https://community.home-assistant.io/t/beta-xiaomi-gateway-integration/8213/1832)
48
48
49
+
50
+
51
+
49
52
To enable Xiaomi gateway in your installation, add the following to your `configuration.yaml` file:
50
53
51
54
### {% linkable_title One Gateway %}
@@ -84,7 +87,7 @@ xiaomi:
84
87
Configuration variables:
85
88
86
89
- **mac** (*Optional*): The MAC of your gateway. Required if you have more than one.
87
-
- **key** (*Optional*): The key of your gateway. Required if you also want to control lights and switches; sensors and binary sensors will still work.
90
+
- **key** (*Optional*): The key of your gateway. Required if you also want to control lights and switches. Sensors and binary sensors will still work.
88
91
- **discovery_retry** (*Optional*): Amount of times Home Assitant should try to reconnect to the Xiaomi Gateway. Default is 3.
89
92
- **interface** (*Optional*): Which network interface to use. Defaults to any.
90
93
@@ -95,7 +98,7 @@ The gateway provides two services: `xiaomi.play_ringtone` and `xiaomi.stop_ringt
95
98
- alarm ringtones [0-8]
96
99
- doorbell ring [10-13]
97
100
- alarm clock [20-29]
98
-
- custom ringtones (uploaded by mi home app) starting from 10001
101
+
- custom ringtones (uploaded by the Mi Home app) starting from 10001
99
102
100
103
Automation example
101
104
@@ -127,7 +130,7 @@ Automation example
127
130
gw_mac: xxxxxxxxxxxx
128
131
```
129
132
130
-
### {% linkable_title Troubleshooting %}
133
+
### {% linkable_title Troubleshooting %}
131
134
132
135
**Connection problem**
133
136
@@ -138,7 +141,7 @@ Automation example
138
141
139
142
That means that Home Assistant is not getting any response from your Xiaomi gateway. Might be a local network problem or your firewall.
140
143
- Make sure you have enabled LAN access: https://community.home-assistant.io/t/beta-xiaomi-gateway-integration/8213/1832
141
-
- Turn off the firewall on the HA computer
142
-
- Try to leave the mac address blank.
144
+
- Turn off the firewall on the system where Home Assistant is running
0 commit comments