question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Amcrest AD410 is supported

See original GitHub issue

Version of the custom_component

0.9.2

Configuration

n/a

Describe the bug

I wanted to report that the Amcrest AD410 video doorbell appears to be supported with this integration. Some brief notes in case anyone else has this:

  • Pressing the doorbell appears to fire the alarm_local binary sensor - e.g. binary_sensor.front_doorbell_alarm_local here.
  • The camera shows up in Home Assistant and works fine, including both SD/HD streams and sound.
  • I haven’t figured out how to get the “human detection” working yet; binary_sensor.front_doorbell_smart_motion_human doesn’t appear to fire, but I’ll play with it a bit more.

I’m happy to do any debugging/etc. if any of the maintainers want - but I figured I’d start with the fact that it works 🎉 Thanks to everyone that’s contributed!

Debug log

n/a

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:47 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
GaryOkiecommented, Dec 1, 2021

Amcrest adjusts the Dahua firmware to suit their SmartHome app quite a bit. Although the AD410 implements the Dahua SmartPlan AI for human detection, they did this strictly with Cross Region Detection and not the Smart Motion Human method. There really isn’t any need for SMH as you can rely on the CrossRegionDetection event for very reliable human detection.

For Home Assistant, here’s all you need for the event trigger:

  trigger: 
  - platform: event
    event_type:  dahua_event_received
    id: Human Motion
    event_data:
      event: CrossRegionDetection
      payload:
        action: Start
        data:
          ObjectType: Human

The other possible ObjectType for Dahua cameras is “Vehicle”, but the AD410 didn’t implement it. Checking for ObjectType is currently unnecessary since it will always be Human for now.

1reaction
simonjbambercommented, Dec 7, 2021

Thanks @GaryOkie. I followed your basic approach, but my binary template sensor configuration ended up being slightly different (see below). Perhaps yours is based on amcrest integration rather than dahua one?)

template:
  - trigger:
    - platform: event
      event_type: dahua_event_received
      id: start
      event_data:
        Code: CrossRegionDetection
        Action: Start
    - platform: event
      event_type: dahua_event_received
      id: stop
      event_data:
        Code: CrossRegionDetection
        Action: Stop
    binary_sensor:
    - name:  Doorbell Human Motion Detected
      state: >-
        {{ 'on' if trigger.id == 'start' else 'off' }}
Read more comments on GitHub >

github_iconTop Results From Across the Web

AD410 - Amcrest
Troubleshooting · SDK Programming Guide · How to Turn Off Outside Doorbell Tones (AD410) · How to Setup Two Doorbells on One Chime...
Read more >
Amcrest 4MP Video Doorbell Camera Pro, Outdoor Smart ...
Amazon.com : Amcrest 4MP Video Doorbell Camera Pro, Outdoor Smart Home 2.4GHz ... 2-Way Audio, 164º Wide-Angle Wi-Fi AD410 : Electronics. ... Support...
Read more >
New Amcrest AD410 doorbell Cam Review | Page 7
yes, it's possible... for the AD410/AD110. Are you asking for academic reasons since your Lorex apparently doesn't support the CGI API? http://< ...
Read more >
Amcrest AD410 Integration in Home Assistant - YouTube
What's up Smart Homers? In this video I give a brief review of the Amcrest AD410 Video Doorbell, and also give step-by-step instructions...
Read more >
Solved: Amcrest AD410 won't connect to WiFi - Hardware
If your AD410 is less than a year old, submit a support ticket to Amcrest and have them go through the steps with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found