1.5.0 Feedback

EDIT: I figured this out. It turns out I had a space after my device name in the app configuration. This is actually not the first time I have run in to this issue! Due to the fact that the app completely hides the space in its right alignment, it’s very hard to figure out that’s what’s going on. I recommend that you trim white space on save.

Original post:
1.2.0 is not sending my location to Home Assistant. Hass throws this error when I try to force an update:

Error executing service <ServiceCall device_tracker.see (c:d6f516e2d6234c7ab82f8eb3507319c0): gps_accuracy=65, host_name=Atlas, attributes=timestamp=2018-10-01T12:25:03.447-0700, course=-1, altitude=redacted, speed=-1, vertical_accuracy=10, trigger=Manual, dev_id=greg , gps=[redacted, redacted], source_type=gps, battery=78>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1177, in _event_to_service_call
    await service_handler.func(service_call)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 224, in async_see_service
    yield from tracker.async_see(**data)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 291, in async_see
    dev_id = cv.slug(str(dev_id).lower())
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/config_validation.py", line 323, in slug
    raise vol.Invalid('invalid slug {} (try {})'.format(value, slg))
voluptuous.error.Invalid: invalid slug greg  (try greg_)```

It seems that the settings only crash when I have WiFi turned on, so I’ve been able to log in by turning off WiFi before opening the app, which then lets me enter the details and save the settings but it’s odd that this was working fine yesterday without needing to do this.

actionable notifications do not seam to work like they used to for cameras. I will get notified of motion at front door. I select the watch live button. I get the notification to watch live feed. When I try to watch the feed this is what i see.


The camera feed in the app works. I can see the feed. It appears to be something with the notification.

I just started using the latest bete. I noticed a small issue with my notifications.

I have a few notifications that push a camera image. The image is not included in the notifications anymore. Do I need to change my notification config to get this to work? or is it a bug?

Thanks.

1 Like

Can confirm. I am no longer seeing my camera snapshot via iOS notifications either.

I’m using 1.2.0 version of Home Assistant Companion, installed on iPad 2, iOS 9.3.5
as per suggestion from @DavidFW1960 from post
I just fill in the URL and tap save https://community.home-assistant.io/t/home-assistant-url/21483/25
however I never get any prompt for username and password and still getting below error:

after click on Done, connection error:

1 Like

I loaded the beta app v 1.2.0 running against Home Assistant 0.79.2 (HassIO). I can connect to Home Assistant, but the app doesn’t display any of the HA interface, just the blue header bar.

(tried to upload an image - not sure if it will display)

I’m still using an iPhone4s running iOS 9.3.5. I should also mention that Safari hasn’t been able to display the HA interface since the upgrade to HA 0.79. Both the app (1.1.2) and Safari were working with HA 0.78.3

Thoughts?

1 Like

Is there a way to force some reasonable dimensions to iFramed content. Here’s an example of my glances screen on iPhone X for instance.

I am having this problem too. Have you had any luck?

No luck, using the latest beta version (1.2.0 38).

If I leave “External URL” empty and just fill in “Internal URL” then it states the URL is invalid. When I provide an external URL then it tries to connect but still fails with “Error: invalid client id or redirect url” and in HASS I can see:

2018-10-03 07:14:41 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed on verifying the certificate
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py”, line 625, in _on_handshake_complete
raise handshake_exc
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py”, line 189, in feed_ssldata
self._sslobj.do_handshake()
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py”, line 763, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)

I am providing http://:8123 as the URL for both internal and external since leaving External blank prevents me from saving it.

Some wrong texts in the settings screen in 0.38.

Listened to the new podcast and wow what a nice features are planned to add to the app. Thanks @robbiet480 and @blackgold9! You guys are doing a great job with this new version and really looking forward to 2.0 :+1:

I had the 1.2 beta installed for a few days… every day when I would leave or arrive at home, HA would mark me home, then 5-10 min later, mark me away. The opposite would happen when I would leave: It would first mark me away, then a 5-10 min later (when I was miles away from my Home) it would mark me present again.

Is this known?

@ha_steve, I’ve had a similar issue occurring in both the 1.2 and 1.5 betas…I leave home and 5-6 minutes later the app marks me as “home” for a minute and then back to “not_home”. Additionally, I’ve been having issues with the app never moving from a region to “not_home” (it was noted in recent beta build notes but has returned) even though a notification pops up on the device indicating the device left a specific zone. I’ve attached my debug stuff (sanitized) below:

2018-10-05 08:28:03 INFO (MainThread) [homeassistant.components.http.view] Serving /api/ios/identify to 127.0.0.1 (auth: True)
2018-10-05 08:28:03 INFO (MainThread) [homeassistant.components.http.view] Serving /api/services/device_tracker/see to 127.0.0.1 (auth: 

True)
2018-10-05 08:28:03 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=device_tracker, 

service_data=host_name=xx, attributes=trigger=Geographic Region Exited, source_type=gps, battery=98, gps=[xx.xxxx, -xx.xxxx], dev_id=xx, 

gps_accuracy=75, service=see, service_call_id=a495b5bc0f3c4cb58aec2912bdc61ffc>
2018-10-05 08:28:03 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=device_tracker.xx, 

old_state=<state device_tracker.xx=MLMS; latitude=xx.xxxx, trigger=Geographic Region Entered, longitude=-xx.xxxx, source_type=gps, 

friendly_name=nick, entity_picture=/local/nick.jpg, gps_accuracy=75, battery=99 @ 2018-10-05T08:22:54.641833-04:00>, new_state=<state 

device_tracker.xx=MLMS; latitude=xx.xxxx, trigger=Geographic Region Exited, longitude=-xx.xxxx, source_type=gps, friendly_name=nick, 

entity_picture=/local/nick.jpg, gps_accuracy=75, battery=98 @ 2018-10-05T08:22:54.641833-04:00>>
2018-10-05 08:28:03 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: 

service_call_id=a495b5bc0f3c4cb58aec2912bdc61ffc>
2018-10-05 08:28:03 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1673362736: Sending {'event': {'origin': 'LOCAL', 

'data': {'domain': 'device_tracker', 'service_data': {'host_name': 'xx', 'attributes': {'trigger': 'Geographic Region Exited'}, 

'source_type': 'gps', 'battery': 98, 'gps': [xx.xxxx, -xx.xxxx], 'dev_id': 'np', 'gps_accuracy': 75}, 'service': 'see', 'service_call_id': 

'a495b5bc0f3c4cb58aec2912bdc61ffc'}, 'context': {'user_id': '933584a4b61e4a1891f637ee1867236e', 'id': 'bc6a1ee974d045d8a52cbe0588e0592c'}, 

'time_fired': datetime.datetime(2018, 10, 5, 12, 28, 3, 276263, tzinfo=<UTC>), 'event_type': 'call_service'}, 'id': 1, 'type': 'event'}
2018-10-05 08:28:03 DEBUG (MainThread) [homeassistant.components.homekit.accessories] New_state: <state device_tracker.xx=MLMS; 

latitude=xx.xxxx, trigger=Geographic Region Exited, longitude=-xx.xxxx, source_type=gps, friendly_name=nick, 

entity_picture=/local/nick.jpg, gps_accuracy=75, battery=98 @ 2018-10-05T08:22:54.641833-04:00>
2018-10-05 08:28:03 DEBUG (Thread-5) [pyhap.characteristic] set_value: OccupancyDetected to False
2018-10-05 08:28:03 DEBUG (Thread-5) [homeassistant.components.homekit.type_sensors] device_tracker.xx: Set to 0
2018-10-05 08:28:03 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1673362736: Sending {'event': {'origin': 'LOCAL', 

'data': {'entity_id': 'device_tracker.xx', 'old_state': <state device_tracker.np=MLMS; latitude=xx.xxxx, trigger=Geographic Region Entered, 

longitude=-xx.xxxx, source_type=gps, friendly_name=nick, entity_picture=/local/nick.jpg, gps_accuracy=75, battery=99 @ 2018-10-

05T08:22:54.641833-04:00>, 'new_state': <state device_tracker.xx=MLMS; latitude=xx.xxxx, trigger=Geographic Region Exited, longitude=-

xx.xxxx, source_type=gps, friendly_name=nick, entity_picture=/local/nick.jpg, gps_accuracy=75, battery=98 @ 2018-10-05T08:22:54.641833-

04:00>}, 'context': {'user_id': None, 'id': '462ab0e98e2f4c0d8cbf7e62324512ef'}, 'time_fired': datetime.datetime(2018, 10, 5, 12, 28, 3, 

283064, tzinfo=<UTC>), 'event_type': 'state_changed'}, 'id': 1, 'type': 'event'}
2018-10-05 08:28:03 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1673362736: Sending {'event': {'origin': 'LOCAL', 

'data': {'service_call_id': 'a495b5bc0f3c4cb58aec2912bdc61ffc'}, 'context': {'user_id': '933584a4b61e4a1891f637ee1867236e', 'id': 

'bc6a1ee974d045d8a52cbe0588e0592c'}, 'time_fired': datetime.datetime(2018, 10, 5, 12, 28, 3, 289674, tzinfo=<UTC>), 'event_type': 

'service_executed'}, 'id': 1, 'type': 'event'}

It looks as if the app kept the device’s location as the zone it exited and didn’t change to “not_home” when it did indeed exit the zone.

Exactly. And vice-versa for me… I arrive home, and 5ish minutes later, all my light shut off because it flips back to not_home

For me, the false home/not_home events are always logged as: Location updated via Visit and I noted that one of the recent changes was dropping SwiftLocation for a new framework called Visit so I’m assuming it has something to do with that.

Edit: Is there another place we should be reporting bugs?

I’ve been clicking on the “email beta something something” (don’t have my phone in front of me) in the testflight Home Assistant app listing and sending brief findings to @robbiet480 and @blackgold9. I’m not entirely sure if we should open up an issue on github or not? One thing to test…If you go into settings, privacy, location services, system services and either clear the frequent locations OR turn them off completely it may clear up the issue since it’s using the SwiftLocation Visit stuff, albeit temporarily IF you only clear the locations until they’re “rebuilt.”

This is still happening for me in the latest version. I can work around it by disabling WiFi before trying to open settings, but it makes it very difficult to check the settings.

New version removes Visits which should clear up location issues. New version also hides away advanced options like use legacy auth and basic auth.

Keep the feedback coming!

Any further feedback in this? Why is it trying SSL when i’m connecting using HTTP.?

robbie Looking at the event log on the ios app version 1.05 the url appears to be filling out incorrectly when trying to show an image. this is what I get in the paylod file when I receive a notification with an image

“url” : “http://torn*****/local/front_door.jpg”
of course the formatting isn’t showing correctly
“url” : "http:Wtorn*****VlocalVfront_door.jpg
The link I get for the live feed view is
“url”: "/api/camera_proxy/camera.front_door_camera?token=XXXXXX
“url”: "VapiVcamera_proxyVcamera.front_door_camera?token=XXXXXX
Not sure if its relevant or not.

Hope this helps

The attachment and camera notifications are currently broken because of the new API, I believe @blackgold9 is shooting to have a fix out in the next 48 hours for both.

1 Like