robmarkcole / HASS-Deepstack-object

Home Assistant custom component for using Deepstack object detection
https://community.home-assistant.io/t/face-and-person-detection-with-deepstack-local-and-free/92041
MIT License
438 stars 98 forks source link

Component looks to be writing to two locations #257

Closed robbrad closed 2 years ago

robbrad commented 2 years ago

Hi Rob

Sorry if this is a non issue but im having a hard time working out why there are two copies saved via the component.

In my image processing config I have:

- platform: deepstack_object
  ip_address: localhost
  port: 5000
  save_file_folder: /Fileserver/deepstacksnapshots/
  save_timestamped_file: true
  show_boxes: true
  targets:
    - target: person
  source:
    - entity_id: camera.RSC

Files get saved fine - however I noticed that files are also written to /ha-config/www/person_detected

Do you know why this is ?

My automation works like this

Camera Emails image and motion alert To an email to MQTT container which saves the image and sets off a binary sensor Camera Motion Binary Sensor Triggers a save snapshot to /ha-config/www/camera_snapshot/frontdoor_latest.jpg Action is a deepstack scan - with the above config

robbrad commented 2 years ago

https://github.com/robbrad/emqtt

robbrad commented 2 years ago

User error 🤦‍♂️

Id previously made a mount point - it’s the same dam location 🤣