Vera Blue Iris Unofficial Plugin

Actually one further question

I need Vera to trigger BI to start recording. This is possible? if so how?

It will be possible in the upcoming release

Woo hoo!

Excellent Stuff, cant wait

Undertoe, dont know if this would add value to you, but I have access to the developer of BI…long story. PM me if you think this would help.

[quote=“rafonline, post:144, topic:181819”]Excellent Stuff, cant wait

Undertoe, dont know if this would add value to you, but I have access to the developer of BI…long story. PM me if you think this would help.[/quote]

You can already trigger BI to start recording by sending a http command. And you can send the http command via LUUP in scene or with PLEG.

The command would be as follows:

http://“YourIP:YourPort”/admin?camera=“ShortCarmeraName”&trigger&user=“YourUserName”&pw=“YourPassword”

So for an example of my computer IP # 192.168.1.100 and port #9999
May camer short name is Patio
and my user is ADMIN and password is TEST

http://192.168.1.100:9999/admin?camera=PATIO&trigger&user=ADMIN&pw=TEST

That will trigger “Patio” camera to start recording

All of this and more can be found in the “BLUE IRIS HELP PDF” serach google for it.

Page 77 under “Direct image, video and command requests”

But if you have access to the developer he should be able to help you. LOL

I currently use this command
/admin?profile=x Where “X” is the profile number 1-7 that you want. In the example below is #3

http://192.168.1.100:9999/admin?profile=[b]3[/b]&user=ADMIN&pw=TEST

Using my current “home and away” setup in vera I can change BI to different profiles that have different alerts and set motion areas. When I’m gone it records inside the house with any motion, and will send me alerts if motion is detected on inside and outside cameras where people shouldn’t be if I’m home.

When I’m home I don’t want private recordings of inside the house ;D and I don’t want to get a ton of alerts from BI while I’m home.

BI now does some of this with the built in GEOfence on their app, but I haven’t got mine to work very well and I already have a more complex setup then just geofence already taking place in vera so I just use PLEG to send a HTTP code to switch up the profile when me or the wife leave.

EDIT: sorry one more thing in LUUP to send an http command you need to put it in this

luup.inet.wget(“InsertHttpHere”)
Leaving the “” in place. So for above example would look like this

luup.inet.wget(“http://192.168.1.100:9999/admin?profile=[b]3[/b]&user=ADMIN&pw=TEST”)

oh excellent

so, basically create a scene that will run the http command?

can you give further details on how to do this?

[quote=“rafonline, post:146, topic:181819”]oh excellent

so, basically create a scene that will run the http command?

can you give further details on how to do this?[/quote]

Well I personally use PLEG. But for this it’s about the same.

Click Automation, click New scene, Click trigger, then add trigger, select your device (Your probley thinking a motion or door sensor) and when its tripped, save that. Then Click LUUP and enter the code with your info I have posted. Confirm and save.

Now every time that sensor you set trips it will send that http command to BI to trip it and start recording for what ever length of time is set in BI.

You can test your HTTP command by opening a web browser and typing in your “Http://” command and if successful you will get a green light and if you look at BI you’ll see that camera is tripped for recording.

thanks, ill try that. out of interest what is PLEG?

I’ts a Plugin that creates scenes much more advanced then what you can do with the stock Vera automation or scenes section.

Search the forum there’s a whole section on it.

ok thanks

Doesnt seem to be working. Is there a way that I can test the LUUP code from vera directly sending to BI?

[quote=“rafonline, post:150, topic:181819”]ok thanks

Doesnt seem to be working. Is there a way that I can test the LUUP code from vera directly sending to BI?[/quote]

Have you turned off or un checked “secure only” under Options/Web server in BI as talked about further back in this thread?

Test it from a browser first if it don’t work there it wont work period. But after you create the scene and enter the loop there is a run this now.

What’s your error? Are you useing internet explorer (doesn’t work for me on chrome)? Are you doing it locally? Right IP address and port to the BI computer.

oh sorry my bad I just read the rest of your post on putting the http in a web browser to test. It worked once, but doesnt always work upon refresh. Any suggestions?

just like you it doesnt work in chrome, but Safari works nicely (using a mac)

I will try to put it in a scene now

Should always work. Let me know how the scene goes.

So the url works everytime through safari no issues.

Ive created the Scene but have done so with nothing inputed into it but the LUUP code. I click Run now on the scene, and I see nothing being recorded on the BI side.

I know the URL is correct because it works from Safari.

Any ideas?

Yea you imputed the wrong code.

XXXX out user and password and copy and paste how you have it. More then likely your missing something.

Did you see this in a few post back. This is how it should look with your HTTP between the “” keeping the “” in there.

luup.inet.wget(“http://192.168.1.100:9999/admin?profile=3&user=ADMIN&pw=TEST”)

Here is what ive got:

luup.inet.wget(“http://192.168.1.103:XXX/admin?camera=livingkitchen&trigger&user=XXX&pw=XXXX”)

Ive tried it both single quotes and double quotes as I read on a forum somewhere that this can make a difference.

Ive also obviously got the correct port.

Hmmm looks correct. You do have the secure only Un checked in BI?

correct yes I do

its very strange been trying to work it out

[quote=“rafonline, post:159, topic:181819”]correct yes I do

its very strange been trying to work it out[/quote]

Ok i think i found the problem and I’ll take the blame for it. Remove the http:

Try this

luup.inet.wget(“192.168.1.103:XXX/admin?camera=livingkitchen&trigger&user=XXX&pw=XXXX”)

I just looked at my LUUP for blueiris and noticed I don’t use http like my others.