Send a message to Vera to run a scene

Hi folks,

I have a program that I use for security cameras (outside of Vera). This app has the ability to run another program (PC based) or to send an email if one of the cameras goes out. I’m trying to figure out if there is a way to use one of these capabilities to tell Vera to run a scene which resets the camera (on a smart switch) if it goes out.

Any idea how that might work if it’s possible?

Thanks for your help,

Mark

Are these ethernet or wlan cameras? You could use the ping sensor plugin to make the vera detect if a camera is down and then let it reboot. This way you wouldn’t even have so send an eMail. Why do you want to send an eMail anyway, just use an app or the vera ui itself to reboot the cameras…

Possibly the software has more sophisticated methods than a ping to determine ‘the camera is out’?

Yep, it does, it can tell if it is actually transmitting a picture. Sometimes a they will respond to a ping but will have stopped streaming for whatever reason. The software I am using (Blue Iris) can sense this and take one of the actions above based on that.

You might find some ideas to do what you want here.
[url=http://forum.micasaverde.com/index.php/topic,10390.msg71578.html#msg71578]http://forum.micasaverde.com/index.php/topic,10390.msg71578.html#msg71578[/url]

Just thinking out loud here…

Does the email arrive in a certain format/structure?

Depending how handy you are writing or tweaking code It’s possible to have something look for particular email in a mail box and when found it can invoke an action on Vera. (Much like the Google Calendar plugin looks for a particular event to trigger). I looked for something similar a while back, I’ll see if I can find where things got to…

Will the program let you specify parameters for the ‘other’ program or specify a url?

for a url you could use: http://VERA_IP:3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=17 where 17 is the sceneID

If a url is not possible maybe start iexplorer.exe or whatever browser you use with the url above?