mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-12-16 18:32:17 +08:00
Updated Features that will not be implemented (markdown)
@@ -10,10 +10,23 @@ The camera video stream is encrypted using P2P encryption, with the encryption k
|
||||
|
||||
Devices within the vehicle interior may impact driving and therefore require higher levels of safety and privacy than ordinary IoT devices. Consequently, such devices shall not be imported into xiaomi_home which is an untrusted client.
|
||||
|
||||
## Setting multiple properties in one command message
|
||||
|
||||
MIoT-Spec-V2 protocol allows setting multiple properties in one command message. For example [yeelink.light.bslamp1](http://poc.miot-spec.srv/miot-spec-v2/instance?type=urn:miot-spec-v2:device:light:0000A001:philips-moonlight:2), you can turn on the light, set the brightness to 50% and set the color temperature to 3000K in one command message as follows:
|
||||
```json
|
||||
{"id":1234,"method":"set_properties","params":[{"did":"2262","piid":1,"siid":2,"value":true},{"did":"2262","piid":2,"siid":2,"value":50},{"did":"2262","piid":4,"siid":2,"value":3000}]}
|
||||
```
|
||||
|
||||
However, not all IoT devices support processing this type of message. Even if a device is capable of handling messages that contain multiple property settings, the number of property values it can process at one time varies from device to device. If the number of property values to be set in a single command message exceeds the device’s capability, the device may crash or exhibit other anomalies.
|
||||
|
||||
The only certainty is that all devices can handle the command message that sets only one property value. It is extremely rare for a device to function only when multiple property values are set in one command message. If the device fails to operate properly when command messages are sent one by one, with each command setting only one property, then the device does not comply with the MIoT-Spec-V2 protocol standard.
|
||||
|
||||
After weighing the pros and cons, we decide that xiaomi_home only supports sending command messages that set only one property value at a time.
|
||||
|
||||
## Vacuum robot map
|
||||
|
||||
The vacuum robot map is encrypted by a key negotiated between the Mi Home APP and the device, like the camera video stream. xiaomi_home is an untrusted client and cannot negotiate the map encryption key with the vacuum robot, so it cannot fetch the vacuum robot map.
|
||||
|
||||
## WiFi speaker conversation history
|
||||
|
||||
The conversation history is stored on the WiFi speaker service cloud, not MIoT service cloud, and it cannot be delivered by the MIoT-Spec-V2 protocol message. xiaomi_home can only access MIoT service interfaces by OAuth 2.0 token obtained from the OAuth authorization server. Wifi speaker service interfaces are not accessible with this token.
|
||||
The conversation history is stored on the WiFi speaker service cloud, not MIoT service cloud, and it cannot be delivered by the MIoT-Spec-V2 protocol message. xiaomi_home can only access MIoT service interfaces by OAuth 2.0 token obtained from the OAuth authorization server. WiFi speaker service interfaces are not accessible with this token.
|
||||
|
||||
Reference in New Issue
Block a user