[Custom Component] Alarmo - browser managed alarm system

Just started using Alarmo and trying to test my first few actions but I’m facing a blocking point.

This is the first basic action I’m using.

service: media_player.volume_set
data:
  volume_level: 1
target:
  entity_id: media_player.google_nest_speaker

When I test it, I get an error saying must contain at least one of entity_id, device_id, area_id. As you can see there is an entity_id. And even funnier, this was copy pasted from an automation, and when I run this action there on its own it just works.

Any idea why it doesn’t inside Alarmo? Thanks!

I don’t know the exact reasons for this behaviour, it seems like Alarmo does only accept the “old” format. Nonetheless both versions should work… :thinking:

Anyway, try it like this:

service: media_player.volume_set
data:
  volume_level: 1
entity_id: media_player.google_nest_speaker

EDIT: corrected the data part, as mentioned in the next post

1 Like

Got it, thanks. It didn’t work with yours either, the error was required key not provided @ data['volume_level']

But then I just changed it to:

service: media_player.volume_set
data:
  volume_level: 1
entity_id: media_player.google_nest_speaker

And this works perfect. I tried adding a second entity though and it seems it doesn’t allow a list? I need to call the service for each entity?

1 Like

I don’t know from personal experience, haven’t had the case to call some media players. In my case it’s all or a specific one. :slight_smile:

But for what I read in the docu, it seems lists aren’t available. But I’d suggest using scripts anyway, it offers more flexibilty and you don’t need to maintain automations on two seperate ends (HA and Alarmo). And you might be able to configure a loop or something like that in a script.

Yeah, I’m actually using a script to flash lights in a loop.

I think you’re right. Alarmo YAML seems pretty limited so I think it’s just easier to take it out and call whatever script you want.

It’s such an easy task to loose oversight in HA, I like to have things in one place. :laughing:

For those of you using Alarmo or any other alarm system in HA, what do you use as notification actions?
I just started using it, and tbf a phone notification is nowhere near enough if someone broke into my house. Most time I won’t even hear it as phone might be on DND, or in my pocket. An alarm and a WhatsApp cannot have the same notification weight.

So, what are you guys using? My first idea is that I’d like to get a call from HA. Will probably research that option, though I don’t think it’s a straightforward thing to do. Are any other alternatives you guys use?

For iOS I use critical notifications

2 Likes

The below script worked fine but I noticed that somehow the Arm mode is not shown anymore.
I use this script in the notification part of Alarmo.
Who can tell why this script does not work anymore?

service: notify.mobile_app_iphone_rob
data:
  message: >-
    {% if state_attr('alarm_control_panel.alarmo', 'bypassed_sensors') == none %}
     Het alarm is ingeschakeld op {{arm_mode|lang=nl}}.
    {% else %}
     Het alarm is ingeschakeld op {{arm_mode}}. Genegeerde sensoren {{bypassed_sensors}} 
    {% endif %}
  title: ""

I linked my Zigbee smoke/heat/water detectors that will trigger when the alarm is going off. You won’t be able to miss that.

1 Like

It’s nice, but the point is not hearing it. It’s being alerted when you’re away. :slight_smile:

I am trying to set up a Connect SmartHome smart siren with Alarmo. Has anybody been able to integrate this device into HA with ability to trigger the siren. I have tried to add with Tuya integration but comes up with the device but with no associated entities.
Thanks.

Hi,
This is a general question: I have Alarmo set in my HA that I control with to keypads: 1 Z-wave from Ring and 1 Zigbee from Frient. The Ring one has a :white_check_mark: button thal allows to bypass some sensors but I can’t find any equivalent on the Frient one.
If you can help me bypass open sensors with my Frient Keypad, I’d be very grateful.
Here is the Ring keypad: https://ring.com/products/alarm-security-keypad-gen-2
And here is the Frient one: Zigbee Intelligent Keypad - secure, and keyless access control - frient
Thanks a lot for your help.

Is there a way to make 2 away modes. one here if my dogs are in the house my motion sensor does not work. If they are not in the house and we are away motion sensor stays on?

It seems you’re describing the present and absent modes, no?

what are those modes?

Question about how Alarmo should work when you perform an action such as arming on one device (desktop PC), and what a second device (wall panel) should display?

I would have thought they would speak to each other, and if I arm on the desktop PC, it would show ARMED on the tablet? But for me, it doesn’t work.

The tablet using Fully Kiosk, all other functions (lights, music, camera etc.) seem to synchronize between the two devices.

Something’s wrong, as this is the normal way of displaying. But it is not, that the two panels speak to each other, every panel get’s its state from HA, so the panels talk to HA and not to each other. Might be important for your error search. :wink: If the state is changed from one panel, all your other devices should have that state immediately.

I was hoping to get some guidance here about a custom button I’m creating on my dashboard to control Alarmo.

If I have a button, can I add a tap_action that will open the Alarmo popup? By “Alarmo popup” I mean the box that opens when you click the Alarmo control that allows you to toggle between the alarm modes.

I have a button template such as below, and when tapped, I’d like the popup to open so I can set the Alarmo mode. I’m thinking I need to add a call-service action, but I haven’t been successful yet.

type: custom:mushroom-template-card
icon: |-
  {% if is_state("alarm_control_panel.alarmo", 'arm_away') %} 
    mdi:shield-home
  {% endif %}
  {% if is_state("alarm_control_panel.alarmo", 'arm_night') %} 
    mdi:shield-moon
  {% endif %}
  {% if is_state("alarm_control_panel.alarmo", 'disarmed') %} 
    mdi:shield-off
  {% endif %}
icon_color: |-
  {% if is_state("alarm_control_panel.alarmo", 'disarmed') %} 
    green
  {% else %} 
    red
  {% endif %}
layout: vertical
tap_action:
  action: null
entity: alarm_control_panel.alarmo