I recently embarked on a project to integrate my Olarm security system with Home Assistant, and I wanted to share my experience and some tips for anyone looking to do the same. While the process was a bit of a learning curve, the end result has been well worth it!
Why Olarm?
Olarm is a fantastic security system, especially for those in South Africa. It’s user-friendly and offers reliable cloud-based monitoring. However, for those of us who enjoy the flexibility of Home Assistant, integrating it with our existing setup can provide a more seamless and customized experience.
Setting Up the Integration
I decided to create a YAML package for Olarm, which allows for a high degree of customization. This package uses the Olarm REST API and webhooks to create a manual alarm panel within Home Assistant. While there is an existing integration for Olarm, I found that creating a YAML package gave me the flexibility I needed, especially for managing multiple areas or partitions.
Requirements and Configuration
Before diving in, ensure you have the following:
- An Olarm device connected to your physical alarm panel.
- An active Olarm API account.
- A Home Assistant instance that supports packages.
- Internet access for your Home Assistant instance.
Here’s a quick rundown of the steps I took:
- Define Secrets: I added the necessary secrets to my
secrets.yamlfile, including my Olarm webhook ID, bearer token, device endpoint, actions endpoint, and alarm code. - Install the Package: I downloaded the latest YAML package from GitHub and integrated it into my Home Assistant setup.
- Customize the Dashboard: To make the alarm panel more intuitive, I customized the tile card and history graph to match the color scheme of the Olarm app. This involved tweaking the CSS and adding some custom JavaScript to ensure consistency across the UI.
Features and Benefits
The integration offers several key features:
- Real-time Updates: The alarm state updates in real-time, ensuring that any changes are immediately reflected in Home Assistant.
- Presence Awareness: The system can prompt you to arm or disarm the alarm based on your presence, adding an extra layer of convenience.
- Extensibility: The package is easily extendable, allowing you to integrate your own sensors or create custom automations.
Challenges and Solutions
One challenge I faced was zone monitoring. Unfortunately, the current setup doesn’t support real-time updates for individual zones, which is something I’d love to see in future updates. Additionally, bypassing zones directly through Home Assistant isn’t supported, so this needs to be done via the Olarm app.
Future Enhancements
Looking ahead, I’d love to see features like distinct alerts for different types of breaches (panic, fire, etc.) and better support for MQTT integration. These enhancements would make the integration even more robust and user-friendly.
Final Thoughts
Integrating Olarm with Home Assistant has been a rewarding experience. It combines the reliability of Olarm with the customization and flexibility of Home Assistant, creating a security system that truly fits my needs. If you’re considering this integration, I’d highly recommend giving it a try!
Have you integrated Olarm with Home Assistant? I’d love to hear about your experiences or any tips you might have!