{"type":"urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-mb4:2","description":"Air Purifier","services":[{"iid":1,"type":"urn:miot-spec-v2:service:device-information:00007801:zhimi-mb4:1","description":"Device Information","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:manufacturer:00000001:zhimi-mb4:1","description":"Device Manufacturer","format":"string","access":["read"]},{"iid":2,"type":"urn:miot-spec-v2:property:model:00000002:zhimi-mb4:1","description":"Device Model","format":"string","access":["read"]},{"iid":3,"type":"urn:miot-spec-v2:property:serial-number:00000003:zhimi-mb4:1","description":"Device Serial Number","format":"string","access":["read"]},{"iid":4,"type":"urn:miot-spec-v2:property:firmware-revision:00000005:zhimi-mb4:1","description":"Current Firmware Version","format":"string","access":["read"]}]},{"iid":2,"type":"urn:miot-spec-v2:service:air-purifier:00007811:zhimi-mb4:1","description":"Air Purifier","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:on:00000006:zhimi-mb4:1","description":"Switch Status","format":"bool","access":["read","write","notify"]},{"iid":2,"type":"urn:miot-spec-v2:property:fault:00000009:zhimi-mb4:1","description":"Device Fault","format":"string","access":["read","notify"],"unit":"none"},{"iid":4,"type":"urn:miot-spec-v2:property:mode:00000008:zhimi-mb4:1","description":"Mode","format":"uint8","access":["read","write","notify"],"unit":"none","value-list":[{"value":0,"description":"Auto"},{"value":1,"description":"Sleep"},{"value":2,"description":"Favorite"}]}]},{"iid":3,"type":"urn:miot-spec-v2:service:environment:0000780A:zhimi-mb4:1","description":"Environment","properties":[{"iid":4,"type":"urn:miot-spec-v2:property:pm2.5-density:00000034:zhimi-mb4:1","description":"PM2.5 Density","format":"uint16","access":["read","notify"],"unit":"none","value-range":[0,600,1]}]},{"iid":4,"type":"urn:miot-spec-v2:service:filter:0000780B:zhimi-mb4:1","description":"Filter","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:filter-life-level:0000001E:zhimi-mb4:1","description":"Filter Life Level","format":"uint8","access":["read","notify"],"unit":"percentage","value-range":[0,100,1]},{"iid":3,"type":"urn:miot-spec-v2:property:filter-used-time:00000048:zhimi-mb4:1","description":"Filter Used Time","format":"uint16","access":["read","notify"],"unit":"hours","value-range":[0,65000,1]}],"actions":[{"iid":1,"type":"urn:miot-spec-v2:action:reset-filter-life:00002803:zhimi-mb4:1","description":"Reset Filter Life","in":[3],"out":[]}]},{"iid":6,"type":"urn:miot-spec-v2:service:alarm:00007804:zhimi-mb4:1","description":"Alarm","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:alarm:00000012:zhimi-mb4:1","description":"Alarm","format":"bool","access":["read","write","notify"]}]},{"iid":7,"type":"urn:miot-spec-v2:service:screen:00007806:zhimi-mb4:1","description":"Screen","properties":[{"iid":2,"type":"urn:miot-spec-v2:property:brightness:0000000D:zhimi-mb4:1","description":"Brightness","format":"uint8","access":["read","write","notify"],"unit":"none","value-range":[0,8,1]}]},{"iid":8,"type":"urn:miot-spec-v2:service:physical-controls-locked:00007807:zhimi-mb4:1","description":"Physical Control Locked","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:physical-controls-locked:0000001D:zhimi-mb4:1","description":"Physical Control Locked","format":"bool","access":["read","write","notify"]}]},{"iid":9,"type":"urn:zhimi-spec:service:custom-service:00007801:zhimi-mb4:1","description":"custom-service","properties":[{"iid":1,"type":"urn:zhimi-spec:property:moto-speed-rpm:00000001:zhimi-mb4:1","description":"moto-speed-rpm","format":"uint16","access":["read","notify"],"unit":"none","value-range":[0,65535,1]},{"iid":2,"type":"urn:zhimi-spec:property:miio-lib-version:00000002:zhimi-mb4:1","description":"miio-lib-version","format":"string","access":["read","notify"],"unit":"none"},{"iid":3,"type":"urn:zhimi-spec:property:favorite-speed:00000003:zhimi-mb4:1","description":"","format":"uint16","access":["read","notify","write"],"unit":"none","value-range":[300,2200,1]},{"iid":4,"type":"urn:zhimi-spec:property:aqi-updata-heartbeat:00000004:zhimi-mb4:1","description":"","format":"int32","access":["write","read","notify"],"unit":"seconds","value-range":[0,65534,1]}],"events":[{"iid":1,"type":"urn:zhimi-spec:event:fault-motor-stuck:00005001:zhimi-mb4:1","description":"fault-motor-stuck","arguments":[]},{"iid":2,"type":"urn:zhimi-spec:event:childlock-trigger:00005002:zhimi-mb4:1","description":"childlock-trigger","arguments":[]},{"iid":3,"type":"urn:zhimi-spec:event:door-opened:00005003:zhimi-mb4:1","description":"door-opened","arguments":[]},{"iid":4,"type":"urn:zhimi-spec:event:filter-exhausted:00005004:zhimi-mb4:1","description":"filter-exhausted","arguments":[]},{"iid":5,"type":"urn:zhimi-spec:event:filter-reset:00005005:zhimi-mb4:1","description":"filter-reset","arguments":[]},{"iid":6,"type":"urn:zhimi-spec:event:aqi-sensor-error:00005006:zhimi-mb4:1","description":"aqi-sensor-error","arguments":[]}]}]}