Hi there,
I have some Dahua cameras and while all other functions work perfectly (e.g. streaming to frontend) I cannot get this function to work and would really appreciate some help from the community if possible.
I am trying a super simple service call from the Developer tools tab
The above example is me trying with camera installed as a generic camera rather than the Dahua integration but neither work. No file is ever written.
I have included /tmp in the configuration.yaml
homeassistant:
allowlist_external_dirs:
- “/tmp”
There is absolutely nothing coming up in logs at all related to when I hit the service call. The only thing that appears related to the cameras is this which pops up from time to time.
First of all: I am currently running Core 2024.2.1 and I also use Home Assistant in a VM.
For example, I use a simple automation to start recording with a Dahua camera when someone presses the bell button on my Amcrest AD110. The Dahua camera (192.168.1.87) is also integrated as a generic camera. The recordings are then saved under Media and are then available under Media Sources → My media.
I changed the target directory from /tmp to /media and it worked!
Despite defining /tmp in the allowlist it seems the camera.record function didn’t like it being the target directory.