Good evening,
I couldn’t find any other people with a similar issue to mine, so I’m asking for some assistance.
Setup is HA available over a cloudflare tunnel. Was trying to setup notifications with a camera snapshot served from my www folder, to be accessible via https://[my domain]/local/[image.jpg]. The idea being, next time the automation ran it would overwrite the previous snapshot and then I could delete it automatically a couple of minutes after to keep the folder clean.
Saving a quick test camera snapshot to my www folder via an automation worked great, the file was accessible externally. The issue came when I tried to take another snapshot, and then delete them.
The automation for the second snapshot ran, but checking the image in the folder, it hadn’t changed, same image with the same timestamp (both file creation and the timestamp on the image itself, so I know it was the same picture). I copied the image to the same folder but with a different filename, and low and behold when I opened it, it was my second snapshot with the timestamp matching the time I ran the second automation.
I don’t know if HA is able to overwrite images it creates with it’s default permissions, so I had initially chalked it up to that. But once I’d made a copy of the file and it was inexplicably not the same image, I started to get confused.
Further to that, when I deleted both images using the CLI (rm [image.jpg]), they’re still accessible externally. They’re not cached as I’ve checked from several sources outside of my home network, rebooting HA and the thinclient it runs on made no difference. If I use the find command from the shell, I cannot find any other instances of that file, and according to documentation and forum posts www should be the only place I can serve files from.
Fairly new HA install, maybe only about a month old and everything is completely up to date.
Any ideas what’s going on?