Aqara hub alarm triggering from Home Assistant

Hi everyone,

My Home Assistant is almost complete on a few things left.

One of this item is the Aqara Hub alarm which is working well, except for 1 thing left…

I’m able to create automation for enabling en disabling the alarm, so the status will be pushed to Xiaomi app. But I would like that the triggering of the alarm will be managed by Home Assistant or at least to make sound.

I’m not able to say or create an automation in Home Assistant with:

  • when alarm is enabled, and someone is opening the door play the alarm.

This is happening from the Xiaomi app.

So when the alarm is playing I’m receiving this event:

new_state:
entity_id: alarm_control_panel.aqara_hub_b98c
state: triggered
attributes:
code_format: null
changed_by: null
code_arm_required: true
icon: mdi:security
friendly_name: Aqara Hub Alarm
supported_features: 7
last_changed: ‘2022-06-23T21:44:23.283000+00:00’
last_updated: ‘2022-06-23T21:44:23.283000+00:00’
context:
id: 01G698BYZK6JS24FKQ71F205KG
parent_id: null
user_id: null

Someone knows how I can do this automation from Home Assistant instead of the Xiaomi app?

I would like that other sensors will als trigger the Home Alarm

I have seen this but still not really clear how to setup the trigger for the aqara hub to trigger the sound/alarm…

Actually what is the event, you have the event data except the name of the event. The event_type

I don’t see the event_type even when I try to listen it doesn’t pop up…

Well where are you watching from? Should be dev tools.

Still not able to manage the alarm sound for a trigger in Home Assistant…
Can only enable or disable alarm but not playing the alarm

Well if you copy and paste the event data from dev tools like I suggested, someone might be able to help.

Any luck with the siren of Aqara Hub to work via HA?
I am traying to do that, but without any success…and not seen any helpful posts on HA community. :(((

Can anyone help?

I have automation to send notification to my phone, but I would like to have also the siren to go on when the alarm is triggered.

any luck with this? I’m in the same boat.

Same issue for me. I ca control everything except triggering alarm

Same problem here! :wave:
Any update? Thank you!