{
"type":"urn:miot-spec-v2:device:sleep-monitor:0000A080:degree-smh013:1",
"description":"Sleep Monitor",
"services":[
{
"iid":1,
"type":"urn:miot-spec-v2:service:device-information:00007801:degree-smh013:1",
"description":"Device Information",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:manufacturer:00000001:degree-smh013:1",
"description":"Device Manufacturer",
"format":"string",
"access":[
"read"
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:model:00000002:degree-smh013:1",
"description":"Device Model",
"format":"string",
"access":[
"read"
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:property:serial-number:00000003:degree-smh013:1",
"description":"Device Serial Number",
"format":"string",
"access":[
"read"
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:property:firmware-revision:00000005:degree-smh013:1",
"description":"Current Firmware Version",
"format":"string",
"access":[
"read"
]
}
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:service:sleep-monitor:00007885:degree-smh013:1",
"description":"Sleep Monitor",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:sleep-state:000000C9:degree-smh013:1",
"description":"Sleep State",
"format":"uint8",
"access":[
"read",
"notify"
],
"unit":"none",
"value-list":[
{
"value":0,
"description":"Out of Bed"
},
{
"value":1,
"description":"Awake"
},
{
"value":3,
"description":"Light Sleep"
},
{
"value":4,
"description":"Deep Sleep"
},
{
"value":2,
"description":"Rapid Eye Movement"
}
]
}
]
},
{
"iid":4,
"type":"urn:degree-spec:service:sleep-info:00007801:degree-smh013:1",
"description":"sleep-info",
"properties":[
{
"iid":1,
"type":"urn:degree-spec:property:sleep-section:00000001:degree-smh013:1",
"description":"sleep-section",
"format":"string",
"access":[
"notify"
],
"unit":"none"
},
{
"iid":2,
"type":"urn:degree-spec:property:sleep-report:00000002:degree-smh013:1",
"description":"sleep-report",
"format":"string",
"access":[
"notify"
],
"unit":"none"
},
{
"iid":3,
"type":"urn:degree-spec:property:heart-chart:00000003:degree-smh013:1",
"description":"heart-chart",
"format":"string",
"access":[
"notify"
],
"unit":"none"
},
{
"iid":4,
"type":"urn:degree-spec:property:breath-chart:00000004:degree-smh013:1",
"description":"breath-chart",
"format":"string",
"access":[
"notify"
],
"unit":"none"
},
{
"iid":5,
"type":"urn:degree-spec:property:search-report:00000005:degree-smh013:1",
"description":"search-report",
"format":"string",
"access":[
"read",
"notify"
],
"unit":"none"
},
{
"iid":6,
"type":"urn:degree-spec:property:set-sleep-time:00000006:degree-smh013:1",
"description":"set-sleep-time",
"format":"string",
"access":[
"read",
"notify"
],
"unit":"none"
},
{
"iid":7,
"type":"urn:degree-spec:property:user-info:00000007:degree-smh013:1",
"description":"user-info",
"format":"string",
"access":[
"read",
"notify"
],
"unit":"none"
},
{
"iid":8,
"type":"urn:degree-spec:property:sleep-info:00000008:degree-smh013:1",
"description":"sleep-info",
"format":"string",
"access":[
"notify"
],
"unit":"none"
},
{
"iid":10,
"type":"urn:degree-spec:property:realtime-heart-rate:0000000a:degree-smh013:1",
"description":"realtime-heart-rate",
"format":"uint8",
"access":[
"read",
"notify"
],
"unit":"none",
"value-range":[
0,
255,
1
]
},
{
"iid":11,
"type":"urn:degree-spec:property:realtime-breath-rate:00000009:degree-smh013:1",
"description":"realtime-breath-rate",
"format":"uint8",
"access":[
"read",
"notify"
],
"unit":"none",
"value-range":[
0,
255,
1
]
},
{
"iid":12,
"type":"urn:degree-spec:property:realtime-sleepstage:0000000b:degree-smh013:1",
"description":"realtime-sleepstage",
"format":"uint8",
"access":[
"read",
"notify"
],
"unit":"none",
"value-range":[
0,
255,
1
]
},
{
"iid":13,
"type":"urn:degree-spec:property:user-info-down:0000000c:degree-smh013:1",
"description":"user-info-down",
"format":"string",
"access":[
"write"
],
"unit":"none"
},
{
"iid":14,
"type":"urn:degree-spec:property:set-sleep-time-down:0000000d:degree-smh013:1",
"description":"set-sleep-time-down",
"format":"string",
"access":[
"write"
],
"unit":"none"
},
{
"iid":15,
"type":"urn:degree-spec:property:fast-update-switch:0000000e:degree-smh013:1",
"description":"fast-update-switch",
"format":"bool",
"access":[
"write"
],
"unit":"none"
},
{
"iid":16,
"type":"urn:degree-spec:property:linkage-sleepstage:0000000f:degree-smh013:1",
"description":"linkage-sleepstage",
"format":"uint8",
"access":[
"read",
"notify"
],
"unit":"none",
"value-range":[
0,
255,
1
]
},
{
"iid":17,
"type":"urn:degree-spec:property:linkage-warning:00000010:degree-smh013:1",
"description":"linkage-warning",
"format":"uint8",
"access":[
"read",
"notify"
],
"unit":"none",
"value-range":[
0,
255,
1
]
},
{
"iid":18,
"type":"urn:degree-spec:property:gen-report:00000011:degree-smh013:1",
"description":"gen-report",
"format":"bool",
"access":[
"write"
],
"unit":"none"
},
{
"iid":19,
"type":"urn:degree-spec:property:search-report-today:00000012:degree-smh013:1",
"description":"search-report-today",
"format":"uint8",
"access":[
"read",
"notify"
],
"unit":"none",
"value-range":[
0,
5,
1
]
}
]
}
]
}