SonoffLAN
SonoffLAN copied to clipboard
Camera entity
Hi Alex et al,
Was just wondering how far off in the pipeline the camera entity is? Really looking forward to it.
Cheers
Also, does anyone has any idea what protocol the PTZ uses? I would like to control the PTZ via luxriot.
Oh, sorry. A lot of projects on my shoulders.
Hi @AlexxIT, no need to be sorry at all! Was just curious if you had a release date in mind. :)
I'd like to help you, but I do not know where to begin. I have a couple of these cameras but I do not know what to do beyond that to help you (I'm just a PHP dev :P)
For now you can create camera entity manually with camera generic+stream or camera ffmpeg components.
I have another project (hassio addon): https://github.com/AlexxIT/hassio-addons/tree/master/rtsp2webrtc
It can show stream from this camera in real realtime. Without any delay of picture.
Can the live stream not be done already with camera_view: live
?
IE.:
title: Home
views:
- path: default_view
title: Home
cards:
- aspect_ratio: 0%
camera_image: camera.kitchen
camera_view: live
entities: []
title: Kitchen Camera
At least mine seems to update every second with this configuration
@diazwatson does your PTZ settings work, can you control it?
I can indeed, not the fastest PTZ I have seen but it works