I want to add camera to my HA, but I have some requirements.
I’ll use a Wifi camera, or rather one with UTP cable connection.
HA should only start/stop the camera, the streaming will be done separately. What I hope is that, when the camera is started by HA, the UI connects to the camera separately. This way the streaming will be done via a separate connection outside of HA. This way I don’t burden the HA on RPi. The UI element on HA web app connects to the wifi camera directly. My Wifi router has to forward the connection to the wifi camera, that’s the concept.
How can I realise that?
The reason I ask this, is I found some how-tos where the streaming goes through HA. I want to avoid just that.
What do you mean by that? Do you just want to start/stop the video stream from the camera?
If so you should probably look at an external app (motioneye?) to manage the stream.
Unless your camera accepts inputs/commands to stop the stream?
What I actually want is that video streaming from a wired/wireless camera should not go via HA, but directly to the HA client app.
Check out the image below:
So, normally all the data about, temperature, humidity, motion and so on, come from HA server (on the RPi), but the video stream should come directly from the camera. The camera should only work when needed, hence a start/stop mechanism. Actually, it’s like a VLC client, with authentication with username/password or something like that.
The camera itself should only start working, when a stream request with the correct credentials arrived. If the camera has no client connections anymore, it should stop working.