Same as him, I have never been able to open an hyperlink from Ariela or any add-on which opens the browser. Only the add-ons that support Ingress can opened.
Doesn’t bother me as these add-ons have their own web app shortcut from Chrome (Unifi, Pi-Hole) or are seldom used (IDE, NGINX Proxy Manager).
i encountered another bug.
On an Android 4.3 tablet I can install the Ariela app without problems (since minimum is 4.1).
However, when I start the app I see the prompt to create a new configuration. Confirming it does not bring up the config wizard, though. The app is crashing because it does not find some keystore in the cache:
Logcat shows this:
08-16 14:13:58.277 476-1477/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.surodev.ariela/.ArielaSplashActivity bnds=[685,316][960,474] (has extras)} from pid 798
08-16 14:13:58.387 24479-24479/? D/dalvikvm: Process 24479 nice name: com.surodev.ariela
08-16 14:13:58.387 476-780/? I/ActivityManager: Start proc com.surodev.ariela for activity com.surodev.ariela/.ArielaSplashActivity: pid=24479 uid=10050 gids={50050, 3001, 3002, 3003, 1028, 1015, 1006}
08-16 14:13:58.497 24479-24479/? I/MultiDex: MultiDexExtractor(/data/app/com.surodev.ariela-1.apk, /data/data/com.surodev.ariela/code_cache/secondary-dexes)
08-16 14:13:58.497 24479-24479/? I/MultiDex: Blocking on lock /data/data/com.surodev.ariela/code_cache/secondary-dexes/MultiDex.lock
08-16 14:13:58.497 24479-24479/? I/MultiDex: /data/data/com.surodev.ariela/code_cache/secondary-dexes/MultiDex.lock locked
08-16 14:13:58.497 24479-24479/? I/MultiDex: MultiDexExtractor.load(/data/app/com.surodev.ariela-1.apk, false, )
08-16 14:13:58.837 24479-24497/? I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.surodev.ariela
08-16 14:13:58.907 24479-24479/? I/dalvikvm: Could not find method android.content.Context.checkSelfPermission, referenced from method com.surodev.ariela.common.Utils.hasPermission
08-16 14:13:58.907 24479-24479/? I/dalvikvm: Could not find method android.app.AlarmManager.setExactAndAllowWhileIdle, referenced from method com.surodev.ariela.common.Utils.scheduleServerUpdates
08-16 14:13:58.907 24479-24479/? I/dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method com.surodev.ariela.common.Utils.selfPermissionsGranted
08-16 14:13:58.997 24479-24479/? I/dalvikvm: Could not find method android.net.ConnectivityManager.getActiveNetwork, referenced from method com.surodev.arielacore.common.Utils.getServerURL
08-16 14:13:58.997 24479-24479/? I/dalvikvm: Could not find method android.content.Context.checkSelfPermission, referenced from method com.surodev.arielacore.common.Utils.hasPermission
08-16 14:13:58.997 24479-24479/? I/dalvikvm: Could not find method android.app.AlarmManager.setExactAndAllowWhileIdle, referenced from method com.surodev.arielacore.common.Utils.scheduleServerUpdates
08-16 14:13:59.317 24479-24479/? D/HA_ArielaSplashActivity: onCreate: server address =
08-16 14:13:59.797 476-492/? I/ActivityManager: Displayed com.surodev.ariela/.ArielaSplashActivity: +1s432ms
08-16 14:14:04.017 476-754/? I/ActivityManager: START u0 {cmp=com.surodev.ariela/.BaseFragmentActivity (has extras)} from pid 24479
08-16 14:14:04.687 24479-24479/? E/HA_ArielaTrustManager: getAppKeyStore(/data/data/com.surodev.ariela/cache/KeyStore.bks) - exception loading file key store
java.io.FileNotFoundException: /data/data/com.surodev.ariela/cache/KeyStore.bks: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:409)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
at java.io.FileInputStream.<init>(Native Method)
at com.surodev.arielacore.common.ArielaTrustManager.loadAppKeyStore(ArielaTrustManager.java:78)
at com.surodev.arielacore.common.ArielaTrustManager.<init>(ArielaTrustManager.java:58)
at com.surodev.arielacore.common.ApiHTTPClient.getHTTPClient(ApiHTTPClient.java:46)
at com.surodev.arielacore.api.icons.ImageUtils.<init>(ImageUtils.java:44)
at com.surodev.arielacore.api.icons.ImageUtils.getInstance(ImageUtils.java:50)
at com.surodev.ariela.fragments.setup.IntroSetupFragment.onViewCreated(IntroSetupFragment.java:55)
at com.surodev.ariela.fragments.serverconfig.BaseConfigFragment.onCreateView(BaseConfigFragment.java:47)
at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2595)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:434)
at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2076)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1866)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1821)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2660)
at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManagerImpl.java:2610)
at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:246)
at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:542)
at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:201)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
at android.app.Activity.performStart(Activity.java:5143)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2223)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2300)
at android.app.ActivityThread.access$600(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1295)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5162)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:744)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:393)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
at java.io.FileInputStream.<init>(Native Method)
at com.surodev.arielacore.common.ArielaTrustManager.loadAppKeyStore(ArielaTrustManager.java:78)
at com.surodev.arielacore.common.ArielaTrustManager.<init>(ArielaTrustManager.java:58)
at com.surodev.arielacore.common.ApiHTTPClient.getHTTPClient(ApiHTTPClient.java:46)
at com.surodev.arielacore.api.icons.ImageUtils.<init>(ImageUtils.java:44)
at com.surodev.arielacore.api.icons.ImageUtils.getInstance(ImageUtils.java:50)
at com.surodev.ariela.fragments.setup.IntroSetupFragment.onViewCreated(IntroSetupFragment.java:55)
at com.surodev.ariela.fragments.serverconfig.BaseConfigFragment.onCreateView(BaseConfigFragment.java:47)
at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2595)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:434)
at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2076)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1866)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1821)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2660)
at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManagerImpl.java:2610)
at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:246)
at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:542)
at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:201)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
at android.app.Activity.performStart(Activity.java:5143)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2223)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2300)
at android.app.ActivityThread.access$600(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1295)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5162)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:744)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
08-16 14:14:04.867 476-781/? W/ActivityManager: Force finishing activity com.surodev.ariela/.BaseFragmentActivity
08-16 14:14:05.267 476-492/? I/ActivityManager: Displayed com.surodev.ariela/.BaseFragmentActivity: +1s173ms
08-16 14:14:39.797 476-756/? I/ActivityManager: Process com.surodev.ariela (pid 24479) has died.
In the folder /data/data/com.surodev…/cache I can see an “icons” folder and a shaders_cache but not the mentioned keystore.
It appears Ariela is not updating location if the app is closed even if I have it set to run as a background service on boot, and checking allow running in background.
If I back out of the app (closing it) it no longer updates my location until I open it again.
Is this working correctly and I must not close the app?
Or since I have it set to run as a background service should it still be updating even if the app is closed?
I still get notifications - so it is working for that…
Is Ariela still showing the notification? If Ariela is not working then only if using mobile_app it should update the device tracker (but nobody guarantees it will since the system can send updates or not).
Yes, notifications still come through - although if the phone is in sleep it can take an extra 10 minutes or more… but they work.
Location doesn’t update though until I open Ariela app it appears.
I hadn’t noticed until recently so I haven’t taken time to test multiple scenarios yet.
Hopefully soon I will be able to so I can test and try and identify specific scenarios where it works / doesn’t work.
I noticed strange problem. The phone alarm sensor (Mobile App) in HA is always 5 minutes earlier then the alarm set on phone.
Other sensors (including availability) show right time.
It’s not big problem with simple workaround but I was wondering what can be causing it.
The alarm is not something Ariela controls. Whatever Android OS is reporting, that value is sended to Home Assistant. Can you confirm this issue is reproducible with other phones too?
Still struggling to get Ariela to update the location tracker unless I open the app. Have set all options to run in the background, start at boot, auto reconnect etc. etc in the app, but still no luck. Guessing I need to have the permanent Ariela notification? but how do I add that?
@Rocklobster
A few messages ago I reported the same thing.
I am gong to try and get some time to test different scenario’s - but you are not the only one seeing this behavior. Location use to update correctly for me, but at some point in the last few weeks (or months) it started doing just as you are observing.
Yeah, just checked it on my wife’s phone and it works as intended…
Must be my phones issue - any case it;s no a big problem.
On the other hand - I’m playing with step counter sensor - is there any way to set it automatically to 0 at the beginning of day so it only calculates daily steps?
That sensor it should reset automatically. I will investigate.
Find my car using mobile_app sensor it should be almost the same like the mqtt ones. Still, i will see what i can do about this, maybe i could add a special sensor for the car BT