MIOT HomeMIOT Home
Xiaomi Smart Camera C401
#xiaomi.camera.080ao1

Xiaomi Smart Camera C401

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

Properties

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

Actions

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

Events

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

Properties

存储卡状态
#1 · status
格式
uint8
读写
R / N
值
0良好
1无存储卡
2空间不足
3异常
4正在格式化
5存储卡已弹出
8未格式化
9容量过小
10文件异常
11不兼容
存储卡总空间
#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
值
—
剩余录制视频时长
#6 · remaining-recording-duration
格式
uint32
读写
R / N
值
0 ~ 2147483648,步长 1

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 minutes
指示灯
#4 · indicator-light
属性 1

Properties

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

Properties

音量
#1 · volume
格式
uint8
读写
R / W / N
值
0 ~ 100,步长 1 percentage
静音
#2 · mute
格式
bool
读写
R / W / N
值
—
AI检测
#8 · ai-detection
属性 9事件 6

Properties

宠物检测开关
#3 · pet-detection-switch
格式
bool
读写
R / W / N
值
—
人形检测开关
#6 · human-detection
格式
bool
读写
R / W / N
值
—
画面变动检测开关
#7 · move-detection
格式
bool
读写
R / W / N
值
—
哭声检测开关
#8 · babycry-detection-switch
格式
bool
读写
R / W / N
值
—
宠物追踪功能开关
#22 · pet-tracking
格式
bool
读写
R / W / N
值
—
画面变动灵敏度
#25 · detection-sensitivity
格式
uint8
读写
R / W / N
值
0低
1中
2高
异常声响检测开关
#26 · abnormal-sound-detection
格式
bool
读写
R / W / N
值
—
无人移动时间
#27 · no-human-time
格式
uint8
读写
值
1 ~ 60,步长 1 minutes
异常声响检测灵敏度
#28 · detection-sensitivity
格式
uint8
读写
R / W / N
值
0Low
1Middle
2High

Events

检测到宝宝哭声事件
#1 · detected-babycry-event
检测到宠物事件
#3 · pet-appeared
检测到画面变动
#4 · object-motion
检测到人脸/人形事件
#5 · someone-appeared
检测到异常声响事件
#16 · abnormal-sound
无人移动
#18 · no-human-appear
触发参数
#27无人移动时间uint8
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
值
0640*360
52560*1440
对讲方式
#10 · talk-mode
格式
uint8
读写
R / N
值
0双向对讲
1单向对讲

Actions

开始实时视频流
#1 · start-p2p-stream
停止流
#2 · stop-stream
录制视频并上传
#3 · upload-video
摄像机常看位置配置
#10 · camera-fav-area
属性 2事件 2

Properties

常看位置配置
#1 · fav-area
格式
string
读写
R / W / N
值
—
激活常看位置
#2 · active-fav-area
格式
uint8
读写
R / W / N
值
0 ~ 64,步长 1

Events

进入常看位置
#1 · into-fav-area
触发参数
#2激活常看位置uint8
离开常看位置
#2 · out-fav-area
触发参数
#2激活常看位置uint8
摄像机云服务
#14 · camera-ipc-cloud
属性 3

Properties

连续画面时长
#1 · gop-value
格式
uint8
读写
R / N
值
3 ~ 10,步长 1 seconds
会员分片数
#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
值
—
视频流管理
#26 · camera-stream-for-amazon-alexa
属性 13动作 7

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 seconds
流状态
#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

读取流配置信息
#1 · get-stream-configuration
出参
#9流状态uint8#1视频编码器uint8#2视频编码属性uint8#3音频编码器uint8#4音频编码属性uint8
启动视频流
#2 · start-rtsp-stream
入参
#2视频编码属性uint8
出参
#6流地址string#7快照string#8有效时间uint32
停止流
#3 · stop-stream
初始化WebRTC会话
#4 · initiate-webrtc-session
入参
#2视频编码属性uint8#10会话IDstring#11webrtc协议的offer参数string
出参
#6流地址string
连接WebRTC会话
#5 · webrtc-session-connected
入参
#10会话IDstring
断开WebRTC会话
#6 · webrtc-session-disconnected
入参
#10会话IDstring
生成快照
#7 · take-snapshot
视频流管理
#27 · camera-stream-for-google-home
属性 11动作 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 · stream-address
格式
string
读写
值
—
流接受者ID
#6 · stream-receiver-id
格式
string
读写
值
—
流Token
#7 · stream-auth-token
格式
string
读写
值
—
有效时间
#8 · expiration-time
格式
uint32
读写
值
0 ~ 3600,步长 3600 seconds
流状态
#9 · stream-status
格式
uint8
读写
R / N
值
1Available
2In use
3Unavailable
休眠状态参数
#10 · param-sleep-status
格式
bool
读写
值
—
摄像头索引
#11 · camera-index
格式
uint8
读写
值
0 ~ 10,步长 1

Actions

读取流配置信息
#1 · get-stream-configuration
出参
#9流状态uint8#1视频编码器uint8#2视频编码属性uint8#3音频编码器uint8#4音频编码属性uint8
初始化WebRTC会话
#2 · initiate-webrtc-session
入参
#2视频编码属性uint8
出参
#5流地址string
启动视频流
#3 · start-hls-stream
入参
#2视频编码属性uint8
出参
#5流地址string
停止流
#4 · stop-stream
家人守护功能
#24 · family-guard
属性 2事件 1

Properties

家人守护配置
#1 · family-guard-config
格式
string
读写
R / N / W
值
—
家人守护告警推送key用于服务器
#2 · clock-key
格式
string
读写
值
—

Events

long-time-no-human
#1 · long-time-no-human
触发参数
#2家人守护告警推送key用于服务器string
自检服务
#25 · self-check
属性 3动作 5事件 1

Properties

自检项
#1 · self-check-items
格式
uint8
读写
值
0Sdcard State
1Night Shot
2Restore Previous State
3Ptz Check
4Pic Detection
5Mic Loop Detection
6Power Detection
7Connection Check
8Surveillance Check
9Record Audio Replay
自检结果
#2 · self-check-results
格式
string
读写
R / N
值
—
手动检测结果
#3 · manual-check-results
格式
uint8
读写
W / R / N
值
0Normal
1Abnormal

Actions

开始自检
#1 · start-check
入参
#1自检项uint8
终止自检
#2 · stop-check
同步手动检测项及结果
#3 · sync-manual-check
入参
#1自检项uint8#3手动检测结果uint8
暂停检测
#4 · stop-check
入参
#1自检项uint8
一键修复
#5 · one-key-repair

Events

自检完成
#1 · self-check-complete