Closed OldFedor closed 3 years ago
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.
Благодарю за ответ.
рада помочь
Будьте любезны, приведите пример как вывести на панель видео с кнопками управления камерой Sonoff GK-200mp2-B. Мы с внуком уже запутались. Учу я его, а вот камеру не могу. Поток rstp вывели. А управление камерой нет. С уважением, OldFedor.