MIOT HomeMIOT Home
Xiaomi Smart Camera C201
#xiaomi.camera.c201

Xiaomi Smart Camera C201

urn:miot-spec-v2:device:camera:0000A01C:xiaomi-c201:1:0000D070
语言
Service tree
摄像机控制
#2 · camera-control
属性 10动作 2事件 2

Properties

开关
#1 · on
格式
bool
读写
R / W / N
云台控制
#2 · ptz-camera
格式
bool
读写
R / N
夜视功能
#3 · night-shot
格式
uint8
读写
R / W / N
0一直关闭
1一直打开黑白夜视
2自动切换黑白夜视
图像翻转
#4 · image-rollover
格式
uint16
读写
R / W / N
0 ~ 270,步长 90
时间水印
#5 · time-watermark
格式
bool
读写
R / W / N
微光全彩
#7 · glimmer-full-color
格式
bool
读写
R / W / N
人形追踪
#9 · human-tracking
格式
bool
读写
R / W / N
录制模式
#11 · recording-mode
格式
uint8
读写
R / W / N
0不录制
1录制移动画面
2始终录制
图像畸变矫正
#14 · image-distortion-correction
格式
bool
读写
R / W / N
设备工频
#12 · power-frequency
格式
uint8
读写
R / W / N
0自动
150
260

Actions

云台校准
#1 · ptz-calibrate
重启设备
#2 · restart-device

Events

开启夜视模式
#1 · ir-turned-on
关闭夜视模式
#2 · ir-turned-off
存储卡管理
#3 · memory-card-management
属性 5动作 2

Properties

存储卡状态
#1 · status
格式
uint8
读写
R / N
0 ~ 100,步长 1
存储卡总空间
#2 · storage-total-space
格式
uint32
读写
R / N
0 ~ 2147483648,步长 1
存储卡剩余空间
#3 · storage-free-space
格式
uint32
读写
R / N
0 ~ 2147483648,步长 1
存储卡已用空间
#4 · storage-used-space
格式
uint32
读写
R / N
0 ~ 2147483648,步长 1
弹窗是否弹出过
#5 · dialog-ejected
格式
bool
读写
R / W / N

Actions

格式化存储卡
#1 · format
弹出存储卡
#2 · pop-up
移动侦测
#5 · motion-detection
属性 5

Properties

看家助手
#1 · motion-detection
格式
bool
读写
R / W / N
移动侦测灵敏度
#3 · detection-sensitivity
格式
uint8
读写
R / W / N
0
1
2
移动侦测报警开始时间
#4 · motion-detection-start-time
格式
string
读写
R / W / N
移动侦测报警结束时间
#5 · motion-detection-end-time
格式
string
读写
R / W / N
报警时间间隔
#2 · alarm-interval
格式
uint8
读写
R / W / N
1 ~ 30,步长 1
指示灯
#4 · indicator-light
属性 1

Properties

指示灯开关
#1 · on
格式
bool
读写
R / W / N
扬声器
#6 · speaker
属性 1

Properties

音量
#1 · volume
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
AI检测
#8 · ai-detection
属性 8事件 3

Properties

人脸识别标记
#2 · identity-id
格式
string
读写
宠物检测开关
#3 · pet-detection-switch
格式
bool
读写
R / W / N
人形检测开关
#6 · human-detection
格式
bool
读写
R / W / N
画面变动检测开关
#7 · move-detection
格式
bool
读写
R / W / N
宠物种类
#9 · pets-type
格式
uint8
读写
0
1
当前时间
#12 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
宠物追踪功能开关
#22 · pet-tracking
格式
bool
读写
R / W / N
画面变动灵敏度
#31 · detection-sensitivity
格式
uint8
读写
R / W / N
0
1
2

Events

检测到宠物事件
#3 · pet-appeared
触发参数
#9宠物种类uint8#12当前时间uint32
检测到画面变动
#4 · object-motion
检测到人脸/人形事件
#5 · someone-appeared
触发参数
#2人脸识别标记string#12当前时间uint32
P2P视频流
#9 · p2p-stream
属性 10动作 3

Properties

