@motoolfan thank you
It’s been awhile since I’ve written anything in this thread, however I just got my Lenovo Google Smart Display and wanted it to be able to do “OK Google, show me the baby room” and have the baby camera display on the screen.
I’m pleased to say I’ve gotten it working, including every other camera hooked upto BlueIris. You can even send the signal to any Chromecast device!!! It’s late at night right now, but if you’re interest to know how to do this let me know and I’ll do a write up.
hi,
i will love if you can show how you did it
thx
Yes, definitely interested! I’ve tried feeding my BlueIris streams to chromecast in the past, but after multiple attempts I gave up. Very curious how you got that part working!
I don’t have a Smart Display (yet), but this would be a compelling reason to get one.
That would be great. Thanks for sharing !
Ok guys, I’ll do a writeup of the code and the settings i used in Blue Iris in a new thread. I’m even going to create 2 drop down boxes in HASS, one to select the camera and one for the target chromecast device. With that you can pick the values for which camera to cast to which device!!!
That would be great feature to know. Please share when you have time to do the doc
The link is directly above your message
Hi
I am trying to include iframe for my BlueIrs. when I say my BlueIris what I mean is the URL similar to this http://192.168.0.21:81/jpegpull.htm which I could use from any PC in my home network to view Blue Iris (9 cameras set up).
For some reason iframe come with a blank page. I have few Ifames in HA working (router, Access Point and Node Red). I never got to get my Synology NAS to iframe as Synology system does not allow.
My Config
panel_iframe:
nodered_flows:
title: ‘Node-RED Flows’
url: ‘http://hassio.local:1880’
icon: mdi:nodejs
router:
title: ‘Huwai Router’
icon: ‘mdi:router-wireless’
url: ‘http://192.168.0.1/’
tp_linlk:
title: ‘TP_Link AP’
icon: ‘mdi:router-wireless’
url: ‘http://192.168.0.254/’
blueiris:
title: ‘Blue Iris’
icon: ‘mdi:cctv’
url: http://192.168.0.21:81/jpegpull.htm
I also tried URL: http://192.168.0.21:81/login.htm?page=%2F%3Fpage=%2F%3Fpage=%2Fuser=admin%3Fpwd=admin%2F
still same result
Anyone could help
I’ve just started playing with this. For some reason, Blue Iris is super slow at triggering these alerts… are there any options I should be looking for to speed this up?
Hi All,
first time here so please be patient with me…
I am trying to get motion from Blue Iris , I believe I have this set up correctly as I do get the binary sensor in HA . I have followed JesseWebDotCom example but cut it down to suit one camera . In HA I do see the binary senor change state “off” to “on” and the group motion state change from"Off" to “unknown” ? Group motion won’t change to “On” or change back to “Off” Any ideas ? Checked syntax is ok .
In Group
Motion_outdoor_cammera_all:
name: Motion Outdoor (Camera)
view: no
icon: mdi:camcorder
entities:
- sensor.motion_camera_front_cam
In configuration
-
platform: template
sensors:
motion_camera_front_cam:
friendly_name: ‘Front Cam’
value_template: >-
{% if states. binary_sensor.blue_iris_cam1.state %}
{% if is_state(’ binary_sensor.blue_iris_cam1’, ‘on’) %}
On
{% elif is_state(’ binary_sensor.blue_iris_cam1’, ‘off’) %}
Off
{% else %}
{{ states(’ binary_sensor.blue_iris_cam1’) }}
{% endif %}
{% else %}
Off
{% endif %}- platform: template
sensors:
motion:
friendly_name: Motion
unit_of_measurement: ‘On’
value_template: >
{% set total = 0 %}
{% if is_state(’ binary_sensor.blue_iris_cam1’, ‘on’) %}
{% set total = total + 1 %}
{% endif %}
{{total}}
- platform: template
Thanks in advance
Graeme
Hi All,
found problem , was syntax error .
Thanks anyway.
Does this method still work. I did this when TEST I get a response and not error. However no detentions recorded in HA entity register
I followed @ [JesseWebDotCom] is method in HA and I am only seeing “off” state only
https://github.com/JesseWebDotCom/home-assistant-configuration/blob/master/packages/camera_motion.yaml
would you mind sharing the correct syntax. I am having issues where I seeing “off” in the UI.
How did you set up the Blue Iris. I followed method as per @ Sebastien_Couture in this thread. I do not get error doing TEST in Blue Iris but HA is not detecting anything
configuration.yaml
camera:
- platform: mjpeg
mjpeg_url: http://cam_ip:81/mjpg/Cam1
name: Side
username: admin
password: !secret cam_pw
authentication: basic
group.yaml
cctv1:
name: CCTV1
view: yes
entities:
- camera.back
- camera.kennel
Thats it…
Hi
Would you mid sharing HA configuration side.
Do I need to define the camera in configuration.yaml and the then a sensor for motion detection? If so would you mind sharing code you have?
Wll I have my camera in configuration.yaml
camera:
- platform: mjpeg
mjpeg_url: !secret bi_url_entrance
name: entrance
username: !secret bi_un
password: !secret bi_pw
authentication: basic
Then in sensors.yaml
-
platform: template
sensors:
motion_camera_entrance:
friendly_name: ‘entrance’
value_template: >-
{% if states.binary_sensor.blueiris_entrance.state %}
{% if is_state(‘binary_sensor.blueiris_entrance’, ‘on’) %}
On
{% elif is_state(‘binary_sensor.blueiris_entrance’, ‘off’) %}
Off
{% else %}
{{ states(‘binary_sensor.blueiris_entrance’) }}
{% endif %}
{% else %}
Off
{% endif %} -
platform: template
sensors:
motion:
friendly_name: Motion
unit_of_measurement: ‘On’
value_template: >
{% set total = 0 %}
{% if is_state(‘binary_sensor.blueiris_entrance’, ‘on’) %}
{% set total = total + 1 %}
{% endif %}
{{total}}
In groups.yaml
motion_bi_cameras:
name: Motion BI Cams
icon: mdi:camcorder
entities:
- sensor.motion_camera_entrance
In the entity register I see
binary_sensor.blue_iris_entrance with status “OFF”. I also have entity sensor.motion_camera_entrance with status “OFF”
In the BuleIris application I used
192.168.0.200:8123/api/states/binary_sensor.blue_iris_&CAM?api_password=password
{“state”:“on”}
192.168.0.200:8123/api/states/binary_sensor.blue_iris_&CAM?
{“state”:“off”}
Should it be " 192.168.0.200:8123/api/states/binary_sensor.blueiris_&CAM?" not " 192.168.0.200:8123/api/states/binary_sensor.blue_iris_&CAM?"
OK. I figured out part of it. I had in camera sensor.blue_iris and in HA sensor.yaml sensor.blueiris. When i made these same I get sensor.motion_camera_entrance and binary_sensor.blueiris_entrance in entity register. But both state “off”
When I manually trigger TEST in Blue Iris app then I get “on” state in HA for the sensors above.
However it remain “on”. Does not revert back to “off”. Also only when I manually trigger TEST this happen. BI does not seems to be triggering it on its own automatically. I am on BI 4.8.xx. Since I have 10 cameras I checked for several more. Only manual trigger change state in HA to “on” but then it never turn back off AND BI does not trigger on/offs per detection
If anyone reading above comments from me please ignore them. Both HTTP and MQTT methods discussed in this forum work.
Why I had issues was due to the fact that I had applied a profile (where I have excluded certain time periods to ignore for recordings in BI). As I have been testing within the excluded time periods I did not get any triggers!!!. My bad.
Thanks for all the guys who provided insight here