Welcome to Hubitat!
For motion detection, see the bottom of post #1.
Also, this code isn't being kept up anymore, all functions are now part of Event Engine.
Thanks
Welcome to Hubitat!
For motion detection, see the bottom of post #1.
Also, this code isn't being kept up anymore, all functions are now part of Event Engine.
Thanks
I recently did this and it works flawlessly for BI sending commands to HE. As @bptworld said, the first post explains it, but here you go.
BI Control is one way, Hubitat to Blue Iris. BUT... there is a way to receive alerts from Blue Iris just using Rule Machine!
Note: This was written for BI4. If using BI5 results may vary.
Thanks, I did see that and was able to get it working. What I was really asking was if people were able to create like a "virtual motion sensor" in HE from a camera that can be selected as a motion sensor since directly using the local end point everywhere isnt DRY code and also the state of it cant be checked in conditional statements etc.
Secondly, I was also trying to determine "devices are also available to use in rule machine" meant that installing BI Control would make its functionality like panning a camera available in rule machine or all the needs to be done directly in BI Control (I guess actually in Event Engine now).
I created virtual Motion devices for each area my cameras are covering (I set them to automatically change to inactive after a few seconds) then exposed those virtual sensors via Maker API which I then set to active via the Web request or MQTT option.
I see, and when you say you created them, that is all done in Maker API? If so I guess Ill look for a tutorial and hopefully can take it from there.
On the Devices page
On the devices page
Repeat for each camera area where you want virtual devices
Then on the Apps page
192.168.2.17/apps/api/6715/devices/1909/active?access_token=Fsdfjkhw3-erjoj4t-orjgoj4
Put that line in the Web Request or MQTT alert option in the cameras properties with the HTTP type that should activate the VM sensor in Hubitat when there is motion detected and alerted on via the camera.
Thank you so much, this worked perfectly great instructions.
It works great with BI 5 to control BI profiles with Hubitat modes.
However it doesn't do anything to make the camera's video streams available on the Hubitat dashboard. That has to be done with http commands and depending on your stream settings and browsers it may not always work the same.
I got this (Blue Iris feeding detected motion back to Hubitat Virtual Motoin Sensors) going the other day -- huge thanks to @bptworld who gave me a quick pointer on this.
The issue I'm having is finding the right balance between quick motion detection + false alarms. Anyone found a good mix of settings that works for them?
Indoors, I'm finding I have to set the max % object detection to something real small (30-35%) or else lighting changes will trigger motion, but then I have to balance that by cranking minimum object size + contrast waaay down otherwise it won't trigger on legitimate motion.
Open to the expertise of the community, who I'm sure have battled similar things.
Are you using DeepStack if not look into that. It integrates easily with BI now.
How fast do you think the object detection is using this method?
I'm currently using Camect for object detection, but I supplemented it with BI motion detection because I find it just fires too slow. The Camect object detection is accurate and I like how you can customize the alerts they throw -- but taking multiple seconds to flag a person walking up my driveway just wasn't working for me.
DeepStack is local as well but runs on your BI hardware unless you want to manage it otherwise, it's also free. Our DeepStack alerts usually happen through Hubitat to pushover in about 2 seconds after activation but it all depends on your hardware and settings. You can have it analyze multiple still shots per activation for people cars, cats, dogs, ... We usually know someone is approaching about 10 seconds before someone arrives at the front door. DeepStack will rarely see an insect on the lens as a person but that happens very infrequently.
I'm not sure if this is expected behavior or not. I have BI Control configured to "Camera Trigger" based on a separate motion sensor (battery-powered thing). This should then fire my BI trigger, and implicitly, my BI alert (SMS). Rather, it is simply creating a snapshot (as defined in the BI "Posts" area) and doing nothing further. It's as though it's not really performing a "trigger". Am I missing something obvious?
Please show how you have this setup (screenshots)
ended up doing an http get and its working now!
Just wanted to give Kudos. This is awesome using end points and creating "virtual motion sensors" out of my BI cams. Very cool for text alerts for packages in weird places. They just started randomly putting packages in our alley and I almost ran over one with my car today. So now I have an alert that if motion goes off in a certain BI zone, and the garage door is closed & stays closed for a 1 minute (meaning a car didn't set off the motion), send a call back to BI and do an SMS alert of a whole camera group. This is seriously awesome.
Thanks! Few questions:
Thanks!
Maybe a dumb question but not so obvious to me. where do I find the local end points for Rule Machine and BI?
It can be done another way as well, see this post