oischinger / eufyp2pstream

A small project that provides a Video/Audio Stream from Eufy cameras that don't directly support RTSP
Apache License 2.0
31 stars 10 forks source link

Question: Multiple cameras #9

Open neyacinu opened 6 months ago

neyacinu commented 6 months ago

Hi, I installed your addon and it is working with one doorbell.

Could you provide an example go2rtc config for multiple doorbells and/or cameras, please? I'm trying to figure it out, but if you've already done this an example config would be fantastic.

Thanks!

oischinger commented 6 months ago

@neyacinu currently this addon supports only a single camera. I don't have more than one doorbell so I can't test this but in theory you could create multiple instances of the connector class and introduce some logic here: https://github.com/oischinger/eufyp2pstream/blob/b98acc5bf2cd66ff05f448e93c76fc9c4ad82839/files/eufyp2pstream.py#L297 This is the code which picks up the Eufy device. Right now it only loops through all devices and uses the serial number of the last devices furtheron.

KarthikeyanPugazhandhi commented 6 months ago

Hi @oischinger i too have the same issue, my E340 wired doorbell works with your addon i have 2 other professional camera E330 and i was not sure how to enable those in stream.o\r where to change your code.

komtx commented 1 month ago

Bumping this up as well. This is the first add on that actually fixed my issue! Am happy to send you a camera if that's what you need to figure out multiple cameras.

jwhengeveld commented 2 weeks ago

The addon works great for one camera. I have six. Would love for this addon to switch streams to different camera's or to show multiple camera's in different cards