Install a “virtual device” in your vera software using files from the link above (the 2nd link down). There will be 4 of them, “D_VeraAlert.xml, I_VeraAlert.xml, S_VeraAlert.xml and D_VeraAlert.json”. Upload all of them to you vera !!
Now create a device in Vera using Mios Developers -> create device. Just put description as “vera alert” and UpnpDevFilename as D_VeraAlert.xml and UpnpImplFilename as I_VeraAlert.xml
Now the fun bit…
Run the app on your phone - it won’t say much - it will just display something like “ALERT ID: xxyyzz” - this code is what you will put into your scene so that the vera-alert knows which phone to send the message too.
Create a scene ; for example I have one “front door open” - now the important thing here is that under “commands” your “Vera alert” device will appear. Choose “Send Alert” from the dropdown, put the text you want to receive in the TOP BOX and your ALERT ID ( from the previous step ) in the bottom box. It has to be EXACT or you will not get the messages.
That’s it !!
Happy tinkering. I will be updating the app over the next few weeks so let me know how you get on. I am also after any help possible in making my vera xml / jsons files a bit more efficient / ergonomic. All help gratefully received !!
Lastly - feel free to contact me directly - richardagreen -you know the sign - gmail.com
It works via using a server which is running 24/7 which vera talks to, sending the alert id ( ie the phone ) and the alert message (which can be pretty much any length I think).
I am going to enhance it so there are several alert levels - ie “info, warning and GET OUT OF BED NOW” kind of alerts - as well as maybe a few user set ones so that you can have the phone remain silent, or flash flash BLEEP BLEEP etc etc if you’re on holiday and suddenly you find your back door is open.
I’m also toying with the idea of the sensors feeding the server details so you can graph stuff online too - but (unfortunately) I’m not getting much feedback on the app so far
Sounds cool. I love that people like yourself are developing neat applications, but even as a computer savy guy much of what you programmers do is over my head, I think there are many like me here, if a particular installation is much tougher than installing a plugin, or if people dont understand how it functions, most will wait until it becomes mainstream, good luck, hope you keep on with your efforts
Thanks - I will put a few more features on it (configurable alerts in terms of sound / volume/ colour etc) and a few stats pages on the cloud server it uses and maybe even create a quick youtube of how to set it up and then it in use and then see if it gets any bites.
One thing I can’t stress enough though is how fast it is, literally open door and the alert gets to the phone and flashes the led before the doors stopped moving…
It uses “cloud to device messaging” - which is basically the same thing that is used for email and other alerts. It doesn’t actually all the time but the phone operating system wakes up and runs the app when the message is received … so saying that, you shouldn’t see any battery performance difference. If you do, let me know and I’ll see if I can improve it.
The speed that this works at is awesome. Much much better than the built in vera notification which has always been delayed, but lately has been completely unreliable. The one thing I would like to see is some better way to view incoming notifications. Like SMS with history. Also the time received. Being able to get the alert data like you get via sms would be nice also. Is there any way to hook this into the existing notification tab on scenes?
All very good ideas. History of alerts in the app and date/time triggered would not be a problem (I could use vera time, which I hope is synced every so often), I just haven’t put a datastore for alerts created yet, but that would be fairly trivial.
I do like the idea of hooking into the notification tab, but I have no idea where to start with that … would anybody else care to help with that bit ?!