# Frigate Image (URL) to Android TV Notification Home assistant call service

**URL:** <https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142>\
**Category:** General\
**Created:** [12 October 2021 17:25 UTC](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142 "2021-10-12T17:25:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceaswaran](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ceaswaran/32/28975_2.png) [@ceaswaran](https://discourse.nodered.org/u/ceaswaran)\
**Post date:** [12 October 2021 17:25 UTC](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142/1 "2021-10-12T17:25:43Z")

</div>

Hi,  
I want to get a notification with an image of a person standing near my front door on my android TV.  
Background: I get the url of the image from the Frigate clips folder thru MQTT (Eventid) & want to push the image using Notify call service for Homeassitant.

**Problem: I don't get the notification with the image .**

Here is my sample flow:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5b3562bbf67d16128c3e864324e6a09d804fe24a.png)  
Inject Node:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/4/04ab5f9fc5923c4a22bbd048cceda3a6e544f598.png)

The flow:  
` [{"id":"2339d3b82b3174c4","type":"inject","z":"dd21e18ab46ee182","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"http://192.168.1.111:5000/clips/frontdoorcctv-1633953782.236539-1l7fv8.jpg","payloadType":"str","x":230,"y":640,"wires":[["ec9ce92e7edadcdb"]]},{"id":"ec9ce92e7edadcdb","type":"api-call-service","z":"dd21e18ab46ee182","name":"Notify","server":"406880bb.e9ed2","version":1,"debugenabled":false,"service_domain":"notify","service":"realme_tv_notify","entityId":"","data":"{\"message\":\"Someone at the Front Door.\",\"title\":\"Front Door BOT\",\"data\":{\"duration\":30,\"interrupt\":\"true\",\"fontsize\":\"small\",\"transparency\":\"0%\",\"color\":\"grey\",\"position\":\"bottom-right\",\"file\":{\"url\":\"{{msg.url}}\"}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":390,"y":640,"wires":[[]]},{"id":"406880bb.e9ed2","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]`

Here is the data of notify Node(Call service):

```auto
{
    "message": "Someone at the Front Door.",
    "title": "Front Door BOT",
    "data": {
        "duration": 30,
        "interrupt": "true",
        "fontsize": "small",
        "transparency": "0%",
        "color": "grey",
        "position": "bottom-right",
        "file": {
            "url": "{{msg.url}}" //This msg.url is the payload from previous node or Inject node in above sample
        }
    }
}

```

---

<div class="post-metadata">

**Author:** ![ceaswaran](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ceaswaran/32/28975_2.png) [@ceaswaran](https://discourse.nodered.org/u/ceaswaran)\
**Post date:** [13 October 2021 09:02 UTC](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142/2 "2021-10-13T09:02:57Z")

</div>

![IMG_20211013_143222](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/7/a7753095d1ac4ba7f87490c15bbbab10e060ce7d.jpeg)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 October 2021 09:11 UTC](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142/3 "2021-10-13T09:11:22Z")

</div>

The json editor only supports fully valid json. $$ is not valid.

Did you mean to use JSONata?

---

<div class="post-metadata">

**Author:** ![ceaswaran](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ceaswaran/32/28975_2.png) [@ceaswaran](https://discourse.nodered.org/u/ceaswaran)\
**Post date:** [13 October 2021 09:13 UTC](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142/4 "2021-10-13T09:13:29Z")

</div>

Yes this is my call service HA node details @Steve-Mcl  
Please helo me to send the generated image url to this node  
Thanks you

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/d/ade55e3c7547145c33f18f6f286742aeca2e71f2.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 December 2021 09:13 UTC](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142/5 "2021-12-12T09:13:48Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
