Did you open the app on the TV? You need to open it and select ‘ok’ (or something) before the app is actually operational
Yep, I did that.
I connected my nvidia shield and it is working.
On the Google Chromecast, at the initial start I was greeted with a message saying that the app was built for an older version of Android and may not work properly - I forgot to mention this.
I got that message on one of my TV’s but I was still able to link it to the HA Integration. I haven’t tested the notifications on it yet though, but it worked with the previous YAML config.
Strange, now it jumps straight to “Aborted” after pressing Submit. And now there’s nothing showing up in the logs.
Any updates on sending icons to NFATV?
+1 Yep, really miss that.
Another upvote to send icons. @danielperna84, can you shed more light on this? I’m having a hard time understanding why sending images is deemed ‘safe’ but icons are not?
It’s been years since I have worked on this, and I’m not doing it anymore. So I can’t say what may or may not has changed in HA regarding this issue, apart from also not remembering what the specific problem was back then. Someone else will have to step in.
Ah well, I’ve modified the code and created a custom component of it. Now I can tell HA to send any image as icon, picture, or even send both an image and icon. Works perfectly!
Unfortunately my code is not efficient as I am not a developer, so I can’t merge it back into the official HA source.
Hi @redah, am I right in thinking sending an icon means something like icon: 'mdi:cat'
or are we talking about something different? Couldn’t really understand the difference between a custom image and a custom icon in the documentation.
Also, has anyone else had problems with the color of the notifications? Mine are always teal regardless of what I set as the color property.
Many thanks!
Ive had a read through this thread and can see not a lot of successful results of people sending images from a local path top their Android TVs.
I can send a text to the TV without issue…change its lcoaiton, colour, duration extc and all good
But when I try to send an image, be it a url, or a stored picture, it comes up as it did prior to the image being added.
However, it works just fine when using the same location to send a picture to a phone (iPhone 14pro…in case it makes a difference)
Are you trying to send a image from an automation?
If so, this is how it works for me…
Snippet from a automation sending detected objects from Frigate to my Sony TV.
service: notify.bravia_tv
data:
message: >-
A {{trigger.payload_json["after"]["label"]}}
({{trigger.payload_json["after"]["camera"]}})
data:
image:
url: >-
http://192.168.1.145:5000/api/events/{{trigger.payload_json["after"]["id"]}}/snapshot.jpg?bbox=0&crop=1
And im using the:
Im just trying to pass an image stored in the local folder…which appears on a notification to a phone without issue…just not working with my Android TV…I see from the mean github that there were issues with icons a while back but cant see anything similar re pics even though they will not send
I could only get it working with a full url. From memory there is an error message about permissions or security you can see is causing the image to not be sent.