jeremypsl
(Jérémy P.)
April 3, 2023, 8:37pm
1
Hello,
I have a new problem with notifications, everything was working fine for months and now it’s not anymore…
My problem is with notifications with images or entity images added in it.
I can’t recieved them when i’m on the LAN but it’s working over Internet…
If i just remove the image of the notification setup, it’s working on LAN.
Thanks.
NathanCu
(Nathan Curtis)
April 3, 2023, 8:59pm
2
Please. Post the automation that drives the notification.
Also where is the image coming from?
jeremypsl
(Jérémy P.)
April 3, 2023, 9:03pm
3
- service: camera.snapshot
data:
filename: /media/PSLCAM-Parking.jpg
target:
entity_id: camera.pslcam_parking
- service: notify.jeremy
data:
message: Activation
title: Portail
data:
sound: portail.wav
image: /media/local/PSLCAM-Parking.jpg
url: /lovelace-cameras/parking
clickAction: /lovelace-cameras/parking
actions:
- action: URI
title: Voir
url: /lovelace-cameras/parking
tom_l
April 3, 2023, 9:13pm
4
jeremypsl:
notify.jeremy
Which notification platform is this?
1 Like
Check your companion setting, connecting through External URL , local push is disable,
You need to change to Internal URL, to have local push enable , this is for IOS, I don’t know about Android.
I was having the same issue on IOS, but I managed to resolve it by port forwarding 8123 for my Home assistant IP via my router settings.
jeremypsl
(Jérémy P.)
April 4, 2023, 7:24am
6
Thanks for all your answers.
I use groups of notifications to simplify an eventual mobile change, nothing wrong here.
notify:
- name: jeremy
platform: group
services:
- service: mobile_app_jeremy
The main problem here is why it was working just like that for months and now it’s not ?!
It’s the same problem for both my wife iPhone and mine.
Why notifications without images works ?
I have a local ip for internal url and dns address for external url.
Local push is enabled when i’m on my local 192.168.x.x address, the problem is about images !
Edit : If i add that it’s working…
attachment:
lazy: true
tom_l
April 4, 2023, 8:49am
7
Ok so you are using the companion app notification, Android or iOS?
This may seem irrelevant but if you tell me I can check the open issues for that notifier.
jeremypsl
(Jérémy P.)
April 4, 2023, 8:59am
8
Yes the companion on iOS.
1 Like
tom_l
April 4, 2023, 9:13am
9
Ok, so no open issues:
If you don’t get this resolved here you can open a new issue there and get expert help from the developers.
jeremypsl
(Jérémy P.)
April 4, 2023, 9:17am
10
Well, with the addition of this in my automations, it’s working :
attachment:
lazy: true
But i will never know why it stopped working recently with my original code…
I have several iOS users complaining about notifications not always showing images. I will get them to test with the lazy option