Greetings, and thank you in advance for your support!
I’ve read many posts and articles and tested templates about HA Amcrest video doorbell AD110 integration, intending to send camera snapshot images with notifications on the most recent motion/doorbell push.
I’ve tested the Amcrest, FFMPEG, and Dahua integrations, and I can only get notifications without image snapshots from the most recent motion/doorbell push from the Amcrest, FFMPEG, and Dahua integrations.
Could you please comment on what I’m missing in getting the snapshot images working within my below automations?
I’ve still testing the following automations using the Amcrest integration, and all tests send notifications without a snapshot image.
alias: Front Doorbell
description: ""
trigger:
- platform: event
event_type: state_changed
event_data:
entity: camera.amcrest_doorbell
not_from:
- unavailable
not_to:
- unavailable
- platform: event
event_type: amcrest
event_data:
event: CallNoAnswered
payload:
action: Start
condition: []
action:
- service: camera.snapshot
data:
filename: /media/local/hassio-cameradoorbell.jpg
target:
entity_id: camera.doorbell
- service: notify.notify
data:
title: Ding-dong!
data:
image: /media/local/hassio-cameradoorbell.jpg
message: Somebody rang the doorbell
mode: single
Note: No snapshot images are showing up in /media/local/
+++
alias: Ring Doorbell Take Snapshot
description: ""
trigger:
- platform: event
event_type: dahua_event_received
id: doorbell button pressed
event_data:
platform: event
id: doorbell button pressed
event_data:
event: CallNoAnswered
payload:
action: Start
condition: []
action:
- service: notify.mobile_app_be2015
data:
message: DOOR BELL {{now().strftime("%m-%d %H:%M")}}
- service: camera.record
data:
filename: mp4
duration: 30
lookback: 30
target:
device_id: 4ee3e7a59c4fab5690118b8bdbbd64d0
mode: single
Great community content:
tl;dr
I have Amcrest doorbell snapshots working via ffmpeg camera
as well as playing back MP4 clip of last activity.
Hi @JTPublic
Very nice summary in your OP - thanks for that. I have been using a Skybell Doorbell for a few years and got fed up with not being able to see live views or snapshots in HA, but only through their app. The Amcrest Doorbell solves that - including real-time snapshots!
I’ve been working with it for a few weeks now, and have it integrated with HA with pretty much …
So I want to start out with underlining how important the next sentence is when it comes to this product.
Should always exercise caution when messing with anything when it comes to this doorbell and changing things via the API is no exception.
There is already at least one other topic on this on this forum here .
I bought this doorbell back in January 2020 in hopes of having a local only HA integrated video doorbell. I bricked one but the second one has held up so far and been quite nice. I on…
i am talking about two different, the official and another but I know @GaryOkie is familiar with both so I figured he’d know… with the official did you get an amcrest event on the events page of listeners?
Thanks JT, that’s interesting, especially if you are already using MQTT. I think it boils down to what integrations/apps that you are already using that can do the job rather than adding any more moving parts. I am looking at using Telegram notifications to send commands to Tasker now since that is what I’m already using for alerts. And it’s free.
In the HA Tasker thread, @CentralCommand documented how to use rest_command to send HA messages to the Tasker AutoRemote plugin. I found th…
AD110 HTTP API SNAPSHOT works now in the latest firmware update!
http://userid :password@/cgi-bin/snapshot.cgi
One gripe I have about HA is the inability to display live streams within lovelace. I mean completely live streams, not once that update once every 10 seconds. I use BlueIris, and the BlueIris app lets me do this and I have been trying to replicate this in Home Assistant.
I was hoping that @hunterjm ’s stream component would fix this, but it seems like all this does is give me another way to configure this within the UI.
So my entity card looks like this:
entity: camera.carport
show_name: fals…
tmjpugh
(Tmjpugh)
October 11, 2022, 11:51pm
2
I use the frigate integration and event trigger provided from that using below automation
You can also call snapshot from frigate camera direct.
cooperconst:
I’ve tested the Amcrest, FFMPEG, and Dahua integrations, and I can only get notifications without image snapshots
Images need web accessible location without password. You should be able to post image to location and access it from a phone or PC. Get that working then you’ll be able to use it in notification. This was my experience
alias: NOTIFY_FrigateEntryGateMotionInOut
description: ""
trigger:
- platform: mqtt
topic: frigate/events
condition:
- condition: or
conditions:
- condition: template
value_template: "{{ trigger.payload_json[\"after\"][\"current_zones\"] == [\"outside\"] }}"
- condition: template
value_template: "{{ trigger.payload_json[\"after\"][\"entered_zones\"] == [\"outside\"] }}"
- condition: template
value_template: "{{ trigger.payload_json[\"after\"][\"current_zones\"] == [\"inside\"] }}"
- condition: template
value_template: "{{ trigger.payload_json[\"after\"][\"entered_zones\"] == [\"inside\"] }}"
action:
- service: notify.mobile_app_me
data:
message: >-
A {{trigger.payload_json["after"]["label"]}} is {{
trigger.payload_json["after"]["current_zones"] }} the
Gate.{{trigger.payload_json["after"]["top_score"]}}
data:
tag: NOTIFY_EntryGateMotionInOut
image: >-
https://HA.com/api/frigate/notifications/{{
trigger.payload_json["after"]["id"] }}/snapshot.jpg
actions:
- action: OPEN_ENTRY_GATE
title: Open Gate
destructive: true
- action: URI
title: APP
uri: /lovelace/3
mode: single
Hi tmjpugh , thank you for your support!
I’ve not yet gone the mqtt route. Have you tried without?
tmjpugh
(Tmjpugh)
October 12, 2022, 7:12pm
4
The integration used MQTT
You can post snapshot into www folder of HA and that will be accessible for notification.
I think for iOS or android app this may not be needed but for me I was using html5 notifications that required ability to retrieve image without login. If using APP it may be able to retrieve since already logged in.
EDIT
MQTT is for trigger only be not needed for sending photo