Home Assistant Companion - Notifications with /api/camera_proxy works on iPhone and Android, but when I switch to /media/local/ I get 404 only on iPhone

Support

Hello.

The below works no problem, iPhone and Android can both get the notification and both see the image.

service: notify.all_mobile_devices
data:
  data:
    image: /api/camera_proxy/camera.doorbell_main
    attachment:
      hide-thumbnail: false
  message: Human Detected
  title: Human Detected
enabled: false

nginx logs confirm the same

nginx.1     | [snip] - - [16/Feb/2024:22:34:34 +0000] "GET /api/camera_proxy/camera.doorbell_main HTTP/2.0" 200 58972 "-" "Home Assistant/2023.12.1 (io.robbie.HomeAssistant; build:2023.508; iOS 17.2.1)" "[snip]:8123"
nginx.1     | [snip] - - [16/Feb/2024:22:34:34 +0000] "GET /api/camera_proxy/camera.doorbell_main HTTP/2.0" 200 58972 "-" "Home Assistant/2024.1.5-12102 (Android 13; [snip])" "[snip]:8123"

However when I change to the following....

    image: /media/local/door/motion/latest.jpg

Works on Android, gives me "Response status code was unacceptable 404" only on iPhone

nginx.1     | [snip] - - [16/Feb/2024:22:31:18 +0000] "GET /media/local/door/motion/latest.jpg HTTP/2.0" 200 61640 "-" "Home Assistant/2024.1.5-12102 (Android 13; [snip])" "[snip]:8123"
nginx.1     | [snip] - - [16/Feb/2024:22:31:35 +0000] "GET /media/local/door/motion/latest.jpg HTTP/2.0" 404 14 "-" "Home Assistant/2023.12.1 (io.robbie.HomeAssistant; build:2023.508; iOS 17.2.1)" "[snip]:8123"

Note the 404 on iPhone side....feel like I'm losing my mind....am I missing anything obvious?

Posted Feb 16, 2024, 11:00 PM UTC

10

Comments aren't archived yet

Comments for this period haven't been loaded into the archive yet.