WebRTC
WebRTC copied to clipboard
Shortcut Has Been Pressed Feedback Indicator
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.
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.
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
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
see https://github.com/AlexxIT/WebRTC/pull/597