Notifications stopped working

Post your MobiLinc comments and feedback here.

Notifications stopped working

Postby FLSR » Mon Feb 23, 2015 4:02 am

MobiLinc Pro w/Connect. iPhone 5, iOS 8.1.3 MobiLinc notifications "on" Notify settings=Notify on Boundary On, Device Must be Unlocked Off. Home location has been verified as correct.

When in My Settings (MobiLinc Pro) the Notify Settings screen is blank.

On my iPhone Settings/Notifications/MobiLinc Pro the following are On - Allow Notifications, Sounds, Badge App Icon, Show on Lock Screen.

When I leave/enter the boundary, the ISY Program state variable will change. However, no notification will be received on my phone.

Prior to iOS 8 I had no issues with notifications. Once the initial iOS 8 was installed, the notifications became unstable and now have disappeared.

Suggestions.
FLSR
 
Posts: 13
Joined: Fri Oct 07, 2011 2:46 am

Re: Notifications stopped working

Postby AdminWes » Mon Feb 23, 2015 9:21 am

Hi FLSR,

When monitoring for the boundary crossing notification, please make sure MobiLinc isn't running in the foreground (active). These notifications will be posted to your TodayView->Notification section automatically when the app is running in the background (or has been force quit).

Another option is to turn off the "Notify on Boundary Crossing" option and then turn it back on. iOS 8 did change how permissions are set for local notifications and this might help kick it back into alignment with the new iOS 8 rules.

Wes
AdminWes
Site Admin
 
Posts: 2152
Joined: Sat Feb 07, 2009 2:52 pm

Re: Notifications stopped working

Postby FLSR » Tue Feb 24, 2015 2:37 pm

Yesterday I made a point of keeping Mobilinc in the background. The first time I left home and returned I received notifications. The second time I got a notice on leaving and nothing upon returning.

Today I again made certain that Mobilinc was in the background before I left home. I did not receive a notice when leaving or returning.

This is typical since iOS 8.
FLSR
 
Posts: 13
Joined: Fri Oct 07, 2011 2:46 am

Re: Notifications stopped working

Postby AdminWes » Tue Feb 24, 2015 3:29 pm

Interesting...I just ran a series of tests on iOS 8 testing the location/geo-fence and I can't reproduce what you are seeing.

If you aren't seeing the region crossing notification, then iOS isn't telling MobiLinc about it. The code here is really straightforward. iOS wakes MobiLinc up and MobiLinc checks if this option is turned on. If it is, it issues the local notification and then proceeds to contact your ISY to update the geo-fence variable.

I would expect that the variable wouldn't be updated until you saw the local notification, but you indicated that you would still see the variable change from 0->1 and 1->0. I'm not sure what to make of that exactly unless the notification process on iOS side of the house is screwy.

I'd recommend the standard electronic device debugging steps:
- Close out all apps.
- Clear all notifications from the Today View.
- Reboot the phone.

In addition please:
- Verify Wi-Fi is turned on.
- Open MobiLinc and turn on (or verify) that the Notify on Boundary Crossing option is on.
- Keep MobiLinc in the background and Maps running in the foreground (forces the use of GPS) as you drive away or drive home.
- See if this kicks everything into alignment.

Wes
AdminWes
Site Admin
 
Posts: 2152
Joined: Sat Feb 07, 2009 2:52 pm

Re: Notifications stopped working

Postby FLSR » Tue Feb 24, 2015 4:16 pm

I will give your suggestions a trial tomorrow when I leave.

Tonight (after my posting) I left and the notifications going/returning worked fine.

A couple other notes;

1. I have Dropcam and it sends a notification whenever I leave. It always works even when Mobilinc does not. I don't know if that is telling anything about my Mobilinc issue.

2. I notice that when I leave my boundary Mobilinc notifications either "fires" immediately or not at all. I was thinking that perhaps my local cell tower was somehow not communicating with my phone. I also notice that if I don't get a notification right away, it never actuates, no matter how many cell towers that I may pass. It is either hits at my boundary or not at all.
FLSR
 
Posts: 13
Joined: Fri Oct 07, 2011 2:46 am

