Support for Alarm-type devices

Hello everyone,

I recently got a Zigbee alarm:

Zigbee2mqtt recognizes it, but Gladys does not.
I created an issue on GitHub, I don’t know if it’s useful to create this topic, if it’s redundant, feel free to remove it!

The idea is simply, in my case, to be able to integrate this alarm into my scenes:

  • the mailbox is open > alarm #1 | volume 10
  • the front door opens in my absence > alarm #3 | volume 100

Etc… :wink:

There is a PR that seems to be on the same topic made by ( @AlexTrovato tell me if I’m wrong) :

https://github.com/GladysAssistant/Gladys/pull/1420

In fact, the problem is that when I get to this GitHub page… I don’t understand anything so I can’t tell if it’s the same request :sweat_smile:

I was asking more from @AlexTrovato :slight_smile: In any case, this PR is merged, and will be included in the next release of Gladys.

I moved the parenthesis to make it clearer :sweat_smile:

Thanks for the explanation! :wink: Glad to see that it should arrive soon!

A quick update here after the 4.8 update… my Sirène device is now properly recognized in Gladys, but the button from the dashboard doesn’t trigger anything at all.

I know the device works because I can control it from the zigbee2mqtt interface without any issues.

Could someone point me in the right direction to investigate this?

Hi @guim31 what model do you have

As for me, I have the one without temperature and humidity NAS-AB02 but for now it is not recognized.

I have the same as you :slight_smile:

Hello, for z2m, there is a Docker test image pending validation, the exchanges are a bit scattered, but I already know this discussion

Hello I took the liberty of requesting the addition of this Zigbee device via the Gladys input :slight_smile:

I don’t understand, the PR seems merged and yet I still can’t integrate my alarm via Z2M, is this a bug on my instance?

Which PR? The issue you created is still open.

I’m talking about this one which seems to add the alarm-related features.
https://community.gladysassistant.com/t/prise-en-charge-des-appareils-type-alarme

It’s not that simple, the mapping is done on « known » features, Alex’s PR added the mapping for all Zigbee devices with an expose alarm.

The problem is your device doesn’t expose that at all.

We’re going to have to make a special case because it’s composite + enum. I don’t know how to do it on my end, but I think @AlexTrovato will find a solution for us :slight_smile:

Ah I understand better now :slight_smile: thanks for your clear explanation!