package com.hdl.sdk.link.zigbee.config; /** * Created by jlchen on 12/29/21. */ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * ZigBee设备类型 * device_ID 对应的设备枚举 */ public class ZBDeviceType{ public final int UnKown = 0x9999; public final int ZbGateway = 0x9998; /// /// 干结点 /// 设备ID为0 /// 定义对象:Panel /// public final int OnOffSwitch = 0; /// /// 亮度控制开关 /// 设备ID为2 /// 定义对象 LevelControlSwitch /// public final int LevelControlSwitch = 1; /// /// 继电器 /// 设备ID为2 /// 定义对象:ToggleLight /// public final int OnOffOutput = 2; /// /// 门锁 /// 设备ID为10 /// 定义对象:DoorLock /// public final int DoorLock = 10; /// /// 设备ID为257的设备 /// 调光灯:支持亮度 /// 调光设备 /// public final int DimmableLight = 257; /// /// 设备ID为258的设备 /// 色温灯 /// 定义对象:ColorTemperatureLight /// public final int ColorTemperatureLight = 258; /// /// 调光器控制器 /// 设备ID为260 /// 定义对象 DimmerSwitch /// public final int DimmerSwitch = 260; /// /// 颜色调光灯开关 /// 设备ID为261 /// 定义对象 LevelControlSwitch /// public final int ColorDimmerSwitch = 261; /// /// 窗帘设备ID /// Rollershade:卷帘 /// public final int WindowCoveringDevice = 514; /// /// 窗帘控制器设备ID /// CurtainController:窗帘控制器 /// public final int WindowCoveringController = 515; /// /// 设备ID为528的设备 /// 颜色调光灯:支持亮度/色度/饱和度 /// 调光设备 /// 定义对象:ColorDimmableLight /// public final int ColorDimmableLight = 528; /// /// 恒温器 /// 设备ID为769 /// 定义对象:AC /// public final int Thermostat = 769; /// /// 温湿度传感器 /// 设备ID为770 /// 定义对象:TemperatureSensor /// 注意它与HumiditySensor不一样;它具体是温度还是湿度;需要发命令去读取 /// public final int TemperatureSensor = 770; /// /// PM2.5传感器 /// 设备ID为777 /// 定义对象:PMSensor /// public final int PMSensor = 777; /// /// 安防设备 /// 设备ID为1026的设备 /// 定义对象:IASZone /// public final int IASZone = 1026; /// /// 蜂鸣器 /// 设备ID为1027的设备 /// 定义对象:Buzzer /// public final int Buzzer = 1027; /// /// 控制源设备 /// 设备ID为0 /// 定义对象:Panel /// public final int OtaPanelDevice = 49152; /// /// 控制源设备 /// 设备ID为0 /// 定义对象:Panel /// public final int OtaDevice = 49153; /// /// 空气开关 /// public final int AirSwitch = 53249; /// /// 中继器 /// public final int Repeater = 53250; /// 转换器 /// 设备ID为53251 /// 定义对象:Transverter /// public final int Transverter = 0xD003; /// /// 晾衣架 /// 设备ID为0xD004 /// 定义对象:Airer /// public final int Airer = 0xD004; /// 新风 /// 设备ID为53504 /// 定义对象:FreshAirAC /// public final int FreshAir = 0xD100; /// /// 湿度传感器 /// 设备ID为53760 /// 定义对象:HumiditySensor /// 注意它与TemperatureSensor不一样;这个id定死了就是湿度传感器 /// public final int HumiditySensor = 0xD200; }