colinbendell / homebridge-blink-for-home

Blink For Home Camera Homebridge plugin
MIT License
88 stars 27 forks source link

Deactivate HomeKit Preview and other #26

Open DjStab opened 3 years ago

DjStab commented 3 years ago

hi, it might be possible to install an option in the settings with which you can deactivate the complete Homekit camera preview. Because the live view doesn't really work. every time you press a camera image, the homebridge reports errors and hangs, cpu and ram load increases, then it takes a while until it works again.

actually i only need the switches for the individual control of the cameras. individual Motion & Private Camera ON/OFF ALL Cameras ON/OFF

Thanks for Reading Great Plugin, many many Thanks for your great work šŸ‘šŸ˜Š

I use Homebridge on Raspberry 3b

Homebridge Config UI X 4.33.0 homebridge-blink-for-home v3.6.1 Node.js Version v14.15.1 Npm Version v6.14.8

andre678 commented 3 years ago

I'll second that. It would be great to disable live view and snapshots. I don't really need the live view, just love the functionality to arm/disarm , turn motion detect on and off, using homebridge and IOS automation.

I also find that homebridge hangs if I try and arm/disarm, motion on /off, while its trying to retrieve camera stream.

Many thanks for developing this plug in.

hunterpaul commented 3 years ago

+1 for this. Iā€™m not bothered about seeing the feed or thumbnails as I just use the plugin for various automations

yphoenix commented 3 years ago

+2 for this also.

itopaloglu83 commented 3 years ago

Here's a manual way to disable all features related to cameras. Just update index.js to not include them.

On a global install the file is located under /usr/lib/node_modules/homebridge-blink-for-home/src folder. Update the line 53 as below.

From this: const data = [...this.blink.networks.values(), ...this.blink.cameras.values()];

To this: const data = [...this.blink.networks.values()];

After this change, you'll only have the security system and manual arm/disarm switch.

colinbendell commented 3 years ago

I think some of the flexibility and stability is found in v3.7 that should address your issues. However, your general point is still outstanding. Can you take a look at the current version and comment on how you would want to see the workflows change? Specifically, lets assume that liveview for the current gen of cameras isn't going to be possible for a while (because Blink is using a non standard RTSP stream protocol and needs to be reverse engineered)