查看 Type-C 网卡型号
Let’s imagine you are building an online store that uses the Microservice architecture pattern and that you are implementing the product details page. You need to develop multiple versions of the product details user interface:
In addition, the online store must expose product details via a REST API for use by 3rd party applications.
A product details UI can display a lot of information about a product. For example, the Amazon.com details page for POJOs in Action displays:
Since the online store uses the Microservice architecture pattern the product details data is spread over multiple services. For example,
Consequently, the code that displays the product details needs to fetch information from all of these services.
...12 Jan 2025 Update: use https://github.com/XiaoMi/ha_xiaomi_home directly as official support
ref https://github.com/XiaoMi/ha_xiaomi_home
完成后,点击添加“HomeKit Bridge” 集成,按照指引完成添加。
需要注意的是,如果你希望桥接传感器类型的设备(如温湿度传感器),确保在“要包含的域”中勾选“Sensor”选项,这个选项默认是未勾选的。
$ virtualenv mymiio -p python3; cd mymiio/; source bin/activate; pip3 install python-miio
# upgrade python-miio
$ pip3 install python-miio --upgrade -i https://pypi.python.org/simple
# 探测所有设备
$ mirobo discover --handshake 1
# 连接设备
$ miiocli device --ip 192.168.2.192 --token 8c201e5611a03347ef1f4d30e2dac6f8 info
$ miiocli --help
Usage: miiocli [OPTIONS] COMMAND [ARGS]...
Options:
-d, --debug
-o, --output [default|json|json_pretty]
--version Show the version and exit.
--help Show this message and exit.
Commands:
...
Reference
...