any possibility to add events related to doorbells (button pressed) in this library?
In the end it seems that the amcrest and dahua doorbells have the same firmware as the cameras with just the addition of a button
Sorry to necromance this thread, but one of the features I’m curious about was the ability to stream audio to the camera speakers. The OP mentions it, and the original custom scripts seem to have attempted to add support.
I quickly tried to dig through the github history to see if it was ever added/removed, but it looks like it simply never made it.
Is this something you’re still working on @pnbruckner, or was it added via another generic integration, or is it simply back-burnered for now.
I wrote some code and got it working half the time but there was a defect that caused the camera to freeze.
Feature Request:
- Implement additional services found in
python-amcrest
python-amcrest/src/amcrest/ptz.py at master · tchellomello/python-amcrest (github.com). - Review/Revise entity declaration so
more-info
works.
I am interested in enabling/disabling Autotracking from services, setting PTZ presets, and configuring Tours within homeassistant.
I found that enabling the tap-action
to more-info
for an Amcrest camera does not work. Using that flow, I intended to make the audio and full-screen controls available to the Android application, but homeassistant could not find the entity. For example, given my card configuration:
type: picture-elements
entity: camera.bedroom
camera_image: camera.bedroom
camera_view: live
elements:
- type: icon
icon: mdi:numeric-1
title: Set location to 1
style:
background: rgba(255, 255, 255, 0.25)
top: 15px
left: 15px
tap_action:
action: call-service
service: amcrest.goto_preset
service_data:
entity_id: camera.bedroom
preset: 1
- type: icon
icon: mdi:numeric-2
title: Set location to 2
style:
background: rgba(255, 255, 255, 0.25)
top: 15px
left: 45px
tap_action:
action: call-service
service: amcrest.goto_preset
service_data:
entity_id: camera.bedroom
preset: 2
- type: icon
icon: mdi:information
title: Open Entity
style:
bottom: 50px
left: 25px
tap_action:
action: more-info
entity: camera.bedroom
- type: icon
icon: mdi:arrow-up
style:
background: rgba(255, 255, 255, 0.25)
right: 25px
top: 50px
tap_action:
action: call-service
service: amcrest.ptz_control
service_data:
entity_id: camera.bedroom
movement: up
- type: icon
icon: mdi:arrow-down
style:
background: rgba(255, 255, 255, 0.25)
right: 25px
top: 100px
tap_action:
action: call-service
service: amcrest.ptz_control
service_data:
entity_id: camera.bedroom
movement: down
- type: icon
icon: mdi:arrow-left
style:
background: rgba(255, 255, 255, 0.25)
right: 50px
top: 75px
tap_action:
action: call-service
service: amcrest.ptz_control
service_data:
entity_id: camera.bedroom
movement: left
- type: icon
icon: mdi:arrow-right
style:
background: rgba(255, 255, 255, 0.25)
right: 0px
top: 75px
tap_action:
action: call-service
service: amcrest.ptz_control
service_data:
entity_id: camera.bedroom
movement: right
When clicking on the info icon on the bottom left, the UI returns the following toast:
No entity provided for more info dialog
The specific section:
- type: icon
icon: mdi:information
title: Open Entity
style:
bottom: 50px
left: 25px
tap_action:
action: more-info
entity: camera.bedroom