Ajax alarm system

Since upgrading to HA 2023.11 all my automations with my Ajax alarm were screwed and I had to reconfigure them. But now most of the conditions I could check before are missing in the drop downs.

Arming no longer triggers my automation but disarming does.

I have manually set “is_armed_away” in the yaml but this does not work as a condition in my automations any more. It is also missing from the drop down box.

Well strange, running 2023.11 as well without a hiccup. Did you check logs?

There is nothing in the logs. When up i upgraded from 2023.10 to 11 all the device ids for the Ajax alarm were missing in my automations and had to be reapplied.

“is_armed_away” does not appear as a condition in the drop down. It also doesn’t work when manually entering it in the yaml.

Disarming will trigger my automation but arming doesn’t.

i had to change the yaml manually to “armed_away” instead of using the drop down and selecting “armed”…Now it triggers my cameras.

Why does the dropdown not contain all the states allowed that the yaml does?

This post is dedicated to Ajax full integration not the SIA integration. I would advise to post an issue on GitHub

Have i missed something? Is there a new integration? I was sure i was using the Ajax integration which seemed to be based on the SIA one.

there just just one official SIA integration. before that there was an unofficial one. and now there are some fellows working on a full integration with Ajax, that is read and more importantly write to the Ajax API

Hi @Den901 great work on getting the API integrated with NodeRed. I’ve just got API access too and wondered if you could share your NodeRed flows again as I couldn’t get the ones here to work (maybe a format issue)?

@imperium85 I’ve just got past this step (I imagine we are picking through @Den901 work step by step at the same time.

The hash string is literally just the password for the user, however I found it wouldn’t allow me to use my e-mail and password, I had to set up another user. I’m assuming this is to do with the userRole as my profile is the Admin.

So I set up another user, which had to be a unique e-mail so I used an alias and a unique phone number which luckily I have a works one so used that. From there I’ve been able to get individual API flows working on NodeRed, can arm and disarm etc, I’ve just not tied it all together yet.

Does anyone know if it’s possible to get motion sensor alerts from the Ajax MotionProtect (using the API or otherwise)? It’s great that we are progressing towards being able to set and unset the alarm via HomeAssistant but it would be really useful if we could use the motion sensor for automation. I’m assuming it’s probably not possible since it would drain the battery but thought I’d ask.

Hi,
Have you already started with the code somewhere? I just build a very basic python login + get user info flow with the requests library… I would not claim my python code writing skills are pretty, but I can help if you have something ongoing. Otherwise I’ll continue with my quick and dirty hack and see how far I get.

Sorry it’s a bit of a long thread to work through and not sure what the state of integration is. I currently have an older Paradox system in my home which I have over time fully integrated into Home Assistant with the ability to control alarm, bypass zones, get motion into HA etc.

I have a second property which I need to add an alarm system to and I am considering the Ajax system (with better sensors, photo on demand etc.). How would I integrate it and what level of control would I be able to do from Home Assistant?

I need to decide between Paradox and Ajax.

With the current SIA integration, you’ll be able to read alarm states but not to act on the alarm. You’ll will not be able to read whether a door is open is closed, but you’ll be able de know when such a sensor triggered the alarm for instance. If you’re ready to tinker, then you’ll be able to arm_away, arm_night and disarm as described in this post. You are not forced to use ESPHome, anything that drives 3 relays will be fine.

Thanks, that’s a shame. Saw @Den901 had success getting API access. Did that not work? Or were we not able to expand on that?

Will probably get the less capable Paradox because I can integrate that easily.

Agree on that. No real news from the fellows working on that on there side. Maybe I’m wrong, but I don’t see any willingness to come up soon with an official integration or at least an HACS one.

Moved from NR to HA SIA integration and cant figure out how to expose Ajax SIA alarm_panel state to moqsuitto broker
added this to configuration.yaml

mqtt:
  - alarm_control_panel:
      name: "Ajax Alarm SIA"
      qos: 1
      code_arm_required: false
      code_disarm_required: false
      code_trigger_required: false
      state_topic: "ajax/alarm/state"
      command_topic: "ajax/alarm/set"

But Home Assistant doesn’t publish any values / topics
help would be apreciated

Maybe this can help you:

alarm_control_panel:
  - name: "Alarme"
    unique_id: 610
    object_id: 610
    code_arm_required: false
    code_disarm_required: false
    code_trigger_required: false
    supported_features:
      - arm_away
      - arm_night
    state_topic: "domoticz/out/610"
    value_template: > 
      {% set value_map = {
        "0": "disarmed",
        "10": "armed_away",
        "20": "armed_night",
        "30": "triggered"
        }
      %}
      {{ value_map[value_json.svalue1] }}
    payload_arm_night: "20"
    payload_disarm: "0"
    payload_arm_away: "10"
    command_topic: "domoticz/in"
    command_template: >
      {"command": "switchlight", "idx": 610, "switchcmd": "Set Level", "level": "{{action}}"}
    retain: true
    qos: 0

nope, it seems not for configuration.jaml (it asks platform and so on)

Has anyone managed to get AWS SQS working with Home Assistant or possibly Node-RED?

Hi at all, i need to change a alarm system at house, I see Ajax, but I want to know if is integrable in home assistant, I want to see only sensor state, no arm or disarm feature.
Is possible with sia ? Thanks