Sorry if this is too ISY-994 centered but I originally posted it in their forum.
I do not know why I haven’t known about HA until recently and only found it when I started searching for a way to say “Hey Google, show me the front door camera” and have the home automation system automatically cast it to the main TV and power everything up if off. Works well with Blue Iris (might work with other software for cameras or even natively with IP cameras themselves, I did not try). Below is the network resource that I use for it.
You need HA (I have it running on a windows PC but plan to move it to a Pi 3 soon). ISY with the network module (obviously). Or you could use IFTTT to talk directly to HA if you don’t have a ISY-994i. You’d have to open up HA to the outside. Blue Iris camera DVR software. (If you have cameras and don’t have this you should, it’s amazing and integrates well with the ISY) A device that will cast to a TV from HA and a Google Home or Amazon Echo.
You have to add the cast to device and the cameras to HA. The cast to device should be found automatically by HA.
in the configuration.yaml add for each camera in Blue Iris that you’d like to cast. Groups work too if you have them set up in Blue Iris.
#Front Door Camera
camera:
- platform: mjpeg
mjpeg_url: http://address of Blue Iris Server:port/mjpg/cam1(Blue Iris shortname for camera)
name: Front_Door_Camera
username: Blue Iris Username
password: pw for Blue Iris
authentication: basic (must have secure for LAN only turned off in Blue Iris I think)
Once you have all that setup you can make the following network resource in the ISY and call it from the Google Home or Amazon echo. I prefer the Google Home because I can use IFTTT and make the command “show me the front door”. With Echo I have to say “trigger show me the front door” or "turn on show me the front door. You get the picture.
Network Resource that tells HA to cast the camera video:
http post Host = ip of the HA server Port = 8123 (unless you modify it in HA) Path = /api/services/media_player/play_media?api_password=xxx (if you set one up in HA)
Raw text Body = {“entity_id”:“media_player.shield”, “media_content_id”:“http://ip address of Blue Iris:port of Blue Iris/mjpg/cam1(whatever you set up in HA)/video.mjpg”,“media_content_type”:“image/jpg”}
“shield” above is whatever HA sees your cast to device as.
Add it to a program that you can call from IFTTT or directly to the ISY from Google Home or Echo. For IFTTT use Google Assistant Trigger or Amazon Alexa and Webhooks as the action to the program in the ISY. Have fun!
Next, I plan to use an Arduino Nano with an ESP8122 to detect the door bell and send to the ISY and then cast that camera when activated.