Code in devices.js
{
zigbeeModel: ['1GBatteryDimmer50AU'],
…model: 'AU-A1ZBR1GW',
vendor: 'Aurora Lighting',
description: 'AOne One Gang Wireless Battery Rotary Dimmer',
supports: 'action',
fromZigbee: [fz.battery, fz.command_on, fz.command_off, fz.greenpower_on_off_switch, fz.command_step, fz.command_move_to_color_temp, fz.command_move_to_color, fz.command_stop, fz.command_move, fz.command_color_loop_set, fz.command_ehanced_move_to_hue_and_saturation, fz.tint404011_scene],
toZigbee: [tz.light_brightness_step, tz.light_colortemp, tz.light_colortemp, tz.light_color_colortemp],
exposes: [e.battery(), e.action(['on', 'off', 'brightness_step_up', 'brightness_step_down', 'color_temperature_move', 'color_move', 'brightness_stop', 'brightness_move_up', 'brightness_move_down', 'color_loop_set', 'enhanced_move_to_hue_and_saturation', 'recall_*', 'scene_*'])],
ota: ota.zigbeeOTA,
meta: {configureKey: 3},
endpoint: (device) => {
return {default: 1, system: 242};},
configure: async (device, coordinatorEndpoint) => {
const endpoint1 = device.getEndpoint(1);
await bind(endpoint1, coordinatorEndpoint, ['genBasic', 'genIdentify','genOnOff', 'genLevelCtrl', 'lightingColorCtrl', 'genPowerCfg']);
await configureReporting.onOff(endpoint1);
await configureReporting.onOff.batteryPercentageRemaining(endpoint)
await configureReporting.genLevelCtrl(endpoint1);
const endpoint242 = device.getEndpoint(242);
await bind(endpoint242, coordinatorEndpoint, ['greenPower']);
},
Zigbee2MQTT:debug 2020-12-03 00:03:38: Received Zigbee message from 'Single Rotary Dimmer Remote', type 'commandStepColorTemp', cluster 'lightingColorCtrl', data '{"maximum":454,"minimum":153,"stepmode":3,"stepsize":47,"transtime":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-12-03 00:03:38: No converter available for 'AU-A1ZBR1GW' with cluster 'lightingColorCtrl' and type 'commandStepColorTemp' and data '{"maximum":454,"minimum":153,"stepmode":3,"stepsize":47,"transtime":3}'
Zigbee2MQTT:debug 2020-12-03 00:03:38: Received Zigbee message from 'Single Rotary Dimmer Remote', type 'attributeReport', cluster 'lightingColorCtrl', data '{"colorTemperature":24,"currentHue":24}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-12-03 00:03:38: No converter available for 'AU-A1ZBR1GW' with cluster 'lightingColorCtrl' and type 'attributeReport' and data '{"colorTemperature":24,"currentHue":24}'
Zigbee2MQTT:debug 2020-12-03 00:03:39: Received Zigbee message from 'Single Rotary Dimmer Remote', type 'commandStepColorTemp', cluster 'lightingColorCtrl', data '{"maximum":454,"minimum":153,"stepmode":3,"stepsize":47,"transtime":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-12-03 00:03:39: No converter available for 'AU-A1ZBR1GW' with cluster 'lightingColorCtrl' and type 'commandStepColorTemp' and data '{"maximum":454,"minimum":153,"stepmode":3,"stepsize":47,"transtime":3}'
Zigbee2MQTT:debug 2020-12-03 00:03:39: Received Zigbee message from 'Ashish Smart Extension', type 'attributeReport', cluster 'genBasic', data '{"65506":24,"appVersion":66}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-12-03 00:03:39: Received Zigbee message from 'Single Rotary Dimmer Remote', type 'attributeReport', cluster 'lightingColorCtrl', data '{"colorTemperature":42,"currentHue":42}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-12-03 00:03:39: No converter available for 'AU-A1ZBR1GW' with cluster 'lightingColorCtrl' and type 'attributeReport' and data '{"colorTemperature":42,"currentHue":42}'
Zigbee2MQTT:debug 2020-12-03 00:03:49: Received Zigbee message from 'Dining Spot', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 3 with groupID 0
Trying to get battery where to start