
#xiaomi.camera.c302n
Xiaomi Smart Camera C302
urn:miot-spec-v2:device:camera:0000A01C:xiaomi-c302n:1:0000D070
Language
Service tree
Camera Control#2 · camera-control10 properties2 actions2 events
Camera Control
#2 · camera-control
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Ptz Camera
#2 · ptz-camera
- Format
- bool
- Access
- R / N
- Value
- —
Night Shot
#3 · night-shot
- Format
- uint8
- Access
- R / W / N
- Value
- 0Off1On2Auto
Image Rollover
#4 · image-rollover
- Format
- uint16
- Access
- R / W / N
- Value
- 0 ~ 270, step 90
Time Watermark
#5 · time-watermark
- Format
- bool
- Access
- R / W / N
- Value
- —
Glimmer Full Color
#7 · glimmer-full-color
- Format
- bool
- Access
- R / W / N
- Value
- —
Human Tracking
#9 · human-tracking
- Format
- bool
- Access
- R / W / N
- Value
- —
Recording Mode
#11 · recording-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0No Record1Motion Record2All Record
image-distortion-correction
#14 · image-distortion-correction
- Format
- bool
- Access
- R / W / N
- Value
- —
power-frequency
#12 · power-frequency
- Format
- uint8
- Access
- R / W / N
- Value
- 0auto150260
Actions
PTZ Calibrate
#1 · ptz-calibrate
Restart Device
#2 · restart-device
Events
Ir Turned On
#1 · ir-turned-on
Ir Turned Off
#2 · ir-turned-off
Memory Card Management#3 · memory-card-management5 properties2 actions
Memory Card Management
#3 · memory-card-management
Properties
Status
#1 · status
- Format
- uint8
- Access
- R / N
- Value
- 0Normal1Non Existent2Not Enough Space3Error4Formatting5Ejected8Uninitialized9Too Small10File Error11Incompatible
Storage Total Space
#2 · storage-total-space
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 2147483648, step 1
Storage Free Space
#3 · storage-free-space
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 2147483648, step 1
Storage Used Space
#4 · storage-used-space
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 2147483648, step 1
dialog-ejected
#5 · dialog-ejected
- Format
- bool
- Access
- R / W / N
- Value
- —
Actions
Format
#1 · format
Pop Up
#2 · pop-up
Motion Detection#5 · motion-detection5 properties
Motion Detection
#5 · motion-detection
Properties
Motion Detection
#1 · motion-detection
- Format
- bool
- Access
- R / W / N
- Value
- —
alarm-interval
#3 · detection-sensitivity
- Format
- uint8
- Access
- R / W / N
- Value
- 0Low1Middle2High
Motion Detection Start Time
#4 · motion-detection-start-time
- Format
- string
- Access
- R / W / N
- Value
- —
Motion Detection End Time
#5 · motion-detection-end-time
- Format
- string
- Access
- R / W / N
- Value
- —
alarm-interval
#2 · alarm-interval
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 30, step 1 minutes
Indicator Light#4 · indicator-light1 properties
Indicator Light
#4 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Speaker#6 · speaker1 properties
Speaker
#6 · speaker
Properties
Volume
#1 · volume
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 100, step 1 percentage
Ai Detection#8 · ai-detection19 properties6 events
Ai Detection
#8 · ai-detection
Properties
Identity Id
#2 · identity-id
- Format
- string
- Access
- Value
- —
Pet Detection Switch
#3 · pet-detection-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Human Detection
#6 · human-detection
- Format
- bool
- Access
- R / W / N
- Value
- —
Move Detection
#7 · move-detection
- Format
- bool
- Access
- R / W / N
- Value
- —
Babycry Detection Switch
#8 · babycry-detection-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
pets-type
#9 · pets-type
- Format
- uint8
- Access
- Value
- 0cat1dog
current-time
#12 · current-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
detection-area
#16 · detection-area
- Format
- string
- Access
- R / W / N
- Value
- —
detection-area-osd-switch
#18 · detection-area-osd-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
pet-tracking
#22 · pet-tracking
- Format
- bool
- Access
- R / W / N
- Value
- —
detection-area-switch
#24 · detection-area-switch
- Format
- bool
- Access
- R / N / W
- Value
- —
abnormal-sound-detection
#26 · abnormal-sound-detection
- Format
- bool
- Access
- R / W / N
- Value
- —
no-human-time
#27 · no-human-time
- Format
- uint8
- Access
- Value
- 1 ~ 60, step 1 minutes
Detection Sensitivity
#31 · detection-sensitivity
- Format
- uint8
- Access
- R / W / N
- Value
- 0Low1Middle2High
Detection Sensitivity
#23 · detection-sensitivity
- Format
- uint8
- Access
- R / W / N
- Value
- 0Low1Middle2High
Detection Sensitivity
#32 · detection-sensitivity
- Format
- uint8
- Access
- R / W / N
- Value
- 0Low1Middle2High
Detection Area Count
#28 · detection-area-count
- Format
- uint8
- Access
- R / N
- Value
- 1 ~ 4, step 1
Detection Area Shape
#29 · detection-area-shape
- Format
- uint8
- Access
- R / N
- Value
- 0Rectangle3Triangle4Non Rectangular Quadrilateral5Pentagon
Detection Area Support Concave
#30 · detection-area-support-concave
- Format
- bool
- Access
- R / N
- Value
- —
Events
Detected Babycry Event
#1 · detected-babycry-event
Pet Appeared
#3 · pet-appeared
Arguments
#9pets-typeuint8#12current-timeuint32
Object Motion
#4 · object-motion
Someone Appeared
#5 · someone-appeared
Arguments
#2Identity Idstring#12current-timeuint32
abnormal-sound
#16 · abnormal-sound
no-human-appear
#17 · no-human-appear
Arguments
#27no-human-timeuint8
PP Stream#9 · p2p-stream10 properties3 actions
PP Stream
#9 · p2p-stream
Properties
Video Codec
#1 · video-codec
- Format
- uint8
- Access
- R / N
- Value
- 0H2641H265
Audio Codec
#2 · audio-codec
- Format
- uint8
- Access
- R / N
- Value
- 0G711A1ACC2OPUS3PCM
Audio Bit Width
#3 · audio-bit-width
- Format
- uint8
- Access
- R / N
- Value
- 0818
Audio Smp Rate
#4 · audio-smp-rate
- Format
- uint8
- Access
- R / N
- Value
- 08116232348
Audio Channel
#5 · audio-channel
- Format
- uint8
- Access
- R / N
- Value
- 0Single Channel1Dual Channel
Talk Codec
#6 · talk-codec
- Format
- uint8
- Access
- R / N
- Value
- 0G711A1ACC2OPUS3PCM
Distortion Crt Osd X
#7 · distortion-crt-osdx
- Format
- float
- Access
- R / N
- Value
- 0 ~ 1, step 0.0001
Distortion Crt Osd Y
#8 · distortion-crt-osdy
- Format
- float
- Access
- R / N
- Value
- 0 ~ 1, step 0.0001
Resolution Types
#9 · resolution-types
- Format
- uint8
- Access
- R / N
- Value
- 148041296
Talk Mode
#10 · talk-mode
- Format
- uint8
- Access
- R / N
- Value
- 0Two Way1One Way
Actions
Start P2P Stream
#1 · start-p2p-stream
Stop Camera Stream
#2 · stop-stream
Upload Video
#3 · upload-video
Camera Ipc Cloud#14 · camera-ipc-cloud3 properties
Camera Ipc Cloud
#14 · camera-ipc-cloud
Properties
Gop Value
#1 · gop-value
- Format
- uint8
- Access
- R / N
- Value
- 3 ~ 10, step 1 seconds
Vip Offset Num
#2 · vip-offset-num
- Format
- uint16
- Access
- R / N
- Value
- 1 ~ 600, step 1
Non Vip Offset Num
#3 · non-vip-offset-num
- Format
- uint8
- Access
- R / N
- Value
- 1 ~ 3, step 1
virtual-fence#17 · virtual-fence8 properties2 events
virtual-fence
#17 · virtual-fence
Properties
virtual-fence-switch
#1 · virtual-fence-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
virtual-fence-area
#2 · virtual-fence-area
- Format
- string
- Access
- R / W / N
- Value
- —
people-fence-in
#3 · people-fence-in
- Format
- bool
- Access
- R / W / N
- Value
- —
people-fence-out
#4 · people-fence-out
- Format
- bool
- Access
- R / W / N
- Value
- —
area-count
#5 · area-count
- Format
- uint8
- Access
- R / N
- Value
- 1 ~ 4, step 1
area-shape
#6 · area-shape
- Format
- uint8
- Access
- R / N
- Value
- 0Rectangle3Triangle4A non-rectangular quadrilateral5Pentagon6Hexagon
area-support-concave
#7 · area-support-concave
- Format
- bool
- Access
- R / N
- Value
- —
area-display-switch
#8 · area-display-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Events
people-fence-in
#1 · people-fence-in
people-fence-out
#2 · people-fence-out
extra-device-information#23 · extra-device-information1 properties
extra-device-information
#23 · extra-device-information
Properties
qrcode-information
#1 · qrcode-information
- Format
- string
- Access
- R / N
- Value
- —
Camera Stream Management For Amazon Alexa#24 · camera-stream-for-amazon-alexa13 properties4 actions
Camera Stream Management For Amazon Alexa
#24 · camera-stream-for-amazon-alexa
Properties
Video Codec Type
#1 · video-codec-type
- Format
- uint8
- Access
- Value
- 1H2642MPEG3MPEG4MPEG
Video Attribute
#2 · video-attribute
- Format
- uint8
- Access
- Value
- 11920_1080_3021280_720_3031024_768_30
Audio Codec Type
#3 · audio-codec-type
- Format
- uint8
- Access
- Value
- 1PCMU2PCMA3OPUS4MSBC5AMR
Audio Attribute
#4 · audio-attribute
- Format
- uint8
- Access
- Value
- 0Default144100_2_16_VARIABLE28000_1_8_CONSTANT
Authorization Type
#5 · authorization-type
- Format
- uint8
- Access
- Value
- 0None1Basic2Digest
Stream URL
#6 · stream-address
- Format
- string
- Access
- Value
- —
Image Snapshot URL
#7 · image-snapshot
- Format
- string
- Access
- Value
- —
Expiration Time
#8 · expiration-time
- Format
- uint32
- Access
- Value
- 0 ~ 3600, step 3600 seconds
Stream Status
#9 · stream-status
- Format
- uint8
- Access
- R / N
- Value
- 1Available2In use3Unavailable
Session Id
#10 · session-id
- Format
- string
- Access
- Value
- —
Webrtc Offer
#11 · webrtc-offer
- Format
- string
- Access
- Value
- —
Param Sleep Status
#12 · param-sleep-status
- Format
- bool
- Access
- Value
- —
Camera Index
#13 · camera-index
- Format
- uint8
- Access
- Value
- 0 ~ 10, step 1
Actions
Initiate Webrtc Session
#1 · initiate-webrtc-session
Input
#2Video Attributeuint8#10Session Idstring#11Webrtc Offerstring
Output
#6Stream URLstring
Webrtc Session Connected
#2 · webrtc-session-connected
Input
#10Session Idstring
Webrtc Session Disconnected
#3 · webrtc-session-disconnected
Input
#10Session Idstring
Take Snapshot
#4 · take-snapshot
Camera Stream Management For Google Home#25 · camera-stream-for-google-home11 properties1 actions
Camera Stream Management For Google Home
#25 · camera-stream-for-google-home
Properties
Video Codec Type
#1 · video-codec-type
- Format
- uint8
- Access
- Value
- 1H2642MPEG3MPEG24MP4
Video Attribute
#2 · video-attribute
- Format
- uint8
- Access
- Value
- 11920_1080_3021280_720_3031024_768_30
Audio Codec Type
#3 · audio-codec-type
- Format
- uint8
- Access
- Value
- 1PCMU2PCMA3OPUS4MSBC5AMR
Audio Attribute
#4 · audio-attribute
- Format
- uint8
- Access
- Value
- 0Default144100_2_16_VARIABLE28000_1_8_CONSTANT
Stream URL
#5 · stream-address
- Format
- string
- Access
- Value
- —
Stream Receiver id
#6 · stream-receiver-id
- Format
- string
- Access
- Value
- —
Stream Auth Token
#7 · stream-auth-token
- Format
- string
- Access
- Value
- —
Expiration Time
#8 · expiration-time
- Format
- uint32
- Access
- Value
- 0 ~ 3600, step 3600 seconds
Stream Status
#9 · stream-status
- Format
- uint8
- Access
- R / N
- Value
- 1Available2In use3Unavailable
Param Sleep Status
#10 · param-sleep-status
- Format
- bool
- Access
- Value
- —
Camera Index
#11 · camera-index
- Format
- uint8
- Access
- Value
- 0 ~ 10, step 1
Actions
Initiate Webrtc Session
#1 · initiate-webrtc-session
Input
#2Video Attributeuint8
Family Guardian Function#26 · family-guard2 properties1 events
Family Guardian Function
#26 · family-guard
Properties
Family Guardian Configuration
#1 · family-guard-config
- Format
- string
- Access
- R / N / W
- Value
- —
The alarm push key for Family Guardian is used for the server.
#2 · clock-key
- Format
- string
- Access
- Value
- —
Events
When no one appears for a long time in Family Guardian
#1 · long-time-no-human
Arguments
#2The alarm push key for Family Guardian is used for the server.string