Blue Iris Integration Tutorial

That isn’t my guide or custom component. I’d stick with my instructions first and see if that works.

Ahh, okay. For some reasons, I was thinking this thread had something to do with that guide. I wish I had found yours at this point, but unfortunately, I’ve already sunk the time into the other one to get most of it all setup. I’ll keep looking for a solution.

Hi, wow, great, thanks for sharing that. Only thing I noticed was in the shared flow the top level is not in the raw file (auto disarm at 7/on/off etc, its missing the top 3 pieces.

thanks
Darren

Hi, i am finding for some reason my BI does not disarm in the morning, it arms ok, based on time or presence, but doesn’t disarm in the morning. From looking at the flow, the auto arm is on at 22:00 and off at 07:00 but the “already armed” has a halt if “on” so will it ever disarm? think I am missing something, as mentioned earlier the import file does not have your 3 top steps, but 2 of those dont appear to be connected to anything that would disarm at 07:00. Does yours disarm ok at 07?

thanks
Darren

No I followed this guide and used Reolink cameras with it.

NO not really, I have 10 cameras with BI running in a Windows VM . The VM has 6 virtual cores and 6g of memory it is currently running at 25% CPU usage and 38% Memory.

Sure :slight_smile:

Updated screenshot:

[{"id":"f47b4d90.26f09","type":"server-state-changed","z":"d9c0f69b.212ed8","name":"Group all_persons","server":"d0c07576.a657b8","version":0,"entityidfilter":"group.all_persons","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":132,"y":646,"wires":[["1a91e983.ea3b26"]]},{"id":"1a91e983.ea3b26","type":"switch","z":"d9c0f69b.212ed8","name":"home/away","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"home","vt":"str"},{"t":"eq","v":"not_home","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":387,"y":647,"wires":[["5281bd30.34fe84","13f6e2f1.7f6fcd"],["602de51e.2e3f0c","e71fdafc.4b3e18"]]},{"id":"602de51e.2e3f0c","type":"stoptimer","z":"d9c0f69b.212ed8","duration":"15","units":"Minute","payloadtype":"num","payloadval":"0","name":"Away for 15 minuttes","x":689,"y":775,"wires":[["e14f3e22.7fd8a"],[]]},{"id":"aeae2ba8.7586b8","type":"api-call-service","z":"d9c0f69b.212ed8","name":"Blue iris ARMED","server":"d0c07576.a657b8","version":0,"service_domain":"switch","service":"turn_on","data":"{\"entity_id\":\"switch.cam_armed\"}","mergecontext":"","output_location":"payload","output_location_type":"msg","x":1300,"y":850,"wires":[[]]},{"id":"67bc7753.180098","type":"api-call-service","z":"d9c0f69b.212ed8","name":"Blue iris DISARMED","server":"d0c07576.a657b8","version":0,"service_domain":"switch","service":"turn_off","data":"{\"entity_id\":\"switch.cam_armed\"}","mergecontext":"","output_location":"payload","output_location_type":"msg","x":1289,"y":668,"wires":[[]]},{"id":"a2fe68d8.35a308","type":"bigtimer","z":"d9c0f69b.212ed8","outtopic":"","outpayload1":"","outpayload2":"","name":"Auto arm 22:00-07:00","comment":"","lat":"59.74401","lon":"10.19079","starttime":"1320","endtime":"420","starttime2":0,"endtime2":0,"startoff":0,"endoff":0,"offs":0,"outtext1":"ON","outtext2":"OFF","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":false,"repeat":true,"atstart":true,"odd":false,"even":false,"x":575,"y":880.5,"wires":[[],[],["46904662.709658"]]},{"id":"5281bd30.34fe84","type":"change","z":"d9c0f69b.212ed8","name":"STOP","rules":[{"t":"set","p":"payload","pt":"msg","to":"STOP","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":463,"y":773,"wires":[["602de51e.2e3f0c"]]},{"id":"e14f3e22.7fd8a","type":"api-current-state","z":"d9c0f69b.212ed8","name":"Already armed?","server":"d0c07576.a657b8","version":0,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"switch.cam_armed","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1002,"y":802,"wires":[["aeae2ba8.7586b8"],[]]},{"id":"8af05a72.f210e8","type":"api-current-state","z":"d9c0f69b.212ed8","name":"Already disarmed?","server":"d0c07576.a657b8","version":0,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"switch.cam_armed","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1164,"y":584,"wires":[["67bc7753.180098"],[]]},{"id":"13f6e2f1.7f6fcd","type":"stoptimer","z":"d9c0f69b.212ed8","duration":"60","units":"Second","payloadtype":"num","payloadval":"0","name":"Home for 1 minuttes","x":617.75,"y":599.75,"wires":[["915434cb.e998d8"],[]]},{"id":"e71fdafc.4b3e18","type":"change","z":"d9c0f69b.212ed8","name":"STOP","rules":[{"t":"set","p":"payload","pt":"msg","to":"STOP","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":396.75,"y":547.75,"wires":[["13f6e2f1.7f6fcd"]]},{"id":"915434cb.e998d8","type":"time-range-switch","z":"d9c0f69b.212ed8","name":"Do not disarm between 22-07","lat":"59.74324","lon":"10.19092","startTime":"07:00","endTime":"22:00","startOffset":0,"endOffset":0,"x":871.36669921875,"y":593.75,"wires":[["8af05a72.f210e8"],[]]},{"id":"46904662.709658","type":"switch","z":"d9c0f69b.212ed8","name":"On/Off","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"ON","vt":"str"},{"t":"eq","v":"OFF","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":790.75,"y":884.75,"wires":[["e14f3e22.7fd8a"],[]]},{"id":"df3da212.1438f","type":"bigtimer","z":"d9c0f69b.212ed8","outtopic":"","outpayload1":"","outpayload2":"","name":"Auto disarm 07:00-22:00","comment":"","lat":"59.74401","lon":"10.19079","starttime":"1320","endtime":"420","starttime2":0,"endtime2":0,"startoff":0,"endoff":0,"offs":0,"outtext1":"ON","outtext2":"OFF","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":false,"repeat":true,"atstart":true,"odd":false,"even":false,"x":668,"y":438,"wires":[[],[],["d418109b.9758"]]},{"id":"d418109b.9758","type":"switch","z":"d9c0f69b.212ed8","name":"On/Off","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"ON","vt":"str"},{"t":"eq","v":"OFF","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":903.75,"y":449.25,"wires":[[],["9dd27d2e.51c18"]]},{"id":"9dd27d2e.51c18","type":"api-current-state","z":"d9c0f69b.212ed8","name":"Home?","server":"d0c07576.a657b8","version":0,"outputs":2,"halt_if":"not_home","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"group.all_devices","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1086,"y":451,"wires":[["8af05a72.f210e8"],[]]},{"id":"d0c07576.a657b8","type":"server","z":"","name":"Home Assistant","legacy":false,"rejectUnauthorizedCerts":false,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

Just one probably stupid question. Do BI support also video intercom so that it can stream video from intercom the same way as classic IP camera?
And if yes do it support some extra commands like trigger input / output relays?
Also, do support face recognition?
Thank you for answer…

Like you I would like to run BI in docker on Unraid I have found someone who got it working in docker, I just dont know how we can get it working in Unraid. here is the information https://hub.docker.com/r/jshridha/blueiris/

I tried BI on on unraid machine, but because of it’s dependency on Windows it kept on crashing.
Took an old dell and set it up. No problems and integrates well into HA.

Also had problems with the ports. I created a reverse proxy using lets encrypt but port conflicts. Also tried nginx proxy and similar problems. After 3 days of attempts, it was time to cut my losses and move on.

Does anyone know if its possible to send MQQT to more than one server address?

I don’t think you’re going to be happy with the results. BI can be picky on a good day, and running it via Wine in a docker container probably isn’t going to last long. Plus BI uses the registry to store all of the configuration information.

Is there a way to show a triggered camera on an echo show?

Thanks for the tutorial, managed to get everything working. Does anyone know how to reduce the bandwidth or quality of the outgoing MJPG stream served to HA? Whenever I pull up my camera in HA it shoots up to 150Mbps and CPU usage triples, when only recording and HA is closed it sits at 3 to 6 Mbps, CPU usage 5-10%. This is only with 2 cameras. Thanks!

Blue Iris can handle that perfectly by itself. I have Blue Iris running here on a dedicated windows server. Blue Iris needs a decent CPU, minimum 6th gen core i5 or better. On a core2duo it will hog you cpu to full 100% and be veeery slow. I upgraded to Ryzen 2600 6-core because of Blue Iris.
OT: I get an email with 3 or 4 photos(you can set the number of images) when a cam gets triggered, taken with a small adjustable interval. I use 1 second.
For triggering, you can “draw” the zones that the camera should not use for triggering, like moving plants, cars, drying laundry in the back yard, etc. This works really great.

My tip: get a CPU upgrade. I upgraded to a Ryzen 2600, and BI now only uses 2% CPU with 3 cams. :slight_smile:

does anyone have any issue with slow triggering of mqtt messages. i have it set up (as per hook up rob’s youtube vid) but there is a huge delay between motion and the binary sensor turning on in HA

@tbar05 Try optimizing

1 Like

that link didnt work… but i have optimized my system. my 6 cameras use less than 10% cpu generally so i have no issue there. it just seems to take a long time to either fire the trigger, or for home assistant to pick it up so im not sure how anyone could use the mqtt motion event to turn on a light for example since the delay is so large

How much of a delay are you experiencing?