[External Converter]: Smart16ARelay51AU from Aurora
Link
https://zigbee.blakadder.com/Aurora_AU-A1ZBR16A.html
Database entry
{"id":216,"type":"Router","ieeeAddr":"0x0015bc0037002ad0","nwkAddr":49181,"manufId":4117,"manufName":"Aurora","powerSource":"Mains (single phase)","modelId":"Smart16ARelay51AU","epList":[1,2],"endpoints":{"1":{"profId":49353,"epId":1,"devId":1,"inClusterList":[5,6],"outClusterList":[],"clusters":{},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0028cca617","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":81,"inClusterList":[0,1794,3,9,2820,6,4,5,2],"outClusterList":[0,25,10,3,1030],"clusters":{"haElectricalMeasurement":{"attributes":{"rmsVoltage":24201,"rmsCurrent":10826,"activePower":2526,"acPowerDivisor":1,"acPowerMultiplier":1,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"acVoltageDivisor":100,"acVoltageMultiplier":1}},"genBasic":{"attributes":{}},"seMetering":{"attributes":{"currentSummDelivered":803,"instantaneousDemand":null,"divisor":1000,"multiplier":1}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0028cca617","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0028cca617","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1291,"minRepIntval":10,"maxRepIntval":65000,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":10,"maxRepIntval":65000,"repChange":50},{"cluster":2820,"attrId":1285,"minRepIntval":10,"maxRepIntval":65000,"repChange":500},{"cluster":1794,"attrId":0,"minRepIntval":10,"maxRepIntval":65000,"repChange":100}],"meta":{}}},"dateCode":"2021-02-16 04:54","zclVersion":1,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{},"lastSeen":1762817782972}
Zigbee2MQTT version
2.6.3 (5797b568)
External converter
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
zigbeeModel: ['Smart16ARelay51AU'],
model: 'Smart16ARelay51AU',
vendor: 'Aurora',
description: 'Aurora 16A Zigbee relay (single relay endpoint)',
extend: [
// Define a single logical endpoint named "relay" mapped to endpoint 2
m.deviceEndpoints({ endpoints: { relay: 2 } }),
// Enable energy / power / voltage / current measurements
m.electricityMeter(),
// Enable on/off control for the "relay" endpoint
m.onOff({ powerOnBehavior: false, endpointNames: ['relay'] }),
// Expose internal temperature if supported
m.deviceTemperature(),
],
};
What does/doesn't work with the external definition?
Relay can be turned on and off with state (Endpoint: relay).
Power, Voltage, Current and Energy and temperature are currently not reporting however it may take some time
Notes
software_build_id: undefined
date_code: 2021-02-16 04:54
endpoints:
{"1":{"clusters":{"input":["genScenes","genOnOff"],"output":[]}},"2":{"clusters":{"input":["genBasic","seMetering","genIdentify","genAlarms","haElectricalMeasurement","genOnOff","genGroups","genScenes","genDeviceTempCfg"],"output":["genBasic","genOta","genTime","genIdentify","msOccupancySensing"]},"name":"relay"}}
🙏 Thank you for creating this issue and sharing your external converter!
In case all features work, please submit a pull request on this repository so the device can be supported out-of-the-box with the next release. For instructions on how to create a pull request see the docs.
If NOT all features work, please follow the How To Support new devices.
If you need help with the process, feel free to ask here and we'll be happy to assist.
Replaced by https://github.com/Koenkk/zigbee2mqtt/issues/29578 which is fully working.