WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

Shortcut Has Been Pressed Feedback Indicator

Open haforme opened this issue 2 years ago • 5 comments

Hello, would it be possible to add functionality to the "custom:webrtc-camera" card so that when a shortcut icon is pressed a feedback entity could be associated with the shortcut that illuminates the icon. Thanks in advance for your consideration.

haforme avatar Feb 16 '23 01:02 haforme

I'm not best with JavaScript and don't plan to add a lot of additional functionality to card. I'm more involved with adding features to stream processing.

AlexxIT avatar Feb 16 '23 13:02 AlexxIT

Hi, it would be very useful, e.g. to the state of the gate if the distance is too far to see, I have this on picture-elements card and motion-eye. Would like to change to your solution, but miss exactly this one.

  - entity: binary_sensor.gate_closed_contact
    icon: mdi:door-open
    style:
      '--paper-item-icon-color': green
      '--paper-item-icon-active-color': rgb(250,60,60)
    type: state-icon

roon7 avatar Jun 12 '23 17:06 roon7

Thanks for the feedback. Just to clarify my thoughts if you had for example a shortcut that controls a switch then the state of the entity id would get reflect on the screen visually. Super useful to see the status of the action performed.

shortcuts:
  - name: Barn Light
    icon: mdi:outdoor-lamp
    service: switch.toggle
    service_data:
      entity_id: switch.x10_on_off_switch_x10_b_01

haforme avatar Jun 12 '23 17:06 haforme

see https://github.com/AlexxIT/WebRTC/pull/597

gtxaspec avatar Nov 01 '23 08:11 gtxaspec