Skip to content

Commit 290d364

Browse files
committed
Some more improvements
1 parent b21fb7a commit 290d364

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

source/_components/xiaomi.markdown

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ What's not available?
4646

4747
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)
4848

49+
50+
51+
4952
To enable Xiaomi gateway in your installation, add the following to your `configuration.yaml` file:
5053

5154
### {% linkable_title One Gateway %}
@@ -84,7 +87,7 @@ xiaomi:
8487
Configuration variables:
8588
8689
- **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.
8891
- **discovery_retry** (*Optional*): Amount of times Home Assitant should try to reconnect to the Xiaomi Gateway. Default is 3.
8992
- **interface** (*Optional*): Which network interface to use. Defaults to any.
9093
@@ -95,7 +98,7 @@ The gateway provides two services: `xiaomi.play_ringtone` and `xiaomi.stop_ringt
9598
- alarm ringtones [0-8]
9699
- doorbell ring [10-13]
97100
- 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
99102

100103
Automation example
101104

@@ -127,7 +130,7 @@ Automation example
127130
gw_mac: xxxxxxxxxxxx
128131
```
129132

130-
### {% linkable_title Troubleshooting %}
133+
### {% linkable_title Troubleshooting %}
131134

132135
**Connection problem**
133136

@@ -138,7 +141,7 @@ Automation example
138141

139142
That means that Home Assistant is not getting any response from your Xiaomi gateway. Might be a local network problem or your firewall.
140143
- 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
145+
- Try to leave the MAC address `mac:` blank.
143146
- Try to set `discovery_retry: 10`
144147
- Try to disable and then enable LAN access

0 commit comments

Comments
 (0)