Integrating Blue Iris into Home Assistant - A Step-by-Step Guide

Hello everyone! I recently undertook a significant project to integrate my Blue Iris security system into Home Assistant. This guide is a result of my journey, sharing the challenges I faced and how I overcame them to achieve a seamless integration. My goal was to securely access Blue Iris from outside my local network without compromising on security, and I’m thrilled to share my success story with you.### The ChallengeBlue Iris, while powerful, lacks native support for HTTPS, making it challenging to integrate into a secure Home Assistant setup. Traditional methods like stunnel were either cumbersome or posed security risks. I aimed to create a secure tunnel using NGINX to expose Blue Iris over HTTPS, ensuring that my camera feeds and clips could be managed securely from within Home Assistant.### The Solution#### Part 1: NGINX Addon Setup1. Install the NGINX Proxy Manager Addon in Hass.io. This addon simplifies the process of creating a secure proxy.2. Configure SSL Certificates using Let’s Encrypt to secure your domain. This ensures all communications are encrypted.3. Create a Proxy Host in NGINX to forward requests to your Blue Iris server. This setup allows you to access Blue Iris securely over HTTPS without exposing it directly to the internet.#### Part 2: Blue Iris Configuration1. Enable Remote Access in Blue Iris by configuring the web server settings.2. Disable Insecure Features like auto-ban and secure session keys to ensure compatibility with the NGINX proxy.#### Part 3: Home Assistant Integration1. Configure Cameras in Home Assistant using the MJPEG platform, pointing to your Blue Iris server.2. Secure Access by storing credentials in Home Assistant’s secrets file.#### Part 4: Lovelace Integration1. Create Custom Lovelace Cards to display live camera feeds and control devices directly from your dashboard.### Key Takeaways- Security First: Using NGINX to create a secure tunnel ensures that Blue Iris remains protected even when accessed externally.- Ease of Use: By integrating Blue Iris into Home Assistant, I gained a unified interface for managing all smart home devices.- Customization: Lovelace cards allowed me to tailor the interface to my needs, making monitoring and control intuitive.### Final ThoughtsThis integration was a rewarding project that significantly enhanced my home automation setup. By combining Blue Iris’s robust security features with Home Assistant’s flexibility, I achieved a system that’s both powerful and secure. I hope this guide inspires others to explore similar integrations and unlock the full potential of their smart home setups!