
#ainice.sensor_occupy.bt
AInice电子围栏传感器
urn:miot-spec-v2:device:occupancy-sensor:0000A0BF:ainice-bt:1
Language
Service tree
Mi Card#2 · occupancy-sensor1 properties
Mi Card
#2 · occupancy-sensor
Properties
Card Information
#1 · occupancy-status
- Format
- int8
- Access
- R / N
- Value
- -1Disable0No One1One Member Online2Two Members Online3Three Members Online4Four Members Online5Five Members Online6Six Members Online7Seven Members Online8Eight Members Online9Nine Members Online10Ten Members Online11Eleven Members Online12Twelve Members Online13Thirteen Members Online14Fourteen Members Online
General Service#3 · general-service14 properties1 actions1 events
General Service
#3 · general-service
Properties
Indicator Switch
#1 · indicator-switch
- Format
- uint8
- Access
- R / W / N
- Value
- 1On0Off
Bluetooth Pair Switch
#2 · bt-pair-switch
- Format
- uint8
- Access
- R / W / N
- Value
- 1On0Off
Bluetooth Pair Code
#3 · bt-pair-code
- Format
- uint32
- Access
- R / N
- Value
- 100000 ~ 999999, step 1
Bluetooth Signal Name
#4 · bt-signal-name
- Format
- string
- Access
- R / W / N
- Value
- —
Bluetooth Connection Range
#5 · bt-power-level
- Format
- uint8
- Access
- R / W / N
- Value
- 0Minimum1Smaller2Small3Medium4Large
Mesh Switch
#6 · mesh-switch
- Format
- uint8
- Access
- R / W / N
- Value
- 1On0Off
Mesh ID
#7 · mesh-id
- Format
- uint16
- Access
- R / W / N
- Value
- 1000 ~ 9999, step 1
Mesh Type
#8 · mesh-type
- Format
- uint8
- Access
- R / W / N
- Value
- 1Root2Node
Mesh Reachable
#9 · mesh-reachable
- Format
- uint8
- Access
- R / N
- Value
- 1Yes0No
Device Status List
#10 · status-list
- Format
- string
- Access
- R / N
- Value
- —
First Activation Date
#11 · activation-date
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 4294967295, step 1
System Cache Version
#12 · cache-version
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 255, step 1
System Log Information
#13 · sys-log-info
- Format
- string
- Access
- Value
- —
Device Wake-up
#14 · device-number
- Format
- uint8
- Access
- Value
- 1Device 1 Wake-up2Device 2 Wake-up3Device 3 Wake-up4Device 4 Wake-up5Device 5 Wake-up6Device 6 Wake-up7Device 7 Wake-up8Device 8 Wake-up9Device 9 Wake-up10Device 10 Wake-up11Device 11 Wake-up12Device 12 Wake-up13Device 13 Wake-up14Device 14 Wake-up
Actions
Send WoL Command
#1 · send-magic-package
Input
#14Device Wake-upuint8
Events
System Log Event
#1 · sys-log-event
Arguments
#13System Log Informationstring
Device Group#4 · device-group4 properties
Device Group
#4 · device-group
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device Group Online0Device Group Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Binding Information
#4 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Device 1#5 · device8 properties1 actions
Device 1
#5 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 1 Online0Device 1 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 1 Join Group0Device 1 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 2#6 · device8 properties1 actions
Device 2
#6 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 2 Online0Device 2 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 2 Join Group0Device 2 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 3#7 · device8 properties1 actions
Device 3
#7 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 3 Online0Device 3 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 3 Join Group0Device 3 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 4#8 · device8 properties1 actions
Device 4
#8 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 4 Online0Device 4 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 4 Join Group0Device 4 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 5#9 · device8 properties1 actions
Device 5
#9 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 5 Online0Device 5 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 5 Join Group0Device 5 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 6#10 · device8 properties1 actions
Device 6
#10 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 6 Online0Device 6 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 6 Join Group0Device 6 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 7#11 · device8 properties1 actions
Device 7
#11 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 7 Online0Device 7 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 7 Join Group0Device 7 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 8#12 · device8 properties1 actions
Device 8
#12 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 8 Online0Device 8 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 8 Join Group0Device 8 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 9#13 · device8 properties1 actions
Device 9
#13 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 9 Online0Device 9 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 9 Join Group0Device 9 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 10#14 · device8 properties1 actions
Device 10
#14 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 10 Online0Device 10 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 10 Join Group0Device 10 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 11#15 · device8 properties1 actions
Device 11
#15 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 11 Online0Device 11 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 11 Join Group0Device 11 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 12#16 · device8 properties1 actions
Device 12
#16 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 12 Online0Device 12 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 12 Join Group0Device 12 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 13#17 · device8 properties1 actions
Device 13
#17 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 13 Online0Device 13 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 13 Join Group0Device 13 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8
Device 14#18 · device8 properties1 actions
Device 14
#18 · device
Properties
Online / Offline
#1 · online-status
- Format
- uint8
- Access
- R / N
- Value
- 1Device 14 Online0Device 14 Offline
Online Duration
#2 · online-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Duration
#3 · offline-duration
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Offline Interval Time
#4 · offline-interval
- Format
- uint16
- Access
- R / W / N
- Value
- 5 ~ 7200, step 1 seconds
Offline To Online Mode
#5 · online-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Bluetooth Or Static IP1Bluetooth Only
Join / Leave Group
#6 · joined-group
- Format
- uint8
- Access
- R / W / N
- Value
- 1Device 14 Join Group0Device 14 Leave Group
Bluetooth Capture Mode
#7 · bt-capture-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Connect And Scan1Connect Only2Scan Only
Binding Information
#8 · binding-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Join / Leave Group Control
#1 · join-group-ctrl
Input
#6Join / Leave Groupuint8