fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
553 stars 101 forks source link

Ability to disable camera stream? #564

Open joeShuff opened 1 year ago

joeShuff commented 1 year ago

I have been having issues similar to those mentioned in #236 and following some advice have disabled entities that I am not using, one of which being the camera stream that this integration creates. I am using Frigate to capture this cameras feed and then I have the Frigate integration to see my feed in HA. This means that the camera feed this integration provides is not used and just wasting camera processing power.

However, when I disabled the camera entity, the services no longer work. The 4 things I use are IR Switch - Still works when camera entity disabled Record Audio Switch - Still works when camera entity disabled PTZ Service - Doesn't work when camera entity disabled Set Day/Night mode Service - Doesn't work when camera entity disabled

This error is in the logs when I call a service that doesn't work. Error requesting reolink.Back Bedroom Camera data: Cannot connect to host 192.168.0.81:443 ssl:default [Connect call failed ('192.168.0.81', 443)]

Not sure why its trying to connect via SSL, as far as I know I don't have it configured for SSL.

I tried enabling the camera entity and the services worked immediately after.

I'd like some way to turn off the camera feed but still have control of the cameras config.

Happy to help in any way to help you get to the bottom of this issue. Thanks a lot for your hard work.