视频编码
#1 · video-codec
格式
uint8
读写
R / N
0H264
1H265
音频编码
#2 · audio-codec
格式
uint8
读写
R / N
0G711A
1ACC
2OPUS
3PCM
录制音频位宽
#3 · audio-bit-width
格式
uint8
读写
R / N
08
116
录制音频采样率
#4 · audio-smp-rate
格式
uint8
读写
R / N
08
116
232
348
录制音频单双通道
#5 · audio-channel
格式
uint8
读写
R / N
0单声道
1双声道
对讲编码格式
#6 · talk-codec
格式
uint8
读写
R / N
0G711A
1ACC
2OPUS
3PCM
畸变纠正参数比例-宽
#7 · distortion-crt-osdx
格式
float
读写
R / N
0 ~ 1,步长 0.0001
畸变纠正参数比例-高
#8 · distortion-crt-osdy
格式
float
读写
R / N
0 ~ 1,步长 0.0001
视频画质/分辨率
#9 · resolution-types
格式
uint8
读写
R / N
1848*480
31920*1080
对讲方式
#10 · talk-mode
格式
uint8
读写
R / N
0双向对讲
1单向对讲

Actions

开始实时视频流
#1 · start-p2p-stream
停止流
#2 · stop-stream
录制视频并上传
#3 · upload-video
摄像机云服务
#14 · camera-ipc-cloud
属性 3

Properties

连续画面时长
#1 · gop-value
格式
uint8
读写
R / N
3 ~ 10,步长 1
会员分片数
#2 · vip-offset-num
格式
uint16
读写
R / N
1 ~ 600,步长 1
非会员分片数
#3 · non-vip-offset-num
格式
uint8
读写
R / N
1 ~ 3,步长 1
额外设备信息
#23 · extra-device-information
属性 1

Properties

设备二维码信息
#1 · qrcode-information
格式
string
读写
R / N
视频流管理
#24 · camera-stream-for-amazon-alexa
属性 13动作 4

Properties

视频编码器
#1 · video-codec-type
格式
uint8
读写
1H264
2MPEG
3MPEG2
4MP4
视频编码属性
#2 · video-attribute
格式
uint8
读写
11920_1080_30
21280_720_30
31024_768_30
音频编码器
#3 · audio-codec-type
格式
uint8
读写
1PCMU
2PCMA
3OPUS
4MSBC
5AMR
音频编码属性
#4 · audio-attribute
格式
uint8
读写
0Default
144100_2_16_VARIABLE
28000_1_8_CONSTANT
认证类型
#5 · authorization-type
格式
uint8
读写
0None
1Basic
2Digest
流地址
#6 · stream-address
格式
string
读写
快照
#7 · image-snapshot
格式
string
读写
有效时间
#8 · expiration-time
格式
uint32
读写
0 ~ 3600,步长 3600
流状态
#9 · stream-status
格式
uint8
读写
R / N
1Available
2In use
3Unavailable
会话ID
#10 · session-id
格式
string
读写
webrtc协议的offer参数
#11 · webrtc-offer
格式
string
读写
休眠状态参数
#12 · param-sleep-status
格式
bool
读写
摄像头索引
#13 · camera-index
格式
uint8
读写
0 ~ 10,步长 1

Actions

生成快照
#4 · take-snapshot
初始化WebRTC会话
#1 · initiate-webrtc-session
入参
#2视频编码属性uint8#10会话IDstring#11webrtc协议的offer参数string
出参
#6流地址string
连接WebRTC会话
#2 · webrtc-session-connected
入参
#10会话IDstring
断开WebRTC会话
#3 · webrtc-session-disconnected
入参
#10会话IDstring
视频流管理
#25 · camera-stream-for-google-home
属性 11动作 1

Properties

视频编码器
#1 · video-codec-type
格式
uint8
读写
1H264
2MPEG
3MPEG2
4MP4
视频编码属性
#2 · video-attribute
格式
uint8
读写
11920_1080_30
21280_720_30
31024_768_30
音频编码器
#3 · audio-codec-type
格式
uint8
读写
1PCMU
2PCMA
3OPUS
4MSBC
5AMR
音频编码属性
#4 · audio-attribute
格式
uint8
读写
0Default
144100_2_16_VARIABLE
28000_1_8_CONSTANT
流地址
#5 · stream-address
格式
string
读写
流接受者ID
#6 · stream-receiver-id
格式
string
读写
流Token
#7 · stream-auth-token
格式
string
读写
有效时间
#8 · expiration-time
格式
uint32
读写
0 ~ 3600,步长 3600
流状态
#9 · stream-status
格式
uint8
读写
R / N
1Available
2In use
3Unavailable
休眠状态参数
#10 · param-sleep-status
格式
bool
读写
摄像头索引
#11 · camera-index
格式
uint8
读写
0 ~ 10,步长 1

Actions

初始化WebRTC会话
#1 · initiate-webrtc-session
入参
#2视频编码属性uint8