Home Assistant for iOS 2.0 Beta Testing

A small subset of users are experiencing a crash, you are one of the lucky few. Working on a fix, will be a few hours, go back to 35 or 36 for now.

3 Likes

Hey Robbie, I just tried the new build, still no luck with with the watchface displaying the correct value, it’s still showing the template string. I haven’t restarted HASS yet but I’ve restarted the watch.

You are on at least 0.90, right?

Yep. 0.90.1

Found a bug in push notification registration that causes the app to not get a new token. Location updates also weren’t working because a key was in the payload that was supported in earlier versions of mobile_app but not the latest versions. New build is processing with Apple now but 36 took almost 3 hours to finish processing. I’m going to lay in bed for a bit and if I get notified build is ready i’ll push it then, otherwise I’ll fall asleep and push it in about 8-10 hours from now. Apologies!

There might be some weird Watch app caching bug going on, someone on Discord reported a similar issue. Hoping that 37 knocks whatever issue it is loose.

Hi,

I just managed to get the actions working from my Apple Watch, works great!

I have two questions:

  1. Adding actions works, removing them doesn’t. I have only 1 action defined in the app, but the watch still shows previously removed actions. How can I delete those?

image

  1. The below automation works for catching a specific action, but How can I create an automation that catches a specific action from a specific phone/watch (e.g. phone: iphone_michel_hass)? Do I use conditions and how exactly?
- id: catch_ios_action_notification
  alias: Catch iOS action notification
  initial_state: 'true'
  trigger:
  - event_type: ios.action_fired
    platform: event
    event_data:
      actionName: Voord.
  action:
  - data_template:
      message: 'Received action named {{ trigger.event.data.actionName }} from device {{ trigger.event.data.sourceDeviceID }} triggered from {{ trigger.event.data.triggerSource }}'
    service: notify.ios_iphone_michel_hass

Thanks!

Updated to the latest version just now, think it is version 37, and it crashes after the splash screen. Let me know how to give you additional debug info

I am getting the same crash. Rebooted phone and deleted and installed but still crashing.

This is happening for me as well

me 3. back to 36

2.0 build 37 got pulled. There’s a crash condition as well as notifications and location updates not working.

1 Like

36 also working for me.

Will fix again when I wake in 8-10 hours. Night.

3 Likes

It was easier then I thought:

- id: mobile_app_action_voordeur_openen
  alias: "mobile app action: voordeur openen"
  initial_state: 'true'
  trigger:
  - event_type: ios.action_fired
    platform: event
    event_data:
      actionName: Voord.
      sourceDeviceID: iphone_michel_hass
  action:
  - service: notify.ios_iphone_michel_hass
    data_template:
      message: 'Received action named {{ trigger.event.data.actionName }} from device {{ trigger.event.data.sourceDeviceID }} triggered from {{ trigger.event.data.triggerSource }}'

Still having the issue that Actions removed in the app stay present in the watch :frowning:

Just noticed that ‘Render Template’ isn’t available within Shortcuts as an workflow item, but is to Siri Shortcuts – is this a bug? It seems like having the option within Shortcuts would be more useful?

Thank you. Could you clarify how to write a url?
I used example from here, but can not figure out how to write a url inside home assistant. https://www.home-assistant.io/docs/ecosystem/ios/notifications/attachments/

Should it be like domain.duckdns.org/config/www/…?
I did not succeed that way

On 0.91.0 and 2.0 (36) and notify.mobile_app... isn’t working for me. I don’t even have notify.mobile_app listed in the services menu. Any ideas? I’ve restarted several times and notify.ios still works.

When you place something in /config/www/snapshot.jpg you can link via https://your-ha.duckdns.org:8123/local/snapshot.jpg

1 Like

You’re doing better than me, none of my iOS notifications are working, either with mobile_app or ios_

Can’t see any errors in the logs either, which is frustrating.