gugutab/TvOverlay

Unable to display video

kgomez6 opened this issue · 0 comments

This is not a duplicate thread, the issue I was having is that even I set a video url correctly (http://xxx.xxxx.xxx/video.mp4), there is no video showing at any notification I sent from Home assistant. While image is working and showing as notification no problem. Here are my configuration look like:

`notify:

  • name: TvOverlayNotify
    platform: rest
    method: POST_JSON
    resource: http://xxx.xxx.xxx:5001/notify
    verify_ssl: false
    title_param_name: title
    data:
    id: "{{ data.id | default(null) }}"
    appTitle: "{{ data.appTitle | default('Home Assistant') }}"
    appIcon: "{{ data.appIcon | default('mdi:home-assistant') }}"
    color: "{{ data.color | default('#049cdb') }}"
    image: "{{ data.image | default(null) }}"
    smallIcon: "{{ data.smallIcon | default(null) }}"
    largeIcon: "{{ data.largeIcon | default(null) }}"
    corner: "{{ data.corner | default(null) }}"
    seconds: "{{ data.seconds | default(null) }}"

  • name: TvOverlayNotifyFixed
    platform: rest
    method: POST_JSON
    resource: http://xxx.xxx.xxx:5001/notify_fixed
    verify_ssl: false
    title_param_name: title
    data:
    id: "{{ data.id | default(null) }}"
    text: "{{ data.text | default(null) }}"
    icon: "{{ data.icon | default(null) }}"
    textColor: "{{ data.textColor | default(null) }}"
    iconColor: "{{ data.iconColor | default(null) }}"
    borderColor: "{{ data.borderColor | default(null) }}"
    backgroundColor: "{{ data.backgroundColor | default(null) }}"
    shape: "{{ data.shape | default(null) }}"
    visible: "{{ data.visible | default(true) }}"
    expiration: "{{ data.expiration | default(null) }}"

rest_command:
tvoverlay:
url: http://xxx.xxx.xxx:5001/set/overlay
method: POST
verify_ssl: false
headers:
accept: 'application/json'
content_type: 'application/json; charset=utf-8'
payload: '{{ payload }}' '