Hello all,
I’m currently using Node Red to save an image to {"filename":"/media/media/garage_pic.jpg"}
using the snapshot service. I’m trying to then send the photo so my Android phone (companion app) using Node Red.
I’m having trouble finding the correct image link.
When I use:
{
"title": "Garage Door Closed",
"message": "The garage door is open.",
"data": {
"sticky": "true",
"tag": "garage",
"image": "https://mynabucasa.ui.nabu.casa/media/local/garage_pic.jpg",
"notification_icon": "mdi:garage"
}
}
I get the notification but no picture. A message pops up on my HA dashboard about a failed login attempt.
I’ve tried several other combinations like "image":"/media/local/garage_pic.jpg"
but nothing seems to be working. Any ideas how I can pull the image from my media folder using Node Red?
Side note, I had been doing this successfully when saving and pulling the image from my www folder. I’m trying to convert to the safer authentication method and stop saving pics/videos to the www folder.