Is there a way to send vera a notification when a camera loses signal? I have my camera’s zwave switches in the event that I need to reboot remotely. I would like to set up an automation to reboot the camera on a lost signal by sending a command to the switch to turn off and then back on.
Is there a way to send vera a notification when a camera loses signal? I have my camera’s zwave switches in the event that I need to reboot remotely. I would like to set up an automation to reboot the camera on a lost signal by sending a command to the switch to turn off and then back on.
Sent from my iPhone using Tapatalk[/quote]
I think BI already has that under camera configs[/quote]
They do however a reboot request doesn’t work when signal is lost. So for any wireless camera’s that never works. In addition I use an AC wireless bridge on one of my camera’s, so I would want to configure an automation to reboot that bridge. I was wondering if a similar function that sends a motion alert to vera could also be used to send a lost signal alert.
Install bicommand (I installed it to C:\APPS\bicommand)
NOTE: Steps 2-10 are needed to bypass Windows UAC. If you don't enable UAC, then you can just write and run a bat file. As far as I can tell, bicommand needs to be run with Admin privileges.
Open Windows Task Scheduler (e.g., click Start Button, type task, then choose Task Scheduler)
In the Actions pane, Create Task to start wizard
Under General tab, type in a name (in my example, I’ll use bic_Swann2 where bic is short for bicommand and Swann2 is the shortcamname). You may also need to click checkbox for “Run with highest privileges”
Under Actions tab, click New, then leave Action as “Start a program”
For Setting Program/script, type (or browse to) C:\APPS\bicommand\bicommand.exe
Then install the Webserver plugin (in Evenghost, choose Configuration menu, choose Add Plugin, then scroll all the way down to find “Webserver”, then click OK)
Right-click the Webserver plugin, choose Configure Item.
Change the TCP/IP port to something unique and unused. Ensure the Event prefix says HTTP. Click OK
a. NOTE: I have no idea about the security of this. I am (perhaps naively) hoping that my router’s firewall is keeping anyone out even if they know my public IP, local IP, and port for the Eventghost Webserver. Whatever you do, don’t use port forwarding for your chosen port number.
In the Configuration pane, I created a folder to keep all my Blue Iris camera triggers (and creatively called it “BlueIris”)
Right-click this folder
Add Macro
Click Cancel
Right-click that newly created macro, choose Rename Item (name it something like your shortcam name; in this example Swann2)
Right-click your macro, choose Add Event
a. A dialog box pops up with Event Name.
b. Replace “Task.Activated.EventGhost” (or whatever was in there) with “HTTP.Swann2”
c. Click OK
Right-click this new lightning bolt icon (event) and choose Add Action
Look for folder System and choose Start Application, click OK
Under Executable, browse to your shortcut (in this case, bic_Swann2)
Under Command Line Options, type /run /tn bic_Swann2
a. where bic_Swann2 is the shortcut name we created earlier
b. Note: you might be able to skip this command line option since it was already established (I don’t remember needing to do it but it seems like I need to do it right now as I try to recreate this procedure).
Don’t forget to File-Save in Eventghost.
You can test it here in Eventghost and hopefully Blue Iris will capture a clip. In my case, the clip shows “External” as the cause. You can also test by typing this in your web browser:
where you add in your Blue Iris IP, EVENTGHOST Port, and same Eventghost name you used after “HTTP.” in the Eventghost configuration [again, in this example Swann2]
Now in Vera UI5, create a new scene where the only thing you add is this LUUP code:
local status, result = luup.inet.wget("http://192.XXX.XXX.XXX:YOURPORT/eventghost.html?Swann2", 5)
where you add in your Blue Iris IP, EVENTGHOST Port, and same Eventghost name you used after "HTTP." in the Eventghost configuration [again, in this example Swann2]
Now you have a scene that you can activate. In my case, I use a PLEG device.
Note: I had to search on how to run a scene under PLEG actions. In the PLEG configuration, go to Actions tab, create your condition, click Edit (which kicks you out of the PLEG dialog box and into a Scene-like UI5 screen), then click Advanced tab. Under Pick a device, choose your PLEG device. Then choose RunScene form the drop down. Then type in your scene number. Then click Finished.
I’m somewhat of a beginner to Vera and Blue Iris. I just pieced together a bunch of stuff from many places. So feel free to recommend better ways to accomplish. Good luck
[quote=“BOFH, post:99, topic:181819”]Have you checked if you can access Blue Iris directly using the same IP set in the plugin? I’m wondering if the DNS server you installed assigned a different IP to your Blue Iris server and the plugin doesn’t know that and is still looking at the old IP address.
Make sure that the DNS server you installed, assigns a ‘static’ IP to you Blue IRis server based on that servers MAC address. I’d suggest it do the same for Vera.[/quote]
yes I can input the IP into a browser and access the camera. All appears to be OK. How do I go about installing a static IP on the DNs. I’m using dyndns service and a D-link dir-826l router. i can’t find anyplace to install a static IP. Sorry for the questions but this is getting rather confusing.
Is anyone else having problem adding URL and DirectStreamingURL settings? They keep reverting to “/mjpg/index/video.mjpg” and “/image/index?q=80&s=80&time=now” after save and reload.
These string are automatically set. All you need to do is enter an ip / port for BI server and camera name.[/quote]
Thanks for creating this plugin by the way. Been waiting for this for years.
I understand. This happens after setting the correct parameters in the “advance tab” (IP:port, name, URL, directstreamurl, etc). Everything is working until after awhile (not sure what triggers it) it reverts back to the default “index” strings. The weird thing is that the devices in question DO NOT show up as created devices in the Blue Iris Camera Plugin page. I think I’m gonna start from scratch, I might have screwed something up somewhere. What’s the cleanest way of uninstalling the plugin?
I couldn’t find it that way either, but if I sort by date submitted, looks like it’s on the second page. Is this the most recent version with the admin password issue updated?
I couldn’t find it that way either, but if I sort by date submitted, looks like it’s on the second page. Is this the most recent version with the admin password issue updated?[/quote]
Ive been through every page in the mios app place and I cant actually see it anywhere. Any of you guys had any luck with finding it? Also ive already got it installed and I can see that its set to auto update but hasnt done so. Im still running 0.5.
Hmm, that’ so strange. If I go to apps>install apps, it automatically orders “By modified date” and “All categories.” The DSC alarm panel plugin shows up at the top of page 1. When I go to pg 2, it’s second from the bottom, though says last modified 07/08, so not sure it’s the most recent version. Hopefully Undertoe will chime in and let us know