***FIXED*** Alerts very slow and sporadic on Android Devices

**** FIXED - SEE POST BELOW *****

Hi Richard,

Was hoping you could help me out. I am finding major issues these days with Vera Alerts. I updated to the latest version this am, still no better. I have a Samsung Galaxy S Tab and Samsung Galaxy S5 Phone. Both are Android obviously. I have tried using only one device on notifications, both, LAN or off network (Verizon LTE), it’s driving me crazy.

I either get alerts much later…

They seem to sometimes stack and just go nuts running multiple alerts back to back that occurred much earlier. If I use the test option in Vera, using the check by USER I get crazy stuff, old and new, duplicates …a real mess. If I just use the check by my profiles and then TEST, it works smooth as it should.

I have even had them begin to voice the alert and cut off in the middle of the alert.

I am a licensed customer and both devices are registered. My VERA V is 1.5.622

Hope you have some good news and a very Happy Thanksgiving :slight_smile:

Thanks in advance,
Shawn

The problem you are seeing has nothing to do with the Vera Plugin side.
There are 4 steps to send an alert:

  1. Compose the Message and forward to:
    http://veraalertsexchange.appspot.com/

  2. There it does some magic and then forwards the request to your Phone via Google PlayServices.

  3. Google Play Services buffers the message if your phone is off line, or throttles the content if you have to much activity.

  4. When Google Play Services finally delivers the message to the Phone, it hands the message to the Vera Alerts Mobil App.

Failure modes:
Step 1) If you have network connectivity issues at your home.
Step 2) The only failure mode that has ever happened was a denial of service attack. At the time this was using a Free server from Google. Once I went to a paid service I can handle the increased load and a denial of service attack. The load has increased to the point that I would have experienced what looked like a denial of service every day because it would reach the free resource limits before the end of the billing day.
Step 3) This is where MOST of the problems are.
Step 4) There are a few bugs I know of. One is where the display shows ALL white, but TTS still announces new messages.
I finally duplicated that problem, but not on a phone I could debug with. So I am still tracking this one. Seems to be related to the stored data volume size.

If you search the network for Google Play Services problems.
You will see lots of problems with various solutions for the errors in Step 3.

The problem seems to be worse for some hardware/Android Version/Service Provider combinations.
The solution seems to be to reset the network connection, some time to clear some data from your phone.
I have seen it occasionally, but it fixes itself when I cycle between Wifi and 4G data services.

I figured it was something outside your handy work bud…

I really appreciate you sending so much info/homework…
Will give this a good effort over the holiday.

If I could get your Alerts app and Garrett’s Authomation app on iPhone…
I would be quickly be switching back…
These two apps are the sole reason I made the switch to Android…
More and more, I am finding it too be buggy, a battery hog and much slower in many ways than my wife’s new Apple goodies.
Can’t have it all I guess, but it’s always a hope to have them both on iOS someday :wink:

I’m sure someone else can use this post as well…

Thanks again and have a great day!!
Shawn

One more thing … if you set the Message Delay to something like 10 seconds, if you get a burst of messages, you will get to hear all of them … not just the beginning of the first and the end of the last.

Thanks…

I keep that set at 1 sec, not a problem for me once they come rushing through…usually well aware of them by then…thanks though :slight_smile:

Hi Richard,

Just wanted to pass along what I found to work for me…maybe there are other fixes but this one seems to do the trick nicely on and off network. Just runs in the background and is a free download at Play Store :slight_smile:

The app I used is called Push Notification Fixer…They have a rooted version and a version for devices that are not rooted.

Hope this helps someone else…I think it just saved the hair on my head…was ready to pull it out LOL

Thanks for putting me in the right direction!!

LINK TO APP:
https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer.noroot&hl=en

[quote=“ShawnInFL, post:3, topic:184342”]These two apps are the sole reason I made the switch to Android…
More and more, I am finding it too be buggy, a battery hog and much slower in many ways than my wife’s new Apple goodies.[/quote]

Not to take this thread OT, just wanted to mention… you are seeing the difference between an open OS, with many ways to use it on thousands of different hardware makers’ devices VS a highly controlled OS and single source set of devices.

