We have moved at community.getvera.com

Author Topic: amazon alexa announcement if a vera device door sensor is open/close  (Read 3491 times)

Offline robie

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Hi, can an amazon alexa speaker announce when a vera device door sensor is open/close?  I'm using gocontrol zwave door sensors. 

The article here says that alexa is capable but i do not know how to add my vera connected zwave door sensor as a device in amazon alexa -

https://homealarmreport.com/alexa-supports-smartthings-sensors-and-custom-messages/

Offline bogdanf

  • Steering Box Fanclub
  • Administrator
  • Full Member
  • *****
  • Posts: 235
  • Karma: +8/-1
  • Did you change the oil ?
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #1 on: October 25, 2018, 06:57:43 am »
For the moment this feature is not available in the Vera skill for Amazon Alexa.
This is something that will be added in one of the next updates.

Offline hellovn

  • Sr. Member
  • ****
  • Posts: 279
  • Karma: +19/-46
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #2 on: October 28, 2018, 04:58:25 pm »
OpenHab or Home Assistant could send a custom message to any Echos. You can install the open source app and use vera to send the custom message through HTTP requests.

Offline robie

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #3 on: October 29, 2018, 04:56:36 am »
OpenHab or Home Assistant could send a custom message to any Echos. You can install the open source app and use vera to send the custom message through HTTP requests.

thanks for the input HelloVN.  I googled your suggestions.  Both options seems to require a Raspberry Pi or a 24/7 home pc and programming skills to write a script without a user friendly interface.  it will be awesome though if it works.

Will this bypass the vera or is this in addition to the vera setup?  If it still has the vera, how will vera communicate with the OpenHab or Home Assistant?

Offline robie

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #4 on: October 29, 2018, 04:58:13 am »
For the moment this feature is not available in the Vera skill for Amazon Alexa.
This is something that will be added in one of the next updates.

Looking forward to this, thanks.

Offline robie

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #5 on: October 29, 2018, 05:05:12 am »
Was thinking of making a virtual switch in vera that corresponds to my door status then that will be the trigger for alexa to make an announcement.  However, sad to see that amazon doesn't recognize any of my vera connected devices as a supported device for the routines. (my vera connected lights, plugs and locks are listed in amazon alexa devices but not working as trigger in routines)
« Last Edit: October 29, 2018, 05:08:29 am by robie »

Offline hellovn

  • Sr. Member
  • ****
  • Posts: 279
  • Karma: +19/-46
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #6 on: October 29, 2018, 06:26:38 pm »
OpenHab or Home Assistant could send a custom message to any Echos. You can install the open source app and use vera to send the custom message through HTTP requests.

thanks for the input HelloVN.  I googled your suggestions.  Both options seems to require a Raspberry Pi or a 24/7 home pc and programming skills to write a script without a user friendly interface.  it will be awesome though if it works.

Will this bypass the vera or is this in addition to the vera setup?  If it still has the vera, how will vera communicate with the OpenHab or Home Assistant?

I installed OpenHab2 on a Raspberry PI 3. After that, I installed the Alexa plugin for OpenHab. When I have a trigger in Vera, I send an HTTP request to OpenHab to say a custom message to an Alexa device. It works great.

Offline Buxton

  • Full Member
  • ***
  • Posts: 209
  • Karma: +12/-0
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #7 on: October 29, 2018, 09:33:22 pm »
hellovn,  do you need to create an amazon account for this?  I'm currently playing around with renoTTS as it has soap based messaging similar to veras. So far I haven't been able to get it to work though.  There is also PollyTTS that is written as an openhab plugin.  Are you using either of these to get your TTS to echo working.  What's involved in creating the service?
« Last Edit: October 31, 2018, 03:09:24 pm by Buxton »

Offline pcarneyhome

  • Newbie
  • *
  • Posts: 14
  • Karma: +1/-1
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #8 on: November 27, 2018, 04:06:49 pm »
This had better be added and soon. It is a game changer. A better integration of Alexa services that can actually react to non-verbal commands. Smartthings now has a way to run routines from the hub. Incredible, a feature I wanted the first day I bought my Echo. It's a big deal and I can't believe more people have not chimed in.

So Vera please listen, your competitor has it and I want it too. I don't plan on waiting 6 months or more for this feature. The original post is already month old. Personally, I don't want to hear about some work around. Another learning curve that I don't have time for. I want a mature system that doesn't require ducktape and glue. I'm a hobbyist myself and that's why I have Vera. I love programming. I love DIY hardware. But enough is enough. It took longer than expected to get Philips Hue up and running when other systems were good to go. And what about IFTTT? Another thing already available elsewhere that Vera has not followed through with. I got it, Samsung has deep pockets and more resources. But your playing in the same sandbox with them and you have got to keep up. Your company will not survive if it continues to lag behind.



