Added the option 'muted' and hass.callService per stream - #954
Open
slydiman wants to merge 1 commit into
Open
Conversation
I'm trying to implement Hikvision doorbell using only WebRTC Camera. The idea was https://github.com/pergolafabio/Hikvision-Addons/blob/main/advanced_card/twowayaudio.with.advanced.camera.card.md But go2rtc is native for WebRTC Camera. The minimal card configuration is the following: ``` - type: 'custom:webrtc-camera' poster: mycam_snapshot ui: true muted: false streams: - url: mycam_2way_audio mode: webrtc name: "😶" muted: true media: video,audio service: button.press service_data: entity_id: button.ds_kh9510_answer_call - url: mycam_2way_audio mode: webrtc name: "🗣️" muted: false media: video,audio,microphone service: text.set_value service_data: entity_id: text.ds_kd8003_isapi_request value: PUT /ISAPI/System/TwoWayAudio/channels/1/close message: "Domofon Call" shortcuts: - name: Unlock icon: mdi:door-open service: switch.turn_on service_data: entity_id: switch.ds_kd8003_door_relay_0 style: "video {aspect-ratio: 16/9; object-fit: fill;} .pictureinpicture {display: none} .mode {display: none} .screenshot {display: none} .stream {font-size: 60px} ha-icon { --mdc-icon-size: 100px; }" ``` If button.press for button.ds_kh9510_answer_call is not enough you can create a script and call it here instead of button.press.
slydiman
force-pushed
the
stream-click-service
branch
from
July 17, 2026 18:13
73f245d to
28df66c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm trying to implement Hikvision doorbell using only WebRTC Camera. The idea was here. But go2rtc is native for WebRTC Camera. The minimal card configuration for HikVision DS-KB8113-IME1(B) is the following: