diff --git a/atom.xml b/atom.xml index 71ce2cedd8..77165b52b3 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index a419933c76..b2342a56b2 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 0475e791c6..564cf50a79 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 27dfc64cde..2175b41380 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index cd2459ef81..1f792eea7b 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index e8f04ab457..971c3b90ce 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index b2fdb8b1c7..a2b37cc846 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index ab099ac1f6..387e7f4daa 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index d76080a84f..0f64c8844e 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index b0fe3fbaa4..2e7d2136df 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 59eaa5a0e3..a57765fab3 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 87ff8ec1d8..fc46f5fa16 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index f09733aa0c..e7470a608b 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index ce4ff16c8f..2425e6499e 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index d6e3eab9be..2ceabf61a3 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 1e3b405494..c762956685 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 990e79e3a8..be9694e5ac 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index a2a60193b0..059ef5e969 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 5dedf0209b..49f27f9713 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 7ac955ec22..bb29a89362 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 1445a9dfde..cf52975ad4 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 069db7fa08..089d8a19bd 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 7f51f0c316..b6ae89799a 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 3589a9a5ba..e75819f29f 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-08-26T11:44:42+00:00 + 2017-08-26T12:50:28+00:00 https://home-assistant.io/ diff --git a/components/xiaomi/index.html b/components/xiaomi/index.html index 5f6da59a68..a738e86fc7 100644 --- a/components/xiaomi/index.html +++ b/components/xiaomi/index.html @@ -178,8 +178,22 @@ gw_mac: xxxxxxxxxxxx +

Troubleshooting

+

Connection problem

+
2017-08-20 16:51:19 ERROR (SyncWorker_0) [homeassistant.components.xiaomi] No gateway discovered
+2017-08-20 16:51:20 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi: Component failed to initialize.
+
+
+

That means that Home Assistant is not getting any response from your Xiaomi gateway. Might be a local network problem or your firewall.

+
    +
  • Make sure you have enabled LAN access: https://community.home-assistant.io/t/beta-xiaomi-gateway-integration/8213/1832
  • +
  • Turn off the firewall on the system where Home Assistant is running
  • +
  • Try to leave the MAC address mac: blank.
  • +
  • Try to set discovery_retry: 10
  • +
  • Try to disable and then enable LAN access
  • +

Retrieving the Access Token

-

Follow the pairing process using your phone and Mi-Home app. You will be able to retrieve the token from a SQLite file inside your phone. This token is needed for using various xiaomi platforms.

+

Follow the pairing process using your phone and Mi-Home app. You will be able to retrieve the token from a SQLite file inside your phone. This token is needed for using various xiaomi_* platforms.

Before you begin you need to install libffi-dev by running the command below. This is needed for python-mirobi to be installed correctly.

$ sudo apt-get install libffi-dev
 
@@ -238,20 +252,6 @@
  • Extract this file: /raw data/com.xiami.mihome/1234567_mihome.sqlite to your computer, where _1234567_ is any string of numbers.
  • Open the SQLite database with a tool like SQLite Manager extension for FireFox or DB Browser. You will then see the list of all the devices in your account with their token. The token you need is in the column ZToken and looks like 123a1234567b12345c1d123456789e12.
  • -

    Troubleshooting

    -

    Connection problem

    -
    2017-08-20 16:51:19 ERROR (SyncWorker_0) [homeassistant.components.xiaomi] No gateway discovered
    -2017-08-20 16:51:20 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi: Component failed to initialize.
    -
    -
    -

    That means that Home Assistant is not getting any response from your Xiaomi gateway. Might be a local network problem or your firewall.

    -
      -
    • Make sure you have enabled LAN access: https://community.home-assistant.io/t/beta-xiaomi-gateway-integration/8213/1832
    • -
    • Turn off the firewall on the system where Home Assistant is running
    • -
    • Try to leave the MAC address mac: blank.
    • -
    • Try to set discovery_retry: 10
    • -
    • Try to disable and then enable LAN access
    • -