gev / reacthome-firmware

2 stars 0 forks source link

Merge the next device types #123

Closed gev closed 10 months ago

gev commented 11 months ago
export const DEVICE_TYPE_UNKNOWN = 0x00;

export const DEVICE_TYPE_SENSOR4 = 0x01;
export const DEVICE_TYPE_SENSOR6 = 0x02;
export const DEVICE_TYPE_THI = 0x03;
export const DEVICE_TYPE_DOPPLER_LEGACY = 0x04;
export const DEVICE_TYPE_DMX = 0x05;
export const DEVICE_TYPE_RS485 = 0x06;
export const DEVICE_TYPE_IR1 = 0x14;
export const DEVICE_TYPE_IR6 = 0x07;
export const DEVICE_TYPE_IR_RECEIVER = 0x10;
export const DEVICE_TYPE_DI16 = 0x08;
export const DEVICE_TYPE_DI24 = 0x12;
export const DEVICE_TYPE_DI32 = 0x09;
export const DEVICE_TYPE_DO12 = 0x11;
export const DEVICE_TYPE_DO8 = 0x0a;
export const DEVICE_TYPE_DO16 = 0x0b;
export const DEVICE_TYPE_DI16_DO8 = 0x0c;
export const DEVICE_TYPE_DO8_DI16 = 0x0d;
export const DEVICE_TYPE_DIM4 = 0x0e;
export const DEVICE_TYPE_DIM8_LEGACY = 0x0f;

export const DEVICE_TYPE_DI_4 = 0x20;
export const DEVICE_TYPE_CLIMATE = 0x21;
export const DEVICE_TYPE_DOPPLER = 0x22;
export const DEVICE_TYPE_RELAY_2 = 0x23;
export const DEVICE_TYPE_IR_4 = 0x24;
export const DEVICE_TYPE_SMART_4G = 0x25;
export const DEVICE_TYPE_SMART_4GD = 0x26;
export const DEVICE_TYPE_SMART_4A = 0x27;
export const DEVICE_TYPE_SMART_4AM = 0x2a;
export const DEVICE_TYPE_CO2 = 0x2b;
export const DEVICE_TYPE_SMART_6_PUSH = 0x2c;

export const DEVICE_TYPE_RELAY_6 = 0xa0;
export const DEVICE_TYPE_RELAY_12 = 0xa1;
export const DEVICE_TYPE_RELAY_24 = 0xa2;
export const DEVICE_TYPE_DIM_4 = 0xa3;
export const DEVICE_TYPE_DIM_8 = 0xa4;
export const DEVICE_TYPE_LAN_AMP = 0xa5;
export const DEVICE_TYPE_RSHUB = 0xa6;
export const DEVICE_TYPE_RELAY_2_DIN = 0xa7;
export const DEVICE_TYPE_DI_8_DIN = 0xa8;
export const DEVICE_TYPE_AO_4_DIN = 0xa9;
export const DEVICE_TYPE_MIX_2 = 0xaa;
export const DEVICE_TYPE_MIX_1 = 0xab;
export const DEVICE_TYPE_MIX_1_RS = 0xac;
export const DEVICE_TYPE_DIM_12_LED_RS = 0xad;
export const DEVICE_TYPE_RELAY_12_RS = 0xae;
export const DEVICE_TYPE_DIM_8_RS = 0xaf;
export const DEVICE_TYPE_RS_HUB_1_RS = 0xb0;
export const DEVICE_TYPE_RS_HUB_1_LEGACY = 0xb1;
export const DEVICE_TYPE_RS_HUB_4_LEGACY = 0xb2;
export const DEVICE_TYPE_MIX_6x12_RS = 0xb5;

export const DEVICE_TYPE_DIM_12_AC_RS = 0xb3;
export const DEVICE_TYPE_DIM_12_DC_RS = 0xb4;

export const DEVICE_TYPE_SERVER = 0xc0;
export const DEVICE_TYPE_RS_HUB_4 = 0xc1;

export const DEVICE_TYPE_TEMPERATURE_EXT = 0xf0;

export const DEVICE_TYPE_PLC = 0xfe;
export const DEVICE_TYPE_BOOTLOADER = 0xff;
gev commented 10 months ago

125