[miio] update readme (#9014)
* [miio] update readme Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -30,7 +30,8 @@ The binding needs a token from the Xiaomi Mi Device in order to be able to contr
|
||||
The binding can retrieve the needed tokens from the Xiaomi cloud.
|
||||
Go to the binding config page and enter your cloud username and password.
|
||||
The server(s) to which your devices are connected need to be entered as well.
|
||||
Use the one of the regional servers: ru,us,tw,sg,cn,de. Multiple servers can be separated with comma, or leave blank to test all known servers.
|
||||
Use the one of the regional servers: cn,de,i2,tw,ru,sg,us.
|
||||
Multiple servers can be separated with comma, or leave blank to test all known servers.
|
||||
|
||||
## Tokens without cloud access
|
||||
|
||||
@@ -50,7 +51,8 @@ Note. The Xiaomi devices change the token when inclusion is done. Hence if you g
|
||||
## Binding Configuration
|
||||
|
||||
No binding configuration is required. However to enable cloud functionality enter your Xiaomi username, password and server(s).
|
||||
The list of the known countries and related severs is [here](#Country-Servers)
|
||||
The list of the known countries and related severs is [here](#Country-Servers).
|
||||
|
||||
After successful Xiaomi cloud login, the binding will use the connection to retrieve the required device tokens from the cloud.
|
||||
For Xiaomi vacuums the map can be visualized in openHAB using the cloud connection.
|
||||
|
||||
@@ -100,10 +102,10 @@ Besides the regular configuration (like ip address, token) the modelId needs to
|
||||
Normally the modelId is populated with the model of your device, however in this case, use the modelId of a similar device.
|
||||
Look at the openHAB forum, or the openHAB GitHub repository for the modelId of similar devices.
|
||||
|
||||
## Supported property test
|
||||
## Supported property test for unsupported devices
|
||||
|
||||
The unsupported device has a test channel with switch. When switching on, all known properties are tested, this may take few minutes.
|
||||
A test report will be shown in the log and is saved in the userdata/miio folder.
|
||||
A test report will be shown in the log and is saved in the `userdata/miio` folder with a filename `test-[your model]-[timestamp].txt`.
|
||||
If supported properties are found, an experimental database file is saved to the conf/misc/miio folder (see below chapter).
|
||||
The thing will go offline and will come back online as basic device, supporting the found channels.
|
||||
The database file may need to be modified to display the right channel names.
|
||||
@@ -250,6 +252,7 @@ Additionally depending on the capabilities of your robot vacuum other channels m
|
||||
### <a name="Country-Servers">Country Servers</a>
|
||||
|
||||
Known country Servers: cn, de, i2, ru, sg, us
|
||||
|
||||
Mapping of countries in mihome app to server:
|
||||
|
||||
| Country | Country Code | Server |
|
||||
|
||||
Reference in New Issue
Block a user