Your experience will be different on Android, even between makes/models of any given Android phone. I’ve used both and prefer Android simply due to the flexibility and that there are more Apps and more developers for them, and less limiting from an app dev perspective.

Apple ecosystem is excellent, but I don’t need it myself.

For Android, there are TONS of forums and help to get for free… I suggest seeking them out. I really don’t have problems with Android and I root and install/uninstall crap all the time :slight_smile:
… I have el’cheapo Sero Pro tablets (for kids and Home automation), a Nook HD+ (custom ROM of course), mid-range Samsung phone, and HTC One M8
… no issues.

Hope you find you will enjoy the apps from Garrett, Richard, and others… I love them and use them daily.

I hear, and agree completely on the mentioned apps for Vera…they make it what it is IMO. Without Authomation app, I would be looking at other options honestly. It really makes a huge difference in the interface with Vera for me.

There are many things I like about the android stuff, the thing I like most about the wife’s Aapl stuff though is the speed and clarity in which things happen on her devices. Her camera smokes anything else I have seen on Android. I miss that for sure. That being said, I do love the flexibility and endless options on Android. I haven’t actually gotten on the touchwiz…a new rom might change everything for me LOL (excluding the camera obviously) However, the LED does make a much better flashlight on my Galaxy than the iPhone. There’s that :stuck_out_tongue:

Do you have a suggestion on custom ROM or where to look for the best options?

Since I installed this fix for the notifications, life is much better…
It made me cringe when I started getting tons of alerts that occurred much earlier in the day.
I recently bailed on Chrome browser and went to the Beta Chrome…
That too has made the devices night and day difference in browsing.

Thanks for saying hello…

Opinions and input is always welcome here :slight_smile:

I too have been experiencing a slowdown in VeraAlerts for a number of months and have just now been able to perform diagnostics. At first I had assumed it was a slowness in the Vera. However, my tests seem to indicate the slowness is being introduced by the cloud relay path.

Test Case:

  • 1st Android device configured with Vera Alerts using both the Mobile and LAN profiles
  • 2nd Android device configured with Vera Alerts using just Mobile profile
  • iPhone configured with Vera Alerts using HomeWave
  • All profiles registered to the same User
  • Send a Test Message via Vera Alerts Plugin to the configured User

Results:

  • The LAN profile message is consistently received within 1 second
  • The iPhone consistently receives the message in 3-4 seconds
  • The Mobile profile consistently takes 7-8 seconds on both Android devices

I would expect others people to see the same test results if the issue is related to the shared services (steps 1-3). Is there anything that can be done to improve the speed of delivery?

I am tempted to use the LAN profile to ensure instant notifications, but this results in duplicate messages when I’m at home. Is there some way to use both a LAN and Mobile profile without receiving duplicate notifications?

If you are sending to 3 profiles … these are serialized.
So the last profile does not get sent until the previous two profiles have successfully completed.
That will cause some profiles to appear to be faster than other.

Hi Richard,

I re-ran the test for each device separately and timed it across a few tests. The timing is essentially the same:

Android LAN profile - 1 second
iPhone - 3-4 seconds
Android Mobile profile - 7-11 seconds

Thanks for helping me rule out serialization as the culprit. Any other ideas?

I have a slow network (I live well outside the city) … I get 2-3 seconds repeatably.

And I have a relatively fast internet connection with low latency. So are there troubleshooting steps I can perform to identify and hopefully resolve the latency issue? I really miss having timely VeraAlerts…

Any thoughts on how to de-duplicate LAN based alerts? Seems like failing over from LAN to Mobile would be a nice feature enhancement to the plug-in.

I use Vera alerts to notify when my from door is locked, unlocked, etc. I get notifications normally within 1 second of unlocking or unlocking the door (yes that fast) and I am using the non-lan option (android). It has always been this fast for me.

Perhaps there is another factor that is. It being considered.

Mine still has some delays here and there for sure.,…hard to say completely fixed…I do have 3 Veras on the network/property though. Perhaps that plays a roll int he delays…

If these are three independent Veras they should not interact with each other …

If you have bridged Vera’s … that’s a different story.

All bridged bud, question for ya, I assume the Vera units reboot nightly but it seems every say 7-10 days a reboot on the main vera is required to keep thing running quickly. Any thoughts on that topic?