Siren outdoor SMaBiT (Bitron Video) AV2010/29A
https://manuals.smabit.eu/av2010…_29a.html
Interesting device since there are few (or no) outdoor sirens that support ziggbee. Following the steps of https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html and doing multiple tests I have managed to connect to zigbee2mqtt by adding the following to devices.js (in home assistant):
```
{
zigbeeModel: ['AV2010/29A'],
model: 'AV2010/29A',
vendor: 'SMaBiT',
description: 'SMaBiT Zigbee Outdoor Siren',
supports: 'warning',
fromZigbee: [fz.battery, fz.ias_contact_alarm_1, ],
toZigbee: [tz.warning],
meta: {disableDefaultResponse: true, configureKey: 1},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
await reporting.batteryPercentageRemaining(endpoint);
await reporting.batteryVoltage(endpoint);
},
exposes: [e.warning(), e.battery(), e.contact(), e.battery_low(), e.tamper()],
},
```
I have also discovered the following:
```
topic: 'zigbee2mqtt /friendly name/ set'
//Turn on the siren and lights, duration can be indicated in seconds. The strobe parameter must always be false for the siren to turn on:
payload: '{"warning": {"duration": 3, "strobe": false}}'
//5 short beeps. If the alarm is on, it stops:
payload: '{"warning": {"duration": 0}}'
payload: '{"warning": {"level": "medium"}}'
//5 long beeps. If the alarm is on, it stops:
payload: '{"warning": {"level": "low"}}'
payload: '{"warning": {"level": "high"}}'
//1 short beeps. If the alarm is on, it stops:
payload: '{"warning": {"level": "very_high"}}'
```
I have not got:
- Deactivate tamper contact (to change the battery for example)
- Get the battery % (I do not know if it is possible, at the moment it says that the battery is 0% and that battery_low is false with new batteries)
Any clues how to try to do it?
I don't know if what I put in the configure section is correct (I have copied it from other devices) in case someone can review it before adding it to the documentation.
Thanks.
database.db entry of the device
`{"id":29,"type":"EndDevice","ieeeAddr":"0x00124b00207f60d6","nwkAddr":16557,"manufId":0,"manufName":"SMaBiT","powerSource":"Battery","modelId":"AV2010/29A","epList":[1,4],"endpoints":{"1":{"profId":260,"epId":1,"devId":1027,"inClusterList":[0,3,1280,1282],"outClusterList":[0],"clusters":{"genBasic":{"attributes":{"modelId":"AV2010/29A","manufacturerName":"SMaBiT","powerSource":3,"zclVersion":1,"appVersion":11,"hwVersion":0,"dateCode":"20170421 "}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b001949c1df","zoneState":1}}},"binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b001949c1df","endpointID":1}],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":1026,"inClusterList":[],"outClusterList":[25],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":11,"hwVersion":0,"dateCode":"20170421 ","zclVersion":1,"interviewCompleted":true,"meta":{"configured":1},"lastSeen":1613384672295}`
what I get from the device:
ac_status: false
battery_low: false
contact: true
enrolled: false
linkquality: 49
restore_reports: false
smoke: false
supervision_reports: true
tamper: false
trouble: false