Re: Notifications stopped working

Postby AdminWes » Wed Feb 25, 2015 6:33 am

Thanks.

Comments:

1. Do you know what the Dropcam geofence radius is? Or how many and where the geo-fence locations are Dropcam is setting up? If the Dropcam app gives you this info, make sure to match the MobiLinc region to the same geofence specs Dropcam is configuring iOS with so that it's a comparable test.

2. This is exactly correct and how we understand how iOS detects (and notifies apps) about boundary crossing.

Wes
AdminWes
Site Admin
 
Posts: 2152
Joined: Sat Feb 07, 2009 2:52 pm

Re: Notifications stopped working

Postby FLSR » Sun Mar 01, 2015 6:52 am

My notification issue continues to be erratic and mainly non-responsive. I have carefully implemented the changes you mentioned in an early post. I find that notifications will either not work at all or only work in one direction (leaving or returning).

Dropcam said that their boundary is 100-500 ft. From their note:

"If you have an iPhone the Dropcam app uses your iPhone's ability to triangulate its position based on the cell towers in the area. This method is not as pin-point accurate as using GPS, however it is much less processor intensive and saves on battery life."

Their notification is 100% for me.

My wife and I both have iPhone 5. She is still on iOS 7.X.X and I am on 8.1.3. I just checked her phone and the notifications have been received 100% for the past few days whereas during the same period (and some of the same trips) I received nothing.

I also mentioned that I often check my State Variable via MobiLinc and find that the variable is set in the correct state, despite not receiving a notification.

Finally, I have reset my boundary from 100m to 300m to see if the wider travel point can give me increased reliability. I will update you in a few days once I have more information.
FLSR
 
Posts: 13
Joined: Fri Oct 07, 2011 2:46 am

Re: Notifications stopped working

Postby AdminWes » Sun Mar 01, 2015 4:55 pm

Thanks.

This still doesn't jive with how the code actually works:

I also mentioned that I often check my State Variable via MobiLinc and find that the variable is set in the correct state, despite not receiving a notification.


I can think of only two reasons why this might appear this way:
1. Check the last update time of the variable when this happens. Did the variable actually just get updated or was this an old update from earlier in the day or week?
2. Something in iOS is blocking the local notification from appearing. However, I can't think of anything that would cause this #2 behavior.

Also, Dropcam's note is really misleading. From Apple's developer site (and in the code) a geo-fence minimum radius can only be 100m or around 300ft. It's just not possible to set it any smaller than 100m/300ft. The only other way they could achieve a smaller radius is if they are actually using iBeacon built into the Dropcam. I don't know if Dropcam has a built-in iBeacon or not, but if it does, then they might be using a combination of the two. Just a guess.

Wes
AdminWes
Site Admin
 
Posts: 2152
Joined: Sat Feb 07, 2009 2:52 pm

Updating ISY variables not working?

Postby robbert2012 » Tue Jan 05, 2016 2:12 pm

I'm trying to integrate a new iBeacon in MobiLinc. I had done that successfully about a year ago but I forgot how I actually did it...

First question:
Does Mobilinc create the ISY variable? Or do I have to create it?

Second question:
Mobilinc calculates the ISY variable name by using my iPhone's name. My iPHone name has a "-" in its name. Will that cause problems? my older iBeacon has a variable name with a "-" and it is working fine.

For my new iBeacon, Mobilinc does not create the ISY variable. And once I create it, Mobilinc does not update that variable.

What am I missing?

Bert
robbert2012
 
Posts: 11
Joined: Sun Dec 14, 2014 7:49 am

Re: Notifications stopped working

Postby AdminWes » Tue Jan 05, 2016 3:53 pm

Hi Bert,

MobiLinc creates the variable. For iBeacons, go to Settings->iBeacon Settings and select your iBeacon. Then, turn on the ISY Variable setting.

The name should be fine with a "-" in it.

Wes
AdminWes
Site Admin
 
Posts: 2152
Joined: Sat Feb 07, 2009 2:52 pm

Next

Return to MobiLinc Feedback and Comments

Who is online

Users browsing this forum: No registered users and 2 guests

cron