Created
January 2, 2020 00:40
-
-
Save marcelrv/20509106e97b4c7dd8c9056aefda2332 to your computer and use it in GitHub Desktop.
Xiaomi MI OT links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://miot-spec.org/miot-spec-v2/instances?status=all | |
http://miot-spec.org/miot-spec-v2/instances?status=debug | |
http://miot-spec.org/miot-spec-v2/instances?status=released | |
and for example air purifier 3 cn (zhimi.airpurifier.ma4) | |
https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-ma4:1 | |
http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:light:0000A001:philips-bulb:1 | |
http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:fan:0000A005:zhimi-sa1:1 | |
http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:light:0000A001:philips-sread1:1 | |
http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:vacuum:0000A006:rockrobo-v1:1 | |
other queries | |
Type | |
DeviceType | |
http://miot-spec.org/miot-spec-v2/spec/devices | |
ServiceType | |
http://miot-spec.org/miot-spec-v2/spec/services | |
PropertyType | |
http://miot-spec.org/miot-spec-v2/spec/properties | |
ActionType | |
http://miot-spec.org/miot-spec-v2/spec/actions | |
EventType | |
http://miot-spec.org/miot-spec-v2/spec/events | |
DeviceType | |
http://miot-spec.org/miot-spec-v2/spec/device?type=urn:miot-spec-v2:device:light:0000A001 | |
ServiceType | |
http://miot-spec.org/miot-spec-v2/spec/service?type=urn:miot-spec-v2:service:fan:00007808 | |
PropertyType | |
http://miot-spec.org/miot-spec-v2/spec/property?type=urn:miot-spec-v2:property:on:00000006 | |
ActionType | |
http://miot-spec.org/miot-spec-v2/spec/action?type=urn:miot-spec-v2:action:play:0000280B | |
https://github.com/MiEcosystem/miot-spec-doc/ | |
https://translate.google.com/translate?sl=zh-CN&tl=en&u=https%3A%2F%2Fiot.mi.com%2Fnew%2Fdoc%2F02-%25E5%25BC%2580%25E5%258F%2591%25E8%2580%2585%25E9%25A1%25BB%25E7%259F%25A5%2F02-%25E5%25B0%258F%25E7%25B1%25B3IoT%25E5%258D%258F%25E8%25AE%25AE%25E8%25A7%2584%25E8%258C%2583%2F04-%25E5%25AE%259E%25E4%25BE%258B%25E5%25AE%259A%25E4%25B9%2589.html | |
https://github.com/Yeelight/miot-api | |
e.g. All outlets | |
http://www.miot-spec.org/instance/devices?name=outlets | |
http://miot-spec.org/instance/devices?vendor=yeelink | |
http://miot-spec.org/instance/devices | |
Vacuum examples | |
http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:vacuum:0000A006:rockrobo-v1:1 | |
not all devices support miot spec, prob your cgllc is one of those.
For older devices, typically not all commands are suported but a subset of the commands may be supported by the miot spec.
You can recognise this as these commands can't be send directly to the device, but instead, need to be send to the cloud and the Xiaomi cloud will do the translation to the device commands.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here the complete list of all devices out there...
https://miot-spec.org/miot-spec-v2/instances
Every instance in that list can be brought up by replacing the "/instances" part with "/instance?type=" and then the instance in the page i provided.