Offline jswim788

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +58/-2
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #9 on: November 27, 2018, 06:23:25 pm »
This is not easy to do based on my reading of the struggles in openHAB to get it working.  See the almost 1200 replies to this thread: https://community.openhab.org/t/released-openhab2-amazon-echo-control-binding-controlling-alexa-from-openhab2/37844

I don't think that Amazon is officially opening this up.  It appears to be that some have figured out how to make it work based on existing protocols that weren't expressly designed for it.  Nonetheless it does seem that Michael has it working reasonably well for openHAB.  I tried an earlier version which did work for a few days, then hit the login problem that many others ran into.  Michael's latest supposedly solves this.  But it's only good until Amazon changes their API's again and then it may stop...

Offline pcarneyhome

  • Newbie
  • *
  • Posts: 14
  • Karma: +1/-1
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #10 on: November 27, 2018, 09:04:18 pm »
No. Amazon has already opened this up. This was copied from Smartthings website.

How do motion and contact sensors work with Alexa?
Alexa can tell you the current state of your motion and contact sensors. Alexa can also tell you when they change state with a custom message.

Here are some example phrases:

?Alexa, is my front door open?"

?Alexa, is my bedroom window open??

Alexa can also perform actions when motion is detected or a door/window opens or closes, such as a custom Alexa notification or playing music. Click here to learn more about creating Routines in the Alexa app.


In fact, it looks like it has been up and going since August. No work around. No additional equipment. No huge learning curve.

It is only a matter of time before Amazon let's skills be run by routines. When that happens, I'll have no reason to stay with Vera. It's not just about this feature, but will rather be a signal to me that Mios can no longer keep pace with new features offered by connected technologies. I'll hold out til January, but will move on it not implemented by then.

Offline jswim788

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +58/-2
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #11 on: November 28, 2018, 12:21:07 am »
Yes, you are right.  That's the Alexa V3 smart home.  I was thinking of the Alexa control which is an entirely different beast: plays specific music or arbitrary TTS or any other function directly on the Echo from your automation.  The latter is what I want, although the V3 smart home is also very nice and should definitely be added.  openHAB does not have that yet, but it's being worked on from what I read.

Offline RV

  • Full Member
  • ***
  • Posts: 136
  • Karma: +0/-0
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #12 on: December 04, 2018, 04:30:26 pm »
there's a thread on Home Assistant on using the Echo as a media device to make announcements
https://community.home-assistant.io/t/echo-devices-alexa-as-media-player-testers-needed/58639


There's a thread here somewhere on using a raspberry pi with vera to play sounds using luua code in a scene.

I tried that but it slowed the scene down too much.

I ended up using Home Assistant to perform the action.. I'll dig it up and post it all later, but basically, I point HA to the vera and when a door opens the HA sees that and runs its process and plays a MP3 file. I used a text to speech generator and made MP3s for all the doors. So when a door, window, or gate is opened I hear a female with British accent say "Upper Gate Open" or "Front Door Open"
@ 11pm it scans for open doors/windows and announces "Warning, the basement door remains open"

I also have it check the gate sensors to see if a gate has been left open and if so will announce "Warning, the upper gate remains open, the dogs are escaping" on a 60 second interval.

Offline hellovn

  • Sr. Member
  • ****
  • Posts: 279
  • Karma: +19/-46
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #13 on: December 04, 2018, 05:40:12 pm »
hellovn,  do you need to create an amazon account for this?  I'm currently playing around with renoTTS as it has soap based messaging similar to veras. So far I haven't been able to get it to work though.  There is also PollyTTS that is written as an openhab plugin.  Are you using either of these to get your TTS to echo working.  What's involved in creating the service?

Sorry, did not you see your question. I did not have to create any Amazon account. After you installed Open Hab or Home Assistant in your Raspberry Pi, you can install the alexa binding for those open sources. For Open Hab, I use this to play the custom message and it is very fast:

os.execute(" curl -X POST --header 'Content-Type: text/plain' --header 'Accept: application/json' -d 'custom message here.' 'http://raspberryip:8080/rest/items/amazonechocontrol_echo_82d5da41_G090L909643317KG_textToSpeech'")

Offline jswim788

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +58/-2
Re: amazon alexa announcement if a vera device door sensor is open/close
« Reply #14 on: December 04, 2018, 05:44:18 pm »
There's a clever openHAB routine here that takes in a command on the Echo and then responds appropriately with the status.  This example asks "Dryer Status" and then Alexa responds with the status of the dryer with TTS on it.

https://community.openhab.org/t/released-openhab2-amazon-echo-control-binding-controlling-alexa-from-openhab2/37844/1227