I was previously saving a file to /config/www/snapshot/drive.jpg and then sending a service call notification to my phone using the path /local/snapshot/drive.jpg. Recently since about 6pm EST on 1/6/24 all of my phone notifications from this flow (and all other snapshot flows) have been sending the same image.
Looking for solutions, and seeing that I apparently missed the update about the "new" addon_configs folder, I attempted saving the file to a number of different paths, including homeassistant/www/snapshot/drive.jpg and variations of /share/snapshot/drive.jpg, including trying only the root directory of share and config.
The majority of my file saves are camera snapshot related. The only file saves that work without issue (at least to save them in the addon_configs folder) are ones that use the native "write file" node.
I'm pretty sure that I should no longer be using the /config/www/ path for saving these temporary files to later be viewed via notifications, but as I'm not able to save any snapshot to any path it's making it difficult to find a more suitable location.
Lastly, I am unable to find anything of value in either a debug node or the nodered addon logs.
To Reproduce
1) Create service call
2) Input Domain: camera, Service: snapshot, Entity: camera.entityID, Data: {"filename":"/config/www/drive.jpg"}
3) Test with inject
Expected behavior
A saved file, in the case of the above file path, found in /addon_configs/a0d7b954_nodered/www/
Describe the bug
I'm unable to save camera snapshots.
I was previously saving a file to
/config/www/snapshot/drive.jpg
and then sending a service call notification to my phone using the path/local/snapshot/drive.jpg
. Recently since about 6pm EST on 1/6/24 all of my phone notifications from this flow (and all other snapshot flows) have been sending the same image.Looking for solutions, and seeing that I apparently missed the update about the "new" addon_configs folder, I attempted saving the file to a number of different paths, including
homeassistant/www/snapshot/drive.jpg
and variations of/share/snapshot/drive.jpg
, including trying only the root directory ofshare
andconfig
.The majority of my file saves are camera snapshot related. The only file saves that work without issue (at least to save them in the
addon_configs
folder) are ones that use the native "write file" node.I'm pretty sure that I should no longer be using the
/config/www/
path for saving these temporary files to later be viewed via notifications, but as I'm not able to save any snapshot to any path it's making it difficult to find a more suitable location.Lastly, I am unable to find anything of value in either a debug node or the nodered addon logs.
To Reproduce
1) Create service call 2) Input Domain: camera, Service: snapshot, Entity: camera.entityID, Data: {"filename":"/config/www/drive.jpg"} 3) Test with inject
Expected behavior
A saved file, in the case of the above file path, found in /addon_configs/a0d7b954_nodered/www/
Example Flow
Environment Information
Addon Version: 17.0.2
Home Assistant version: 2024.1.3 OS: 11.4 using Generic x86-64
Node-RED version: 3.1.3 Docker: no Add-on: yes