MIOT HomeMIOT Home
Xiaomi Smart Camera C300
#xiaomi.camera.c01a01

Xiaomi Smart Camera C300

urn:miot-spec-v2:device:camera:0000A01C:xiaomi-c01a01:1
版本 v2 v1
语言
Service tree
摄像机控制
#2 · camera-control
属性 8动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
图像翻转
#2 · image-rollover
格式
uint16
读写
R / W / N
0 ~ 180,步长 180
夜视功能
#3 · night-shot
格式
uint8
读写
R / W / N
0打开
1关闭
2自动
宽动态范围模式
#5 · wdr-mode
格式
bool
读写
R / W / N
微光全彩
#6 · glimmer-full-color
格式
bool
读写
R / W / N
录制模式
#7 · recording-mode
格式
uint8
读写
R / W / N
0停止录制
1一直录制
2仅录制移动
移动追踪
#8 · motion-tracking
格式
bool
读写
R / W / N
时间水印
#9 · time-watermark
格式
bool
读写
R / W / N

Actions

云台校准
#1 · ptz-calibrate
指示灯
#3 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
存储卡管理
#4 · memory-card-management
属性 4动作 2

Properties

工作状态
#1 · status
格式
uint8
读写
R / N
0空闲
1无卡
2卡满
3卡坏
4格式化中
5卡退出
6准备退出
7准备格式化
存储总空间
#2 · storage-total-space
格式
uint32
读写
R / N
0 ~ 1073741824,步长 1
存储剩余空间
#3 · storage-free-space
格式
uint32
读写
R / N
0 ~ 1073741824,步长 1
存储已用空间
#4 · storage-used-space
格式
uint32
读写
R / N
0 ~ 1073741824,步长 1

Actions

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

Properties

移动侦测
#1 · motion-detection
格式
bool
读写
R / W / N
报警时间间隔
#2 · alarm-interval
格式
uint8
读写
R / W / N
1 ~ 30,步长 1
侦测灵敏度
#3 · detection-sensitivity
格式
uint8
读写
R / W / N
0
1
移动侦测开始时间
#4 · motion-detection-start-time
格式
string
读写
R / W / N
移动侦测结束时间
#5 · motion-detection-end-time
格式
string
读写
R / W / N
P2P视频流
#6 · p2p-stream
动作 2

Actions

开始实时视频流
#1 · start-p2p-stream
停止流
#2 · stop-stream
视频流管理
#9 · camera-stream-for-google-home
属性 9动作 3

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

Actions

启动视频流
#1 · start-hls-stream
入参
#2视频编码属性uint8
出参
#5流地址string
停止流
#2 · stop-stream
读取流配置信息
#3 · get-stream-configuration
出参
#9流状态uint8#1视频编码器uint8#2视频编码属性uint8#3音频编码器uint8#4音频编码属性uint8
视频流管理
#10 · camera-stream-for-amazon-alexa
属性 9动作 3

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

Actions

启动视频流
#1 · start-rtsp-stream
入参
#2视频编码属性uint8
出参
#6流地址string#7快照string#8有效时间uint32
停止流
#2 · stop-stream
读取流配置信息
#3 · get-stream-configuration
出参
#9流状态uint8#1视频编码器uint8#2视频编码属性uint8#3音频编码器uint8#4音频编码属性uint8
扬声器
#11 · speaker
属性 2

Properties

音量
#1 · volume
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
静音
#2 · mute
格式
bool
读写
R / W / N
宝宝哭声检测(固件)
#7 · babycry-delection
属性 1

Properties

宝宝哭声算法开关
#5 · babycry-onoff
格式
bool
读写
R / N / W
智能场景IF/THEN
#8 · ai-scene
动作 1事件 5

Actions

录制并上传视频
#1 · upload-video

Events

移动事件
#1 · event-motion
有人移动
#2 · people-motion
摄像机开启夜间模式
#3 · ir-on
摄像机关闭夜间模式
#4 · ir-off
宝宝哭声事件
#5 · baby-cry