語言
Service tree
开关一键#2 · switch屬性 3動作 1
开关一键
#2 · switch
Properties
按键1
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0有线和无线开关1无线开关
默认上电状态
#3 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0上电关闭1上电打开2断电记忆
Actions
开关状态切换
#1 · toggle
开关二键#3 · switch屬性 3動作 1
开关二键
#3 · switch
Properties
按键2
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0有线和无线开关1无线开关
默认上电状态
#3 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0上电关闭1上电打开2断电记忆
Actions
开关状态切换
#1 · toggle
开关三键#4 · switch屬性 3動作 1
开关三键
#4 · switch
Properties
按键3
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0有线和无线开关1无线开关
默认上电状态
#3 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0上电关闭1上电打开2断电记忆
Actions
开关状态切换
#1 · toggle
开关四键#5 · switch屬性 3動作 1
开关四键
#5 · switch
Properties
按键4
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0有线和无线开关1无线开关
默认上电状态
#3 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0上电关闭1上电打开2断电记忆
Actions
开关状态切换
#1 · toggle
开关一键传感器#10 · switch-sensor事件 1
开关一键传感器
#10 · switch-sensor
Events
单击
#1 · click
存在传感器#22 · occupancy-sensor屬性 3
存在传感器
#22 · occupancy-sensor
Properties
有人无人状态(0为无人,非0为有人)
#1 · occupancy-status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0无人1有人
感应灵敏度
#2 · has-someone-detection-sensitivity
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0关闭1低2标准3高
感应时间
#3 · no-one-determine-time
- 格式
- uint16
- 讀寫
- R / W / N
- 值
- 20 ~ 300,步長 1 seconds
开关二键传感器#11 · switch-sensor事件 1
开关二键传感器
#11 · switch-sensor
Events
单击
#1 · click
开关三键传感器#12 · switch-sensor事件 1
开关三键传感器
#12 · switch-sensor
Events
单击
#1 · click
开关四键传感器#13 · switch-sensor事件 1
开关四键传感器
#13 · switch-sensor
Events
单击
#1 · click
全开全关#6 · all-switch動作 2
全开全关
#6 · all-switch
Actions
全开
#1 · all-on
全关
#2 · all-off
本地多控功能#20 · local-control屬性 2動作 2
本地多控功能
#20 · local-control
Properties
绑定设置
#1 · binding-settings
- 格式
- uint32
- 讀寫
- W
- 值
- 0 ~ 4294967295,步長 1
绑定状态
#2 · binding-status
- 格式
- uint32
- 讀寫
- R / N
- 值
- 0 ~ 4294967295,步長 1
Actions
进入配对
#1 · enter-pairing
入參
#1绑定设置uint32
清除配对
#2 · clear-pairing
入參
#1绑定设置uint32
显示设置#21 · display-settings屬性 1
显示设置
#21 · display-settings
Properties
感应亮屏
#4 · sensing-screen
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
名称同步#23 · name-synchronization屬性 2動作 1事件 1
名称同步
#23 · name-synchronization
Properties
文字同步
#1 · text-sync
- 格式
- uint32
- 讀寫
- W
- 值
- 0 ~ 4294967295,步長 1
文字同步应答
#2 · text-sync-ack
- 格式
- uint32
- 讀寫
- R / N
- 值
- 0 ~ 4294967295,步長 1
Actions
文字同步
#1 · text-sync
入參
#1文字同步uint32
Events
文字同步应答
#1 · text-sync-ack
觸發參數
#2文字同步应答uint32
云#15 · cloud屬性 4
云
#15 · cloud
Properties
blecode
#1 · blecode
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 4294967295,步長 1
did 0/256 时候为无效值
#2 · did
- 格式
- uint16
- 讀寫
- R / W / N
- 值
- 0 ~ 4095,步長 1
rid
#3 · rid
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0 ~ 255,步長 1
云锁
#4 · cloud-lock
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
灯控1#30 · light屬性 4
灯控1
#30 · light
Properties
开关
#1 · switch-status
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1
色温
#3 · color-temperature
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 2700 ~ 5700,步長 1
RGB(颜色)
#4 · color
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 16777215,步長 1
灯控2#31 · light屬性 4
灯控2
#31 · light
Properties
开关
#1 · switch-status
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1
色温
#3 · color-temperature
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 2700 ~ 5700,步長 1
颜色
#4 · color
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 16777215,步長 1
灯控3#32 · light屬性 4
灯控3
#32 · light
Properties
开关
#1 · switch-status
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1
色温
#3 · color-temperature
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 2700 ~ 5700,步長 1
RGB(颜色)
#4 · color
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 16777215,步長 1
灯控4#33 · light屬性 4
灯控4
#33 · light
Properties
开关
#1 · switch-status
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1
色温
#3 · color-temperature
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 2700 ~ 5700,步長 1
RGB(颜色)
#4 · color
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 16777215,步長 1
窗帘控制2#41 · curtain屬性 3
窗帘控制2
#41 · curtain
Properties
电机控制
#1 · motor-control
- 格式
- uint8
- 讀寫
- W
- 值
- 1Open2Close3Stop
工作状态
#2 · status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 1Open2Closing3Stop
设定位置(窗帘备注:0全遮住,100全拉开)
#3 · target-position
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0 ~ 100,步長 1
空调#50 · air-conditioner屬性 3
空调
#50 · air-conditioner
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Auto1Hot2Cold4Blow8Humid
设定温度
#3 · target-temperature
- 格式
- float
- 讀寫
- R / W / N
- 值
- 16 ~ 30,步長 1
风机控制#51 · fan-control屬性 1
风机控制
#51 · fan-control
Properties
风机档位
#1 · fan-level
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Auto1Low Gear2Medium Gear3High Gear
场景开关(用于自动化Event)#70 · switch-sensor屬性 1事件 1
场景开关(用于自动化Event)
#70 · switch-sensor
Properties
按键类型
#1 · button-type
- 格式
- uint8
- 讀寫
- 值
- 1场景12场景23场景34场景45场景56场景67场景78场景89场景910场景1011场景1112场景1213场景1314场景1415场景1516场景16
Events
单击
#1 · click
觸發參數
#1按键类型uint8
无线开关#60 · wireless-switch屬性 4
无线开关
#60 · wireless-switch
Properties
无线开关1
#1 · switch-one
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
无线开关2
#2 · switch-two
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
无线开关3
#3 · switch-three
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
无线开关4
#4 · switch-four
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
窗帘控制1#71 · curtain-one屬性 3
窗帘控制1
#71 · curtain-one
Properties
电机控制
#1 · motor-control
- 格式
- uint8
- 讀寫
- W
- 值
- 1Open2Close3Stop
工作状态
#2 · status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 1Open2Closing3Stop
设定位置(窗帘备注:0全遮住,100全拉开)
#3 · target-position
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 100,步長 1 percentage
