user2684 / imou_life

Home Assistant custom component for controlling Imou devices
MIT License
115 stars 18 forks source link

Three cameras, only one showing preview #95

Open syntesys87 opened 6 months ago

syntesys87 commented 6 months ago

Hello,

I have three cameras, but only one is showing preview; the others does not work.

Using component version 1.0.15.

Here attached the debug log. What configuration file do you need?

Thank you.

home-assistant_imou_life_2024-02-29T10-34-55.635Z.log

user2684 commented 6 months ago

Hi, I see the error message "NotAuthorized: OP1009: No right, cannot operate" as if your credentials do not have permissions to operate the device. Is the device a shared device?

syntesys87 commented 6 months ago

Hi, Yes, it's a shared device, but in the app it works well.

user2684 commented 6 months ago

Ok than is related to what we discussed in #88, looks like for some devices there is a different set of API for shared devices we have been not able to identified yet. Adding to the "blocked" queue unless this new api is found. Thanks

syntesys87 commented 6 months ago

The question is: why with one camera it works? All the three cameras are shared...

user2684 commented 6 months ago

First time I see this situation, usually users reported a all-or-nothing with shared devices. No idea, unfortunately unless Imou will update the documentation of the API, emulating what the app does is really hard (#63)