oischinger / eufyp2pstream

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

Question: Multiple cameras #9

Open neyacinu opened 1 month ago

neyacinu commented 1 month 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 1 month 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 1 month 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.