You can send your Alea devices notifications from your Vera.
To do so, you need to install the “Notify Me” skill on your Alexa. After you register with notify, you will receive an Access Code. When you do, paste the access code into one of the 2 attached code lines (txt file attached). Past the entire line exactly as detailed in the (attached txt file) into a scene luup. When the scene is triggered, you will get the notice on your Alexa device. When you get the notice, just say “Alexa, read my notifications”.
I have provided two code lines that can send notifications to Alexa.
1.) The first line uses a curl instruction to send the notification. The notification is text and can NOT be a (text variable).
2.) The second line uses wget to do the same thing (less desirable method).
The 2 examples send the notification “There is someone at the front door”.
Tom
UPDATE: 01/23/2019:
I added an attachment that includes code and instructions for very simple calls from any scene using the following format as example:
AlexaMessage(“Someone sole you car while you were gone.”)
Complete instructions and code are included in the 2’nd attached “VeraAlexaNotify.txt” file below.
UPDATE: 01/23/2019 (same as above but with time and date stamp:
I added another (version-2) today that includes Time and Date stamp automatically in your notification.
wow, this is great. Can this be modified to make announcements instead of notifications? so that it announces if somebody enters the door instead of the additional step of asking alexa to read the notifications
No. The good thing is that you can review messages if you are away when they arrive. In the example that I included, you would know someone was at the door while you were gone. You can also get them on your mobile phone if you have alexa installed.
Tom
Yup, I realized that advantage of notifications on alexa. The voice messages will complement the vera app notifications and email. Many thanks for sharing the scripts.
I’m now thinking of doing a mod on one of my extra door contact sensors to work with my existing wired doorbell so that my cameras will send me a picture of who is infront of the house. if this will work, it’s going to be like the “ring” doorbell but better like you described. better since my camera is positioned on a better view and all devices are permanently installed. also, more weather proof and will complement existing systems already.
But still hoping for vera support on announcements (or amazon support on vera installed devices) as it has a different use for home security. existing zwave chimes and sirens are not enough. also since a different branded hub already have this function
No. The good thing is that you can review messages if you are away when they arrive. In the example that I included, you would know someone was at the door while you were gone. You can also get them on your mobile phone if you have alexa installed.
Tom[/quote]
since my house is very dispersive, I have various announcements based on time of the day, status of doors, etc. plus, based on this same things, I send to my Telegram account a short video anytime a specific door or gate is opened. it works very well.
the scripts is working ok, I encapsulated it into my own applications written in C# and doing notifications (based on presence) and it’s very cool, because it is dynamic. I used to trigger pre-recorded messages, but dynamic ones are better (and you don’t need to use TTS, plus the voice is the same coming from Alexa, so my family members seems to like it better).
I send notifications when house mode is not home (ie away, night or vacation), and play announcement when home (with volume changing based on the time of the day - ie lower when > 10 pm or < 8 am). I skip notifications when it’s not dark, but always play message. My entry door is very far from the open space, and it’s not uncommon that someone from the family enters in the property and the others are not noticing it. Notifications for gates and doors is my wife favorite feature. You know, you spend year tweaking this thing, and all she loves is some voice announcement that one of our sons is entering our home
I send notifications when house mode is not home (ie away, night or vacation), and play announcement when home (with volume changing based on the time of the day - ie lower when > 10 pm or < 8 am). I skip notifications when it’s not dark, but always play message. My entry door is very far from the open space, and it’s not uncommon that someone from the family enters in the property and the others are not noticing it. Notifications for gates and doors is my wife favorite feature. You know, you spend year tweaking this thing, and all she loves is some voice announcement that one of our sons is entering our home :)[/quote]
Hi, got this working on my doorbell and on my alarms (so that alexa can tell me which device triggered the alarm, if any, especially at night when i’m lazy to check on my phone).
Is it possible to add time stamps on the notification? Incase anybody knows, does notifications have an expiry?
[quote=“robie, post:10, topic:200378”]Hi, got this working on my doorbell and on my alarms (so that alexa can tell me which device triggered the alarm, if any, especially at night when i’m lazy to check on my phone).
Is it possible to add time stamps on the notification? Incase anybody knows, does notifications have an expiry?[/quote]
Answers:
1.) When you ask “Alexa, read my notifications”, it will display the notifications and when each notification was received. It will then announce each one.
2.) Notifications are archived in your Alexa app after you request a read. They do not “expire”, but can only be announced one time each.
3.) You can delete the notifications received by saying “Alexa, delete my notifications.”
NOTE: You must access your Alexa app to delete archived notifications. Use #3 above to avoid this.
Hope that helps,
Tom
p.s. Paste the code in your startup LUA and find out how may times Vera reboots every day! :-[
This is all very cool. I can send a static notify message from vera to Alexa ok. How would I send a message with some variable in it, like : the temperature in the study is ‘dynamic variable’?
Answers:
1.) When you ask “Alexa, read my notifications”, it will display the notifications and when each notification was received. It will then announce each one.[/quote]
Many thanks again for the responses, it is very helpful. Can i clarify the quoted reaponse on item 1 - is this applicable only to the echo show and echo spot? (a) It does not show on my amazon phone app and (b) the amazon voice devices does not read it with a time stamp
Hope this will help. I have manged to use a variable(actually many variables)
local rtemp = “Current%20room%20temperature%20is.%20”…tostring(current_temp)
local ntemp = “and%20Thermostat%20is%20set%20to%20”…tostring(global_temp_set)
Is there a variable script to add the time of the alarm to the voice message?
[quote=“mbaker171, post:14, topic:200378”]Hope this will help. I have manged to use a variable(actually many variables)
local rtemp = “Current%20room%20temperature%20is.%20”…tostring(current_temp)
local ntemp = “and%20Thermostat%20is%20set%20to%20”…tostring(global_temp_set)
This is great and many thanks! Is there a way to do this (time stamp) without editing the startup lua? (for the ff reasons - i will use it on several scenes, less software changes to the vera system and confined scripting to the scenes)
[quote=“ZW-Tom, post:19, topic:200378”]I posted a new update with my original post on page 1. Let’s you send notifications from any scene by just using the following as an example:
AlexaMessage(“Someone is hiding behind the curtain.”)