Blue Iris Integration Tutorial

Thank you for this,

I followed your instructions and have all 4 of my cameras setup on a Camera Tab on Lovelace as picture entities. When you click on the Camera tab my PC that runs Blue Iris constantly makes the sound when someone logs in to a camera on BI. The camera images are updating every few seconds. Is it possible to adjust the time between the refreshes to stop this?

Don’t know the answer to that. Sorry.

In Blue Iris: Settings → Users → Your Account → Edit → Uncheck “On login play sound”.

Perfect !

Thank you. I couldn’t get the cameras to work using the username & password in the config file so I used the option above that allows only the IP Address of my HA box to log in. The Admin account is being used so I unchecked the “On login play sound” on that account

Is there a way to push a screenshot of the latest triggered camera? For instance I have Hassio in Kiosk mode on my tablet, is there a way to have a screenshot popup automatically when I specific camera is triggered?

You could do something similar to my other thread. Instead you’d just use a Call Service node like this:

The Data section has this:
{"filename":"/config/www/tensorflow/mailbox_fyc.jpg"}

I then use that to send it via a Pushover alert. The flow sends a snapshot of my front yard cam if anyone opens the mailbox.

You see anything wrong? I cant get either camera working…

image

image

That looks correct to me. What does it say in the logs for Home Assistant and Blue Iris?

Not sure what version of Blue Iris you are runnning, but the help file in mine says you need the /video.mjpg at the end of the url like:
http://192.168.1.100:81/mjpg/Cam1/video.mjpg

This works for me, but sadly only when on my home network…the streaming falls waaaaay behind when I switch to my cell connection outside of the house.
Pretty sure that is just my ISP though.

I got it work

Question,

With MQTT can we push to blue iris to change schedule?

I want in HA if everyone is gone then set up notifications. If home turn off notifications.

I use curl.

Here’s the automation:

  - id: blueiris_profile_2
    alias: Blue Iris Profile 2
    trigger:
      platform: state
      entity_id: binary_sensor.people_home
      from: 'on'
      to: 'off'
    action:
      - service: switch.turn_on
        entity_id: switch.blue_iris

  - id: blueiris_profile_1
    alias: Blue Iris Profile 1
    trigger:
      platform: state
      entity_id: binary_sensor.people_home
      from: 'off'
      to: 'on'
    action:
      - service: switch.turn_off
        entity_id: switch.blue_iris

And the command line switch:

switches:
  blue_iris:
    command_on: '/usr/bin/curl -X GET "http://a.b.c.d:8081/admin?profile=2&lock=2"'
    command_off: '/usr/bin/curl -X GET "http://a.b.c.d:8081/admin?profile=1&lock=1"'
    friendly_name: Blue Iris

Profile 2 does the notifications.

Hope this helps.

– John

2 Likes

Is anyone else havijng trouble with MQTT >> HA from Blue Iris 5?

@HITChris Sorry, not using MQTT with BI. Is the rest of the ‘integration’ still working after the upgrade to V5?

1 Like

Can I ask how you got it to work? My cameras stopped displaying in home assistant recently without any changes on my part (it was working for months before until recently- not sure if the recent HA updates broke anything).

What part you need? Many settings needed. You have blue iris set to work lan-only no authentication?

The below is my set up.

In configuration.yaml…
camera: !include cameras.yaml

In cameras.yaml…

In Blue Iris, I have the following.
image

When I check my HA logs, I am seeing the error below.
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Not sure if this is related to HA trying to access my cameras (it should be trying to access locally over http not https). My lovelace picture entity card looks like this:

  • type: picture-entity
    title: Backyard
    entity: camera.backyard
    camera_image: camera.backyard
    show_info: true

As mentioned before, I haven’t made any changes to my config besides updating Hassio (currently on 0.92.2) and it all of a sudden stopped working. Did you have to do anything with SSL/certificates to get it to work?

Two things I see different.

I would start with the mpeg_url in cameras.yaml “mjpeg_url: http://192.168.5.27:81/mjpg/HkF2

Then I unchecked the “use secure session keys and login page” in blue iris

Try those and report back

I made those two changes and when I log into homeassistant I see the following.
1.) The still image that is refreshed every 5 seconds or so is still not displaying.
2.) However when I click into the camera, I am (finally!) able to view the stream from the camera.

Is this the same behavior on your end as well or are you able to get #1 to show up?

correct. Still image every so many minutes then click and show live stream.