Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Управление Sonoff GK-200mp2-B. #1

Closed
OldFedor opened this issue Oct 3, 2020 · 3 comments
Closed

Управление Sonoff GK-200mp2-B. #1

OldFedor opened this issue Oct 3, 2020 · 3 comments
Labels
Invalid Bug/Enhancement not related to integration or already available.

Comments

@OldFedor
Copy link

OldFedor commented Oct 3, 2020

Будьте любезны, приведите пример как вывести на панель видео с кнопками управления камерой Sonoff GK-200mp2-B.
Мы с внуком уже запутались.
Учу я его, а вот камеру не могу. Поток rstp вывели. А управление камерой нет.
С уважением, OldFedor.

@JurajNyiri
Copy link
Owner

JurajNyiri commented Oct 3, 2020

I do not speak Russian, I used translation so some information could have been lost in translation.

I understand that you would like to display video feed with controls in one panel for Sonoff camera.

This component is for Tapo camera from TP-Link. I am not sure if it works on that camera too as I do not own it.
There is a topic for your camera here, from a quick Google search. There seems to be a lot of information for it available on Google.

This component only provides you controls of the Tapo camera and does not provide video feed.

That being said, in general; For video feed, you can use generic ip camera, onvif or many other components for cameras documented on Home Assistant documentation. You can combine that, with for example picture-glance card where you would put your own entities (scripts for example) which trigger services, like rotating, turning on alarm etc.

Here is an example that should get you started:

camera_image: camera.bedroom_camera_mainstream
camera_view: live
entities:
  - entity: camera.bedroom_camera_mainstream
    icon: 'mdi:palm-tree'
    tap_action:
      action: call-service
      service: script.set_bedroom_camera_away
  - entity: camera.bedroom_camera_mainstream
    icon: 'mdi:home'
    tap_action:
      action: call-service
      service: script.set_bedroom_camera_home
hold_action:
  action: call-service
  service: python_script.set_camera
  service_data:
    entity_id: sensor.show_camera
    state: '70'
tap_action:
  action: more-info
title: Bedroom
type: picture-glance

Closing this issue as it is not related to this component.

@OldFedor
Copy link
Author

OldFedor commented Oct 3, 2020

Благодарю за ответ.

@JurajNyiri
Copy link
Owner

рада помочь

@JurajNyiri JurajNyiri added the Invalid Bug/Enhancement not related to integration or already available. label Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid Bug/Enhancement not related to integration or already available.
Projects
None yet
Development

No branches or pull requests

2 participants