Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshots/thumbnails/clips in notifications #3004

Open
JoshuaSeidel opened this issue Sep 16, 2024 · 19 comments
Open

Snapshots/thumbnails/clips in notifications #3004

JoshuaSeidel opened this issue Sep 16, 2024 · 19 comments

Comments

@JoshuaSeidel
Copy link

iOS device model, version and app version

Model Name: iPhone 15 pro
Software Version: 18.1 beta
App version: 2024.9 (2024.842)

Home Assistant Core Version
2024.9.1

Describe the bug
All my automations that used to show clips/thumbnails/snapshots no longer display them in notifications. The only thing that works is the text in the box.

To Reproduce

Setup a notification from a ip camera or frigate. Set to send snapshot

Expected behavior
The notification to come through with a snapshot in the bar

@bgoncal
Copy link
Member

bgoncal commented Sep 16, 2024

Can you provide one automation example and which integration are you use for the camera?

Also, can you send a screenshot of what you receive on your phone? (Notification itself)

And finally, rebooting the iPhone helps?

@ultimate-tester
Copy link

ultimate-tester commented Sep 17, 2024

I am not the OP but I can confirm the issue. I am using unifi as cameras and I am using NODE-RED to trigger the notify service:

{
    "title": "Doorbell Ringing",
    "message": "🔔 Someone is at the door",
    "data": {
        "entity_id": "camera.doorbell_high",
        "push": {
            "sound": {
                "name": "default",
                "critical": 1,
                "volume": 1
            }
        }
    }
}

Results in:
image
image

This has worked fine in the past, but then hasn't worked for quite a bit but then worked again. So I am not exactly sure when it started to not-work.

Rebooting the phone has no effect.

@JoshuaSeidel
Copy link
Author

I am not the OP but I can confirm the issue. I am using unifi as cameras and I am using NODE-RED to trigger the notify service:

{
    "title": "Doorbell Ringing",
    "message": "🔔 Someone is at the door",
    "data": {
        "entity_id": "camera.doorbell_high",
        "push": {
            "sound": {
                "name": "default",
                "critical": 1,
                "volume": 1
            }
        }
    }
}

Results in: image image

This has worked fine in the past, but then hasn't worked for quite a bit but then worked again. So I am not exactly sure when it started to not-work.

Rebooting the phone has no effect.

thank you, ive been waiting to get notifications to be able to post. this is what happens to me. or it doesnt even show the thumbnail box

@bgoncal
Copy link
Member

bgoncal commented Sep 18, 2024

Any difference between being on local wifi or not? Can you try?

Can you confirm that the câmera entity ID is correct? I also use Unifi and it is working properly for me, do you have more than one device to test to see if it is related?

trim.8E3E89D6-79F3-41A9-AB56-CB1B95FE7F28.MOV

@JoshuaSeidel
Copy link
Author

For 3 of my cameras . Two Reolink through fargate, 1 Wyze through fargate same issue. The Apple watch displays video and snapshot, but the app on the phone won't, WiFi or cellular

@JoshuaSeidel
Copy link
Author

image

@bgoncal
Copy link
Member

bgoncal commented Sep 18, 2024

Do you have another phone to test?

Meanwhile send me your app logs please:

https://forms.gle/rZthn7H7pmZLyWjR8

@JoshuaSeidel
Copy link
Author

Do you have another phone to test?

Meanwhile send me your app logs please:

https://forms.gle/rZthn7H7pmZLyWjR8

I don't have another phone but the other user shows it's not just me

Submitted logs from app

@JoshuaSeidel
Copy link
Author

30min later the existing notifications show on long press but the snapshots don't on the actual notification

@bgoncal
Copy link
Member

bgoncal commented Sep 19, 2024

Do you have another phone to test?
Meanwhile send me your app logs please:
https://forms.gle/rZthn7H7pmZLyWjR8

I don't have another phone but the other user shows it's not just me

Submitted logs from app

I didnt mean it was just happening to you, I just want to find the root cause since it's working for some users but not for others, for example, in the screenshot it shows that the "response status" is 404, which means the media couldn't be found.

Anyway, I'll check your logs

@bgoncal
Copy link
Member

bgoncal commented Sep 19, 2024

@JoshuaSeidel are you in discord? I want to check some things with you but I'll need to share personal info from your logs, can you drop me a message? (discord username bgoncal2)

@ultimate-tester
Copy link

ultimate-tester commented Sep 19, 2024

Me and my wife are experiencing the same but I do have to say: for the first time I had this issue it was only my wife who had it. Not me. At the moment, it's both of us though.

No difference on WiFi or not.

I see in your config you are using the _low entity while I'm using the _high entity. I'll try the low one now. Brb.

EDIT: the low entity has the same

@bgoncal
Copy link
Member

bgoncal commented Sep 19, 2024

Thanks for the info @ultimate-tester , I see @JoshuaSeidel is on Core 2024.9.1, what about you? And also the App version please.

@ultimate-tester
Copy link

Thanks for the info @ultimate-tester , I see @JoshuaSeidel is on Core 2024.9.1, what about you? And also the App version please.

Hi Joshua, both app (looked in App Store) and core version are 2024.9.1.

@JoshuaSeidel
Copy link
Author

Beta app 2024.9.2

@JoshuaSeidel
Copy link
Author

When I long press and hit view clip I get

{"message":"Event not found","success":false}

@ultimate-tester
Copy link

ultimate-tester commented Sep 20, 2024

Quick update: I fixed the issue.
I suddenly remembered that I swapped my HDD for an SSD in my unifi cloud key and I started from scratch instead of migrating. Turns out, my RTSP streams were turned off... turned them back on and voila, problem fixed.

image

In unifi, select the camera, settings > advanced RTSPS. Enable the stream that matches your entity (e.g. _low, _medium, _high).
image

@JoshuaSeidel
Copy link
Author

I'm on frigate, and only use rstp still having the issue

@Tuatop
Copy link

Tuatop commented Oct 4, 2024

For my issue. Image attachment load properly on my iPhone 15 pro (iOS 18), but always get this error when load on my Apple Watch Ultra 2 (WatchOS 11).

apple watch ss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants