Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant save image from [homeassistant.components.camera] Can't write test.jpg, no access to path! #30

Closed
smithjosh5461 opened this issue Jan 2, 2022 · 2 comments
Labels
question Further information is requested

Comments

@smithjosh5461
Copy link

I get this error when trying to save an image with camera.snapshot running in this version. i have an automation that takes a pic from my blink camera on motion but get this error

tried in and out of the media folder, tried creating the image in there first so it exist, and still cant seem to save a file.

[homeassistant.components.camera] Can't write test.jpg, no access to path!
[homeassistant.components.camera] Can't write media/test.jpg, no access to path!

service: camera.snapshot
target:
entity_id: camera.blink_front_door
data:
filename: test.jpg

service: camera.snapshot
target:
entity_id: camera.blink_front_door
data:
filename: /media/test.jpg

I added the whitelist here
default_config:

Whitelist Folders

whitelist_external_dirs:
- /media/

@AlexxIT AlexxIT added the question Further information is requested label Feb 6, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 6, 2022

Maybe you need to enter full path?

@AlexxIT
Copy link
Owner

AlexxIT commented May 12, 2022

@AlexxIT AlexxIT closed this as completed May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants