更新 README.md
This commit is contained in:
parent
44ca0897d7
commit
19e29cbae4
127
README.md
127
README.md
@ -1,5 +1,5 @@
|
|||||||
![Logo](admin/mihome.png)
|
![Logo](admin/mihome.png)
|
||||||
# yunkong2 mihome Adapter
|
# 适用于小米米家居智能家居的适配器
|
||||||
==============
|
==============
|
||||||
|
|
||||||
[![NPM version](http://img.shields.io/npm/v/yunkong2.mihome.svg)](https://www.npmjs.com/package/yunkong2.mihome)
|
[![NPM version](http://img.shields.io/npm/v/yunkong2.mihome.svg)](https://www.npmjs.com/package/yunkong2.mihome)
|
||||||
@ -7,43 +7,45 @@
|
|||||||
|
|
||||||
[![NPM](https://nodei.co/npm/yunkong2.mihome.png?downloads=true)](https://nodei.co/npm/yunkong2.mihome/)
|
[![NPM](https://nodei.co/npm/yunkong2.mihome.png?downloads=true)](https://nodei.co/npm/yunkong2.mihome/)
|
||||||
|
|
||||||
## Requirements
|
## 要求
|
||||||
### Android (copied from [here](http://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)) )
|
### Android (copied from [here](http://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)) )
|
||||||
You first need to enable local network functions by using the Android Mi Home
|
您首先需要使用Android Mi Home应用程序https://play.google.com/store/apps/details?id=com.xiaomi.smarthome
|
||||||
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 under settings -> Locale - at time of writing this seems to be required.
|
|
||||||
- Mainland China and language can set on English
|
- 在Android设备上安装应用程序
|
||||||
- Select your Gateway in Mi Home
|
- 确保将您所在的地区设置为:中国大陆设置 - >区域设置 - 在撰写本文时,似乎需要这样做。
|
||||||
- Then the 3 dots at the top right of the screen
|
- 中国大陆和语言可以用英语
|
||||||
- Then click on about
|
- 在Mi Home中选择您的网关
|
||||||
- Tap the version (2.27 is the current Android version as of 2 June 2017) number at the bottom of the screen repeatedly
|
- 然后是屏幕右上角的3个点
|
||||||
- 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! \]
|
- 然后点击about
|
||||||
- Choose the first new option
|
- 重复点击屏幕底部的版本(2.27是2017年6月2日当前的Android版本)编号
|
||||||
- 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.
|
- 您现在应该看到以英语列出的2个额外选项(在早期版本中是中文),直到您现在启用开发人员模式。[如果不再尝试所有步骤!]
|
||||||
- If you change here something, you lose your password!
|
- 选择第一个新选项
|
||||||
|
- 然后点击第一个切换开关以启用LAN功能。记下密码(截图中为29p9i40jeypwck38)。确保按下确定按钮(取消按钮右侧)以保存更改。
|
||||||
|
- 如果您在这里更改某些内容,则会丢失密码!
|
||||||
|
|
||||||
![android](img/mihome-settings.png)
|
![android](img/mihome-settings.png)
|
||||||
|
|
||||||
### iOS
|
### iOS
|
||||||
You first need to enable local network functions by using the [iOS Mi Home App iosApp Mi](https://itunes.apple.com/fr/app/%E7%B1%B3%E5%AE%B6-%E7%B2%BE%E5%93%81%E5%95%86%E5%9F%8E-%E6%99%BA%E8%83%BD%E7%94%9F%E6%B4%BB/id957323480?mt=8)
|
您首先需要使用iOS Mi Home App iosApp Mi 在iOS设备上安装应用程序来启用本地网络功能:
|
||||||
Install the App on a iOS device:
|
|
||||||
- Make sure you set your region to: Mainland China under settings -> 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!
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
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.
|
|
||||||
|
|
||||||
### Supported devices
|
- 确保将您的地区设置为:中国大陆设置 - >区域设置 - 目前需要。
|
||||||
|
- 中国大陆和语言可以用英语
|
||||||
|
- 在Mi Home中选择您的网关
|
||||||
|
- 然后是屏幕右上角的3个点
|
||||||
|
- 然后点击about
|
||||||
|
- 重复点击Tutorial菜单(在空白部分)
|
||||||
|
- 您现在应该看到中文列出的3个额外选项,直到您现在启用开发人员模式。[如果不再尝试所有步骤!]
|
||||||
|
- 选择第二个新选项
|
||||||
|
- 然后点击第一个切换开关以启用LAN功能。记下密码(截图中为29p9i40jeypwck38)。确保按下确定按钮(取消按钮右侧)以保存更改。
|
||||||
|
- 如果您在这里更改某些内容,则会丢失密码!
|
||||||
|
|
||||||
|
## 用法
|
||||||
|
您可以使用温度传感器上的小按钮来触发“双按”事件。只需在5秒钟内按两次。您可以在设置中设置此间隔,但不要将其设置超过10秒。
|
||||||
|
|
||||||
|
### 支持的设备
|
||||||
|
|
||||||
- gateway - Xiaomi RGB Gateway
|
- gateway - Xiaomi RGB Gateway
|
||||||
- sensor_ht - Xiaomi Temperature/Humidity
|
- sensor_ht - Xiaomi Temperature/Humidity
|
||||||
@ -82,68 +84,3 @@ You can use small button on temperature sensor to trigger "double Press" event.
|
|||||||
### 1.2.3 (2018-10-23)
|
### 1.2.3 (2018-10-23)
|
||||||
- (goohnie) New wall switch was added
|
- (goohnie) New wall switch was added
|
||||||
|
|
||||||
### 1.2.0 (2018-10-12)
|
|
||||||
- (bluefox) refactoring
|
|
||||||
|
|
||||||
### 1.1.2 (2018-10-08)
|
|
||||||
- (bluefox) New button switch was added
|
|
||||||
|
|
||||||
### 1.1.1 (2018-09-23)
|
|
||||||
- (bluefox) Fixed the creation of new devices
|
|
||||||
|
|
||||||
### 1.1.0 (2018-09-13)
|
|
||||||
- (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
|
|
||||||
|
|
||||||
### 1.0.7 (2018-06-25)
|
|
||||||
- (bluefox) The heartbeat timeout and the re-connection interval settings were added
|
|
||||||
|
|
||||||
### 1.0.6 (2018-05-26)
|
|
||||||
- (bluefox) Added new Aqara cube sensor
|
|
||||||
|
|
||||||
### 1.0.5 (2018-03-05)
|
|
||||||
- (bluefox) Xiaomi Aqara Wall Switch LN Double was added
|
|
||||||
|
|
||||||
### 1.0.4 (2018-01-21)
|
|
||||||
- (bluefox) The alarm state was fixed.
|
|
||||||
|
|
||||||
### 1.0.3 (2018-01-21)
|
|
||||||
- (bluefox) Invalid temperature values will be ignored
|
|
||||||
|
|
||||||
### 1.0.2 (2018-01-14)
|
|
||||||
- (bluefox) Ignore unknown state of sensors
|
|
||||||
|
|
||||||
### 1.0.0 (2018-01-05)
|
|
||||||
- (bluefox) Do not overwrite the names
|
|
||||||
- (bluefox) Ready for Admin3
|
|
||||||
|
|
||||||
### 0.3.3 (2017-11-26)
|
|
||||||
- (bluefox) Allow multiple mihome gateways
|
|
||||||
|
|
||||||
### 0.2.4 (2017-11-04)
|
|
||||||
- (bluefox) Add aqara water sensor
|
|
||||||
|
|
||||||
### 0.2.3 (2017-09-22)
|
|
||||||
- (bluefox) Remove "." from id of the device
|
|
||||||
|
|
||||||
### 0.2.2 (2017-08-01)
|
|
||||||
- (bluefox) Set after 300ms doublePress to false by Temperature Sensor\nAllow control of Plug
|
|
||||||
|
|
||||||
### 0.2.1 (2017-07-29)
|
|
||||||
- (bluefox) Implement double click on temperature sensor
|
|
||||||
|
|
||||||
### 0.2.0 (2017-07-18)
|
|
||||||
- (bluefox) fix battery level
|
|
||||||
|
|
||||||
### 0.1.4 (2017-06-09)
|
|
||||||
- (bluefox) add cube
|
|
||||||
- (bluefox) remove voltage by gateway
|
|
||||||
|
|
||||||
### 0.1.1 (2017-06-06)
|
|
||||||
- (bluefox) Initial commit
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
MIT
|
|
||||||
|
|
||||||
Copyright (c) 2017-2018 bluefox <dogafox@gmail.com>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user