[SOLVED] - Image not found for this event - ES Push Notification

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
Daitaro22
Posts: 1
Joined: Tue Apr 23, 2024 4:53 am

[SOLVED] - Image not found for this event - ES Push Notification

Post by Daitaro22 »

Hello all! First post here. Go easy on me.

I'm running zm 1.36.33 with es and everything is working as I feel it should. I have a camera set up and when there is motion, it uses modect, records the clip, and all is well. I have zmninja and I get the push notification. I can view the event, the event list shows thumbnails, but where I think I should be getting images in the notification, my zm log shows a web_php error: "Object detection animation and image not found for this event."

My url is authenticating and I am not having to manually log in. I have ssl set up and I'm resolving through my website with https.

Is this a simple fix and I'm just blind? Are there obvious places to start? I really don't see any places where images aren't configured - in my zmeventconfig I have push images enabled. Thank you!

EDIT: I figured it out. For those who this helps, I was reading another post and just happened to notice that they had several picture_urls defined in their secret file.

ZMES_PICTURE_URL=https:// example/zm/index.php?view=image&eid=EVENTID&fid= alarm&width=600
ZMES_PICTURE_URL=https:// example/zm/index.php?view=image&eid=EVENTID&fid= objdetect&width=600
ZMES_PICTURE_URL=https:// example/zm/index.php?view=image&eid=EVENTID&fid= snapshot&width=600

I was by default using the objdetect&width one and it was complaining. But there wasn't actually one there for the alarm&width one... I had to type it up. Can we get them there by default with a comment saying which one to choose from? That way all of the available options are at least there and it could potentially ease a problem area down the road for someone. *scratches chin*

Thanks anyway!
Attachments
Screenshot 2024-04-22 234148.png
Screenshot 2024-04-22 234148.png (52.1 KiB) Viewed 113 times
Post Reply