I am using Android 10 and it seems that the app can only obtain the location when the app is open. I am only given the option of “Allow only while using the app” or “Deny”. I am pretty sure that at some point, I also had the third option of “Allow all the time”.
This limitation is making the device tracker capability useless for me. I shouldn’t have to have the application on the foreground in order to determine if I am home or not.
Is there some setting that I can configured or was this done on purpose?
This is referring as permission approval. This is something Android native and its required to be shown in order to give Ariela location permission.
You will need to give Ariela permission to run in background. If this setting is not set, then Ariela will simply close and will not send / receive any updates to HA.
If Ariela will be allowed to run in background then device tracker & other sensors will be updated.
You can find this setting in Ariela → Settings → Common → Allow background running.
My wife and son’s Pixels both updated to Android 10 and I am having serious issues getting either of them to maintain any kind of device tracking, no matter the app used.
I do have the permission to run it in the background. It does not seem to work. I sat yesterday outside my house testing to see if the location would change from my work. The location didn’t change until I opened the app.
As I mentioned I am pretty sure Android at some point let me set to use the location at all times in a previous version. When this was available, I didn’t have problems with the device tracker.
Please send me the logs so i can check it out. Also, please check in Settings -> Apps -> Ariela -> battery (or something) if the app its allowed to run in background there too.
Ionut, first let me say thank you for created such an amazing app! This is everything I’ve wanted in a mobile app for HA
I am having the same issue as gureyes. I cannot set location to “allow always” and the toggle for running as a background app does not do anything. I cannot find the debug log file but I am sending an email with screenshots of my settings and will follow up with a log file if/when I find it.
I changed the battery option to not optimize. I also have all the settings set except the permanent notification. With all these set my location does not update until I open the app.
Just to be clear, I previously had device tracking working until maybe a week ago.
I have set wifi zones in device tracking settings, but it seems that Ariela app cant pick SSID name and cant define the zone where am i. Wifi name is simple and it doesn’t have any special characters.
Anyone know how to fix this issue?
Usually i charge my phone every day when i go to bed. When i enable background running i have to charge my phone TWICE a day and even GPS setting is off. I have around 5 sensors set up using mobile app settings, not mqtt and device tracking, which i was hoping to rely on WIFI zones.
PS: Phone is Samsung galaxy S8
EDIT: Apparently when i enable phone GPS settings it picks up the wifi name correctly but not every time. This is very strange feature i personally don’t like how it is working. It makes pointless to have wifi zones set up in device tracking settings if i have GPS enabled.
I suppose you have Android O or later. If so, you will need to give Ariela location permission from Settings → Apps → Ariela → Permissions.
Please let me know if works.
Hi Guys, @Ionut congratulations for yout great job, i bought another app to my daughter.
But now i have a doubt… On my home assistant i defined a zone…
A quick question regarding Notifications using the fcm-android component and Ariela.
At the moment I push notifications to my Android device every 30 second as long as my Motion Sensor is on. I Use DeepStack to process the pictture from my Cameras and that part works without a problem. I did also set a long delay, to make sure all the processing is done before sending the Notification with the Picture.
Quite often the picture i receive is the same, even though when I open the folder I see that there are different pictures for every 30 second.
Has anyone come across this (what info do you perhaps need to point me in the right direction)?
Yes it is the same path. This “deestack_latest_person.jpg” gets updated every 30 second, if there is a person detected of course. Otherwise the picture will remain the same. But I don’t trigger the notification unless a person is detected (exactly to prevent sending the same picture).
Actually right now I also experienced that the Notifications came popping in, from the last 5 minutes all in a row. Perhaps that is caused because I use Nabu Casa to point at in my address (to get https)?
You may want to check if with pictures taken at the point of detection and having different name?
This mostly depends on how your phone is able to communicate with google firebase. For example: you can receive multiple notifications at the same time because at some point, your phone didn’t had internet connection (poor signal, android closing connection etc), and when the phone receive the internet connection again and is able to communicate with firebase, all the notifications are sent at once.