yi-hack_ha_integration icon indicating copy to clipboard operation
yi-hack_ha_integration copied to clipboard

PTZ implementations

Open ranrinc opened this issue 4 years ago • 4 comments

Hi,

Wondering how do I add PTZ into webRTC implementations? Yes, my yi have PTZ access. Thanks

ranrinc avatar Jun 24 '21 02:06 ranrinc

Sorry but webrtc is not my project. Try to ask to the owner.

roleoroleo avatar Jun 24 '21 08:06 roleoroleo

more into what need to be called to perform the PTZ so I can embedded to Home Assistant?

ranrinc avatar Jun 24 '21 09:06 ranrinc

type: custom:webrtc-camera
url: URL
title: CAM
intersection: 0.75
muted: false
ui: true
ptz:
  service: yi_hack.ptz
  data_left:
    entity_id: camera.yi_hack
    movement: left
  data_right:
    entity_id: camera.yi_hack
    movement: right
  data_up:
    entity_id: camera.yi_hack
    movement: up
  data_down:
    entity_id: camera.yi_hack
    movement: down

pszafer avatar Jun 24 '21 14:06 pszafer

type: custom:webrtc-camera
url: URL
title: CAM
intersection: 0.75
muted: false
ui: true
ptz:
  service: yi_hack.ptz
  data_left:
    entity_id: camera.yi_hack
    movement: left
  data_right:
    entity_id: camera.yi_hack
    movement: right
  data_up:
    entity_id: camera.yi_hack
    movement: up
  data_down:
    entity_id: camera.yi_hack
    movement: down

so entity_id will be the name of the camera? If used HA integrations?

Again thanks bro @pszafer

ranrinc avatar Jun 25 '21 03:06 ranrinc

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 05 '24 02:04 github-actions[bot]