You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a new integration, `genericmiot`, that uses the miotspec
files to provide support for all miot devices that can be controlled
over local network.
Copy file name to clipboardExpand all lines: README.rst
+53-24Lines changed: 53 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,13 @@ This library (and its accompanying cli tool) can be used to interface with devic
9
9
Getting started
10
10
---------------
11
11
12
-
If you already have a token for your device and the device type, you can directly start using `miiocli` tool.
13
-
If you don't have a token for your device, refer to `Getting started <https://python-miio.readthedocs.io/en/latest/discovery.html>`__ section of `the manual <https://python-miio.readthedocs.io>`__ for instructions how to obtain it.
12
+
The ``miiocli`` command allows controlling supported devices from the command line,
13
+
given that you know their IP addresses and tokens.
14
+
You can use ``miiocli cloud`` command to obtain this information from the cloud.
15
+
Refer to `Getting started <https://python-miio.readthedocs.io/en/latest/discovery.html>`__ section of `the manual <https://python-miio.readthedocs.io>`__ for more detailed instructions.
14
16
15
-
The `miiocli` is the main way to execute commands from command line.
16
-
You can always use `--help` to get more information about the available commands.
17
-
For example, executing it without any extra arguments will print out options and available commands::
17
+
You can always use ``--help`` to get more information about available commands, subcommands, and their options.
18
+
For example, to print out options and available commands::
18
19
19
20
$ miiocli --help
20
21
Usage: miiocli [OPTIONS] COMMAND [ARGS]...
@@ -28,7 +29,7 @@ For example, executing it without any extra arguments will print out options and
28
29
airconditioningcompanion
29
30
..
30
31
31
-
You can get some information from any miIO/MIoT device, including its device model, using the `info` command::
32
+
You can get some information from any miIO/MIoT device, including its device model, using the ``info`` command::
32
33
33
34
miiocli device --ip <ip> --token <token> info
34
35
@@ -38,8 +39,28 @@ You can get some information from any miIO/MIoT device, including its device mod
0 commit comments