Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Cant save snapshot from camera

$
0
0

@tung256 wrote:

using Dev Tools/Services tab, i have:
service: camera.snapshot
entity: camera.armcrest_camera
data: entity_id: camera.amcrest_camera
filename: ‘/tmp/armcrest_camera_{{ now().strftime("%Y%m%d-%H%M%S") }}.jpg’

i was expecting to see the file here: /home/tung/.homeassistant/tmp
BUT
error log shows: Can’t write /tmp/armcrest_camera_20200117-142600.jpg, no access to path!

i put this in config yaml as well but it did not help:
whitelist_external_dirs:
- /tmp/

this is on ubuntu with HA installed via Python venv. all the tutorials i saw was for HassIO

Posts: 7

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>