Author Topic: Alexa, Vera and Cameras  (Read 333 times)

Offline owensct

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +1/-0
Alexa, Vera and Cameras
« on: August 31, 2018, 08:54:57 pm »
Hi All,

So I was trying to create an emergency scene for my wife so that if I'm gone she can activate if she hears a prowler etc. I want the scene to 1. turns on all connected lights in the house, 2. sets off the siren and 3. Start all the cameras in the house recording video. Unfortunately, the Alexa app is telling me cameras are prohibited. I won't get into why I think it is absolutely stupid for a passive device like a camera to be prohibited and just ask  if someone has a Lua way around this?

BTW I am using the Blue Iris app to create the cameras with BI running on a separate computer in my secured server room.

Any suggestions are much appreciated.

Thanks

Gordon

Offline Nameless

  • Full Member
  • ***
  • Posts: 189
  • Karma: +4/-0
Re: Alexa, Vera and Cameras
« Reply #1 on: September 01, 2018, 01:28:05 am »
There's a couple ways to integrate Blue Iris into Alexa. You can add Alexa as a user in the Blue Iris interface, see the BI PDF for details. Then you can switch BI profiles by asking Alexa to turn Blue Iris to xx%. The xx is an increment of 10 and the first number represents the profile number. So 10% would be profile 1 as an example. This could likely be added to an Alexa Routine through the app.

The other option is a Vera scene using Lua. I don't have that handy, but check the Blue Iris plugin thread in this forum to get what you need. Then you can name the scene after Alexa discovers it. I use sayings such as "turn on porch mode" to turn off those cameras if I plan to sit on my porch, as an example.

Sent from my SM-G950U using Tapatalk


Offline RogerO

  • Full Member
  • ***
  • Posts: 137
  • Karma: +1/-2
Re: Alexa, Vera and Cameras
« Reply #2 on: September 01, 2018, 10:07:52 am »
You can change profiles in BlueIris with this code:
luup.inet.wget("http://xxx.xxx.xxx.xxx:81/admin?profile=3&lock=2&user=username&pw=password")


Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1379
  • Karma: +36/-35
Re: Alexa, Vera and Cameras
« Reply #3 on: September 02, 2018, 09:21:05 pm »
You can change profiles in BlueIris with this code:
luup.inet.wget("http://xxx.xxx.xxx.xxx:81/admin?profile=3&lock=2&user=username&pw=password")

That is what I use when I change to Away/Night/Vacation mode (profile 1) and profile 0 in Home mode.
Vera 3, 1.7.1030, CT101, Everspring motion sensor, GE/Jasco switch, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, Weatherunderground, LB60Z-1 bulb, Hue, Alexa