Author Topic: New Android App for IMMEDIATE ALERTING from Vera.  (Read 44911 times)

Offline Kyle

  • Jr. Member
  • **
  • Posts: 87
  • Karma: +0/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #60 on: December 14, 2011, 10:20:14 am »
Hi Kyle,

Can you try the plugin I attached?

Florin,

I had to downgrade back to UI4.. I was having too many problems with my scenes not running properly.

Offline LG

  • Sr. Newbie
  • *
  • Posts: 42
  • Karma: +2/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #61 on: December 21, 2011, 04:12:17 am »
Hi Florin,

I've tested the plugin under VERA2 UI5 1.5.236, it was not working.
It seems that the command http.request() is broken. Using luup.inet.wget() instead of http.request() solves the issue.

Offline kartcon

  • Full Member
  • ***
  • Posts: 158
  • Karma: +7/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #62 on: December 24, 2011, 10:18:57 pm »
Great work Ragmondo,

I installed this without any problems and it works great, and extremely fast. One thig I did change in your JSON code was to add my registration number to the 'defaultvalue' variable under sceneList, argument_2. This then automatically populates the second user input box with my registration code. Very easy fix and also very useful.

I'm not a very good Lua programmer yet, but I will keep tinkering until I understand it more. One thing I tried to fix, but couldn't was the 'name' variables in the scene section. It seems that neither of those variables are being passed to the spot. Maybe one of the guru's here can spot the problem for newbies like me.

Thanks for all your efforts. I really like your code.

Offline ehome

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #63 on: January 07, 2012, 12:40:25 am »
I am getting Error "vera alert"
                              Startup Lua Failed"

Please give me the solution.

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #64 on: January 07, 2012, 08:01:02 am »
We would gladly like to help you with your problem, however you need to provide us with more information. The more information you can provide us, the better we can figure out what is going on.

What vera unit do you have?
What firmware are you running? UI4 or UI5?
How did you install the plugin?

- Garrett

Offline ehome

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #65 on: January 10, 2012, 01:18:17 am »
What vera unit do you have? ---->Vera 2
What firmware are you running? UI4 or UI5?----> UI4
How did you install the plugin?----> Uploaded all the required files from the link and create a device vera alert with the same process.


Offline ehome

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #66 on: January 11, 2012, 02:49:53 am »
Any Luck Dear!!!

Offline ehome

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #67 on: January 12, 2012, 06:05:08 am »
Issue Resolved!!!

There was a firewall in the Network which was blocking application to communicate.

Offline ragmondo

  • Moderator
  • Jr. Member
  • *****
  • Posts: 51
  • Karma: +0/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #68 on: January 28, 2012, 06:13:00 am »
Hi Kyle,

Can you try the plugin I attached?

I hope you don't mind but I have uploaded these files to http://www.fawepark.com/android-software/veralertfiles

Offline bigmanvstrashman

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #69 on: February 18, 2012, 03:06:44 am »
Hi,

Firstly, thanks for this useful app !

I test this app few days ago, i notice that sometimes the server is out.
it's maybe about some overquota on my ID

here the last line when i check on a http request with a browser :
OverQuotaError: The API call datastore_v3.RunQuery() required more quota than is available.

How many messages can we send ?


Thanks a lot.


« Last Edit: February 20, 2012, 09:25:05 am by bigmanvstrashman »

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #70 on: March 12, 2012, 11:26:56 pm »
Great service!
Is there any way to send variables - for example if I send temperature related event I'd like to have the temperature included as part of the message

Offline lolodomo

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #71 on: March 14, 2012, 07:46:19 am »
I was able to use Vera Alert with the UI5 package. It is working.


Regarding the Android application, it looks like there is a bug: I am not able to delete messages. The application systematically crashes.
Am I alone to notice that ?
My Android version is 2.3.x.


Regarding the Vera part, is it possible to generate an alert from the luup code of a scene, just calling a function ?

Offline Da_JoJo

  • Hero Member
  • *****
  • Posts: 1380
  • Karma: +16/-78
  • If something aint work, we can allways try n make
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #72 on: March 14, 2012, 07:55:09 am »
great plugin , it could use a little bit update and enhancement though. then it would be the best plugin. very usefull.
Vera lite (1.5.622), 2x an-158/2, dead usb pl2302 rs-232, 2x greenwave 6 port, 4x Fibaro FGD211 v1.6, FGBS001, few FGS - 221, etc. AuthomationHD 3 for android :-)
Dutch & German translator http://wiki.micasaverde.com/index.php/Special:AllPages http://support.micasaverde.com http://domotica-shop.nl

Offline lolodomo

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #73 on: March 14, 2012, 04:15:00 pm »
Regarding the Vera part, is it possible to generate an alert from the luup code of a scene, just calling a function ?

I answer to myself. It can be done just by copying code from the I_VeraAlert.xml file.
Putting these few lines of code in the start lua file should then allow to call the SendAlert from anywhere.


So, my only problem is how can I delete the messages without the crash of the Android application ?

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: New Android App for IMMEDIATE ALERTING from Vera.
« Reply #74 on: March 15, 2012, 10:19:23 am »
If you are on Vera2 see:
http://forum.micasaverde.com/index.php/topic,9596.0.htmln
I plan to upgrade this to Vera3.
It allows you to leave the Android VeraAlert Token out of your code ... You set it once as property on the VeraAlert device. In fact you can set it to multiple VeraAlert Tokens ... then when you send a VeraAlert it will go to all listed phones.

I would luv to make this available through normal notifications. If you think that would be nice then chime in at: http://forum.micasaverde.com/index.php/topic,9525.0.html