MIOT
#hc1997.sensor_ht.a001
hc1997.sensor_ht.a001
urn:miot-spec-v2:device:temperature-humidity-sensor:0000A00A:hc1997-a001:1
语言
Service tree
温湿度传感器#2 · temperature-humidity-sensor属性 8事件 1
温湿度传感器
#2 · temperature-humidity-sensor
Properties
温度
#1 · temperature
- 格式
- float
- 读写
- R / N
- 值
- -30 ~ 100,步长 1
相对湿度
#2 · relative-humidity
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1
开关
#3 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
工作状态
#4 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1Idle2Busy3Delay
模式
#5 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Auto
故障
#6 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0No Faults
PM2.5
#7 · pm2.5-density
- 格式
- float
- 读写
- R / N
- 值
- 0 ~ 1000,步长 1
大气压强
#8 · atmospheric-pressure
- 格式
- float
- 读写
- R / N
- 值
- 0 ~ 100000,步长 1
Events
设备被重置
#1 · device-be-reset
电池#3 · battery属性 4动作 1事件 2
电池
#3 · battery
Properties
电池电量
#1 · battery-level
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1
电池充电状态
#2 · charging-state
- 格式
- uint8
- 读写
- R / N
- 值
- 1Charging2Not Charging3Not Chargeable
电压
#3 · voltage
- 格式
- uint16
- 读写
- R / N
- 值
- 0 ~ 65535,步长 1
工作状态
#4 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1Idle2Busy3Delay
Actions
开始充电
#1 · start-charge
Events
电量低
#1 · low-battery
电池状态改变
#2 · battery-status-change
触发参数
#4工作状态uint8
时间管理#4 · time-management属性 3动作 1
时间管理
#4 · time-management
Properties
时区偏移量
#1 · time-zone-offset
- 格式
- float
- 读写
- 值
- -20 ~ 20,步长 0.25
小时制(12/24)
#2 · hour-system
- 格式
- uint8
- 读写
- R / W / N
- 值
- 112224
当前时间(unix timestamp)
#3 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
Actions
时间校准(校时)
#1 · time-correction
入参
#1时区偏移量float#3当前时间(unix timestamp)uint32
设备显示单位#5 · device-display-unit属性 1
设备显示单位
#5 · device-display-unit
Properties
温度显示单位
#1 · temperature-display-unit
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1Celsius2Fahrenheit