Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106736

Media Source video from notification does not play on ios

$
0
0

I am trying to open to a media_source video via a notification on ios. I have

  allowlist_external_dirs:
    - "/config/media/"
  media_dirs:
    local: "/config/media/"

setup in my configuration.yaml The video does show up in my Media tab in the Home Assistant app and it does allow me to play it when I select it there. However, I am attempting to send a notification to my iphone that, when clicked opens the app and plays the video. This is my test automation:

description: ""
trigger: []
condition: []
action:
  - service: camera.record
    metadata: {}
    data:
      duration: 5
      lookback: 0
      filename: /config/media/test.mp4
    target:
      entity_id: camera.driveway
    enabled: false
  - service: notify.mobile_app_shawns_iphone
    metadata: {}
    data:
      title: Test
      data:
        url: /media/local/test.mp4
      message: Test
mode: restart

When I run this, a notification is sent as expected. When I click the notification though, it brings me to a screen with a crossed out play button. I am not quite sure what is going wrong. Thanks for the help!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106736

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>