Olarm integration

I will look into it.

Well done.

I guess I should have enabled notifications on this thread. I come back to find a whole integration has been built since I posted in January :sweat_smile: Sorry to those that I didn’t respond to in this thread.

Good day all,

So thanks a lot to the contributors for the integration, mine is working on a DSC PowerSeries alarm. I was just wondering - how would one actually trigger the alarm using this integration? I tried the service - but it didn’t work? I want to try and see how far I can stretch the application of my alarm in the house using my other PIR’s that aren’t directly linked to the alarm panel and/or Olarm.

Also, can’t whether there is a specific PGM linked to the trigger. Your help would be appreciated.

I have the error below with too many API attempts in the Olarm integration. I have changed this from 5 to 10, however the app/integration is not as responsive then as what it used to be.
This is due to Olarm limiting X amount of API calls in a certain timeframe.

If you have this issue, please log a call with Olarm for this error.
The reason is so that they can see how many users use this integration and put more resources to creating the MQTT/HomeKit/Google Home/API connectivity that they have been promising since last year.
See post below on the GitHub site.

Sensor update delays and unavailable. · rainepretorius/olarm-ha-integration · Discussion #85 (github.com)

Error:
Logger: custom_components.olarm_sensors
Source: custom_components/olarm_sensors/olarm_api.py:87
Integration: Olarm Sensors (documentation, issues)
First occurred: October 30, 2023 at 11:04:09 AM (7676 occurrences)
Last logged: 6:46:29 AM

Your refresh interval is set too frequent for the Olarm API to handle

Good day all, I have done an update on the Olarm Integration today and all of a sudden I am getting errors. What am I doing wrong?

Logger: homeassistant.setup
Source: setup.py:377
First occurred: 12:03:13 PM (5 occurrences)
Last logged: 12:03:13 PM

Unable to prepare setup for platform olarm_sensors.alarm_control_panel: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)).

Unable to prepare setup for platform olarm_sensors.binary_sensor: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)).

Unable to prepare setup for platform olarm_sensors.button: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)).

Unable to prepare setup for platform olarm_sensors.sensor: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)).

Unable to prepare setup for platform olarm_sensors.switch: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)).

Hey @jakesie :wave: :slight_smile:

Sorry to ping you on this old thread, I’m just curious if you managed to release your custom card for the alarm stuff?

It looked really neat! :slight_smile:

1 Like

Hey @eitel13

Apologies for the late reply. Never got time to create the card but happy to share the yaml code with you and assist where I can.

1 Like

That would be amazing! :slight_smile:

Might sound a bit like an odd question, but, how can I use the yaml?

I’ve only ever used built-in Lovelace or Mushroom cards and I’m not sure how to “use the yaml code” without a card type (if that makes sense? :sweat_smile:)

Assuming maybe it’s the “Manual” card? :point_down:

Thank you, the yaml code would be a great start.

For those interested, I went down the route of creating a YAML package for an Olarm.

One benefit of this approach is that you can customise this to your own needs.

The package uses the Olarm REST API and webhooks to create an HA manual alarm panel.

Home-Automation/home_assistant/packages/olarm.yaml at master · parautenbach/Home-Automation (github.com)

Features:

  • Real-time alarm state updates and triggers
  • Basic alarm management: arming/disarming (advanced management such as bypassing must be done via the Olarm app)
  • Presence aware: ask to arm/disarm when leaving/arriving
  • Extensible with more custom automations and integration of one’s own sensors
  • Area/partition aware (although not set up for multiple areas/partitions; make a copy if you want to manage multiple partitions)

Unsupported:

  • Zone monitoring (no real-time updates via webhooks or mqtt)
  • Bypassing zones (not implemented; not supported by the alarm integration)
  • Alarm action history (not implemented; not supported by the alarm integration)
  • Managing more than one area/partition (clone the package in order to do so)
  • How or who armed/disarmed the alarm (complex)

Future:

  • Distinct alerts (notifications) for breach, panic, fire and emergency (currently no distinction)
  • Hoping for an MQTT integration with additional features (multiple requests made to Olarm; apparently it is WIP)

Known issues & bugs:

  • Arming when a zone is active (open) will not fail when calling the API (issue reported to Olarm)

If you’re like me and don’t like green for an armed alarm on your UI (and you want it to match your Olarm app), check these two links for customisation:

Olarm YAML Package - Share your Projects! - Home Assistant Community (home-assistant.io)

I have Paradox panel currently running with a usb cable on my PC pushing to MQTT and into Home Assistant. I need to move to Olarm or similar as I’m now cancelling my phone line .

Is there a way to keep my existing USB based integration and the Olarm?

Are you using an IP150 module with your Paradox? Won’t the Olarm connect to the same headers on your panel? You can check the Olarm installation docs and compare it with what you see on your board to see if the IP150 is connected where the Olarm would.

Does anyone have any update regarding local or MQTT support from Olarm?

No the USB module.

It plugs on serial port too. Any thoughts how to get that and Olarm co-operating.

Have you tried contacting Olarm directly to ask? They might know.

I’ll just say that the USB there isn’t the USB one thinks that is. It’s just classical serie port comms (RS232), if I look at those baud rates. If there’s any sharing of hardware to communicate on this port or the Olarm port, then I don’t think it can work (RS232 can only communicate with a single device). Maybe the USB is supposed to imply how you can connect that module to a computer, but that’s kind of irrelevant here.

According to this guide, it looks like the same connector as for your USB module. I don’t know which of the panels listed there you have.

Just calling out again that I haven’t worked with a Paradox system.

I’ve read the MG5050+ panel has 2 serial ports which sounds like an option for me,

Hi All, I recently wrote this plugin for homebridge that connects directly to the olarm communicator via WebSockets and MQTT. The code may come in handy if you wish to port to HA.

Hi Luke

Does this only work through HomeBirdge?
Is there any direct integration for Home Assistant?

My plugin currently only works with homebridge (I have never used HA).
But I posted because I am sure someone here could benefit and very easily adapt an existing Olarm HA integration to follow along with my code (rather simple)

All good and thank you.
Was just checking that I’m not missing something.