mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-19 01:56:29 +00:00
63 lines
1.9 KiB
JavaScript
63 lines
1.9 KiB
JavaScript
const devices = {
|
|
'lumi.sensor_switch': {
|
|
model: 'WXKG01LM',
|
|
vendor: 'Xiaomi',
|
|
description: 'MiJia wireless switch',
|
|
supports: 'single, double, triple, quadruple, many and long click',
|
|
},
|
|
'lumi.sensor_switch.aq2': {
|
|
model: 'WXKG11LM',
|
|
vendor: 'Xiaomi',
|
|
description: 'Aqara wireless switch',
|
|
supports: 'single, double, triple, quadruple click',
|
|
},
|
|
'lumi.sens': {
|
|
model: 'WSDCGQ01LM',
|
|
vendor: 'Xiaomi',
|
|
description: 'MiJia temperature & humidity sensor ',
|
|
supports: 'temperature and humidity',
|
|
},
|
|
'lumi.sensor_motion': {
|
|
model: 'RTCGQ01LM',
|
|
vendor: 'Xiaomi',
|
|
description: 'MiJia human body movement sensor',
|
|
supports: 'occupancy, motion and no motion'
|
|
},
|
|
'lumi.sensor_magnet': {
|
|
model: 'MCCGQ01LM',
|
|
vendor: 'Xiaomi',
|
|
description: 'MiJia door & window contact sensor',
|
|
supports: 'open and closed state',
|
|
},
|
|
'lumi.sensor_magnet.aq2': {
|
|
model: 'MCCGQ11LM',
|
|
vendor: 'Xiaomi',
|
|
description: 'Aqara door & window contact sensor',
|
|
supports: 'open and closed state',
|
|
homeassistant: {
|
|
type: 'binary_sensor',
|
|
discovery_payload: {
|
|
payload_on: 'open',
|
|
payload_off: 'closed',
|
|
value_template: '{{ value_json.state }}',
|
|
device_class: 'door',
|
|
json_attributes: ['battery']
|
|
}
|
|
}
|
|
},
|
|
'TRADFRI bulb E27 WS opal 980lm': {
|
|
model: 'LED1545G12',
|
|
vendor: 'IKEA',
|
|
description: 'TRADFRI LED bulb E27 980 lumen, dimmable, white spectrum, opal white',
|
|
supports: 'on/off, brightness, color temperature',
|
|
},
|
|
'LLC020': {
|
|
model: '7146060PH',
|
|
vendor: 'Philips',
|
|
description: 'Hue Go',
|
|
supports: 'on/off, brightness, color temperature, color rgb',
|
|
},
|
|
}
|
|
|
|
module.exports = devices;
|