Android (copied from here )
You first need to enable local network functions by using the Android Mi Home App https://play.google.com/store/apps/details?id=com.xiaomi.smarthome :
- Install the App on a Android device
- Make sure you set your region to:
Mainland China
undersettings -> Locale
- at time of writing this seems to be required. - Mainland China and language can set on English
- Select your Gateway in
Mi Home
- Then the 3 dots at the top right of the screen
- Then click on about
- Tap the version (2.27 is the current Android version as of 2 June 2017) number at the bottom of the screen repeatedly
- You should see now 2 extra options listed in English (was Chinese in earlier versions) until you did now enable the developer mode. [ if not try all steps again! ]
- Choose the first new option
- Then tap the first toggle switch to enable LAN functions. Note down the password (
29p9i40jeypwck38
in the screenshot). Make sure you hit the OK button (to the right of the cancel button) to save your changes. - If you change here something, you lose your password!
You first need to enable local network functions by using the iOS Mi Home App iosApp Mi Install the App on a iOS device:
- Make sure you set your region to:
Mainland China
undersettings -> Locale
- required for the moment. Mainland China
and language can set on English- Select your Gateway in Mi Home
- Then the 3 dots at the top right of the screen
- Then click on about
- Tap under Tutorial menu(on the blank part) repeatedly
- You should see now 3 extra options listed in Chinese until you did now enable the developer mode. [ if not try all steps again! ]
- Choose the second new option
- Then tap the first toggle switch to enable LAN functions. Note down the password (
29p9i40jeypwck38
in the screenshot). Make sure you hit the OK button (to the right of the cancel button) to save your changes. - If you change here something, you lose your password!
You can use small button on temperature sensor to trigger double Press
event. Just press twice within 5 seconds. You can set this interval in settings, but do not set it over 10 seconds.
In case of device does not recognized by its Model name it is possible to try to add device using SID. Currently it is applicable for Aqara 2 channels relay control module which has empty model name due to some problems in Gateway firmware.
In order to add device by SID, open DEVICE SID
tab in adapter settings and specify SID and device name from the supported devices list below.
For Aqara relay module it should be specified like this:
gateway
- Xiaomi RGB Gatewaysensor_ht
- Xiaomi Temperature/Humidityweather.v1
- Xiaomi Temperature/Humidity/Pressureswitch
- Xiaomi Wireless Switchsensor_switch.aq2
- Xiaomi Aqara Wireless Switch Sensorsensor_switch.aq3
- Xiaomi Aqara Wireless Switch Sensorplug
- Xiaomi Smart Plug86plug
- Xiaomi Smart Wall Plug86sw2
- Xiaomi Wireless Dual Wall Switch86sw1
- Xiaomi Wireless Single Wall Switchnatgas
- Xiaomi Mijia Honeywell Gas Alarm Detectorsmoke
- Xiaomi Mijia Honeywell Fire Alarm Detectorctrl_ln1
- Xiaomi Aqara 86 Fire Wall Switch One Buttonctrl_ln1.aq1
- Xiaomi Aqara Wall Switch LNctrl_ln2
- Xiaomi 86 zero fire wall switch double keyctrl_ln2.aq1
- Xiaomi Aqara Wall Switch LN double keyctrl_neutral2
- Xiaomi Wired Dual Wall Switchctrl_neutral1
- Xiaomi Wired Single Wall Switchcube
- Xiaomi Cubesensor_cube.aqgl01
- Xiaomi Cubemagnet
- Xiaomi Door Sensorsensor_magnet.aq2
- Xiaomi Aqara Door Sensorcurtain
- Xiaomi Aqara Smart Curtainmotion
- Xiaomi Motion Sensorsensor_motion.aq2
- Xiaomi Aqara Motion Sensorsensor_wleak.aq1
- Xiaomi Aqara water sensorctrl_ln2.aq1
- Xiaomi Aqara Wall Switch LN (Double)remote.b286acn01
- Xiaomi Aqara Wireless Remote Switch (Double Rocker)remote.b1acn01
- Xiaomi Aqara Wireless Remote Switchvibration
- Xiaomi vibration Sensorwleak1
- Xiaomi Aqara Water Sensorlock_aq1
- Xiaomi Lockrelay.c2acn01
- Aqara 2 channels relay control module (using SID number)
- (Diginix) Fixed calculation for sensor's battery percentage
- (algar42) Ability to add devices with missing model by their SID (e.g. for Aqara two-channel relay)
- (Diginix) Fixed pressure range and values of Aqara weather sensor
- (SchumyHao) Change curtain and gateway light role that making them can be detected by type-detector
- (SchumyHao) Add several devices support for protocol 2.0.x
- (Diginix) Improved calculation for sensor's battery percentage
- (Vanwards) Added long click for Aquara wall switch
- (SchumyHao) Add Chinese support
- (goohnie) New wall switch was added
- (bluefox) refactoring
- (bluefox) New button switch was added
- (bluefox) Fixed the creation of new devices
- (bluefox) New devices added: sensor_switch.aq3, ctrl_ln1.aq1, ctrl_ln2.aq1, sensor_cube.aqgl01, remote.b286acn01, vibration, wleak1, lock_aq1
- (bluefox) Names will be taken from gateway
- (bluefox) The heartbeat timeout and the re-connection interval settings were added
- (bluefox) Added new Aqara cube sensor
- (bluefox) Xiaomi Aqara Wall Switch LN Double was added
- (bluefox) The alarm state was fixed.
- (bluefox) Invalid temperature values will be ignored
- (bluefox) Ignore unknown state of sensors
- (bluefox) Do not overwrite the names
- (bluefox) Ready for Admin3
- (bluefox) Allow multiple mihome gateways
- (bluefox) Add aqara water sensor
- (bluefox) Remove "." from id of the device
- (bluefox) Set after 300ms doublePress to false by Temperature Sensor\nAllow control of Plug
- (bluefox) Implement double click on temperature sensor
- (bluefox) fix battery level
- (bluefox) add cube
- (bluefox) remove voltage by gateway
- (bluefox) Initial commit
MIT
Copyright (c) 2017-2020 bluefox [email protected]