Skip to content

Commit

Permalink
Support AU-A1ZBDSS. Koenkk/zigbee2mqtt#6704
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Mar 16, 2021
1 parent dfcb5a2 commit fea5c35
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -16044,6 +16044,28 @@ const devices = [
await reporting.bind(endpoint, coordinatorEndpoint, ['genLevelCtrl', 'genOnOff']);
},
},
{
zigbeeModel: ['DoubleSocket50AU'],
model: 'AU-A1ZBDSS',
vendor: 'Aurora Lighting',
description: 'Double smart socket UK',
fromZigbee: [fz.identify, fz.on_off, fz.electrical_measurement],
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right'),
e.power().withEndpoint('left'), e.power().withEndpoint('right')],
toZigbee: [tz.on_off],
meta: {configureKey: 1, multiEndpoint: true},
endpoint: (device) => {
return {'left': 1, 'right': 2};
},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint1 = device.getEndpoint(1);
await reporting.bind(endpoint1, coordinatorEndpoint, ['genIdentify', 'genOnOff', 'haElectricalMeasurement']);
await reporting.onOff(endpoint1);
const endpoint2 = device.getEndpoint(2);
await reporting.bind(endpoint2, coordinatorEndpoint, ['genIdentify', 'genOnOff', 'haElectricalMeasurement']);
await reporting.onOff(endpoint2);
},
},
{
zigbeeModel: ['SmartPlug51AU'],
model: 'AU-A1ZBPIA',
Expand Down

0 comments on commit fea5c35

Please sign in to comment.