Device_tracker and mobile_app

To be honest i do not know how to 100% clean it.

The minute I reinstalled the app on my phone I started getting these warnings. Does this make sense to you? Also, weirdly enough, having erased data AND uninstalled the app, once it was installed again it remembered all the settings, including HA urls and login credential. How is this even possible?

2019-06-16 23:01:55 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:01:56 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:01:56 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:01:56 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:01:56 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:01:57 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:02:00 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:02:56 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:03:00 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:03:56 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:05:10 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:05:46 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4842b4fa0120af74d43b29d63f9ea946184513ea1c992f8f1ac7f395d7b1a644
2019-06-16 23:06:47 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.mobile_app
2019-06-16 23:06:47 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.mobile_app
2019-06-16 23:06:59 ERROR (MainThread) [homeassistant.components.mobile_app.webhook] Refusing to update non-registered sensor: a576df4b897f95910acd6ab8b1b0d82842992d9ccec571c5dd21934d70ba986e_mobile_app_galaxy_s8_battery
2019-06-16 23:06:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mobile_app entity: sensor.galaxy_s8_battery_sensor_4
2019-06-16 23:07:01 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mobile_app entity: sensor.galaxy_s8_wifi_sensor_4
2019-06-16 23:07:02 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mobile_app entity: sensor.galaxy_s8_call_state_sensor_3
2019-06-16 23:07:07 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mobile_app entity: sensor.galaxy_s8_availability_sensor_4

Mobile_app device tracker on Android 7.0 is returning malformed data - it switches lat and lon in location :smiley:

@Ionut, anyway to fix this?

Yes, Ariela.tries to update sensors which are not present anymore.in HA. Just use the force mobile registration from Ariela and issue will dissapear.

What Ariela version you are using?

Iā€™m about to give up :frowning: No matter what settings I try, app uninstalls, cache cleaning, I canā€™t get the tracker working :frowning: It reports online at hassio restart but from then on - nada. I also started getting a bunch of those, clearly related to Ariela activity.

2019-06-18 00:20:25 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete
  File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake
  File "/usr/local/lib/python3.7/ssl.py", line 763, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1056)

Can you send me the logs of Ariela? Also when SSL Ha error appeared what Ariela was doing?

These instructions can be used to reset mobile_app integrations entirely. cc @Ionut

2 Likes

Thanks @robbiet480!
I have done this nearly to the letter experimentally.
Great to know I didnā€™t do something to break my system :smile:

Are there instructions beyond the official docs for using the device tracker? Iā€™m a new user (for Ariela, not HA) and really like how much functionality there is. Iā€™m struggling to get the device tracker stable though.

Steps taken:

Installed the app
flipped on settings switches for device tracker and the mobile app tracker
nothing happened in HA

flipped off mobile app tracker and switched to See service
device tracker was then created and intermittently updates. Iā€™ve turned on the ā€˜start as background service, run in the backgroundā€™ ā€“ those kinds of settings. I also shutoff adaptive battery and battery optimization for the app. I seem to only get updates when I wake up my phone. I tried restarting my phone with no improvement.

Iā€™ve also enabled MQTT sensors and Iā€™ve been monitoring the availability sensor. It seems to be about 1 minute out from my laptop time (which seems acceptable) so I think the app is connecting fine. I have auto reconnect turned on.

Thanks! (PS LOVE the app!!! Instantly bought PRO)

Hi,

Can you share the Ariela logs so i can check it out? Also can you confirm you see a Ariela notification all the time?

I turned on debugging for a few minutes and emailed the log file to you. During the time of the logs my location wasnā€™t getting updated in HA. I had the See device tracker turned on.

I havenā€™t noticed any problems with the persistent notifications. It appears to be very persistent!

Please check your email, i send a response. Thank you.

Thanks for checking into it. I replied to your email.

1 Like