colinbendell / homebridge-blink-for-home

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

Are doorbells part of the functionality of the plugin? #129

Open njradford opened 1 year ago

njradford commented 1 year ago

Hey there, thank you for writing this plugin. Curious if it's intended to support Blink doorbell cameras?

marcham93 commented 1 year ago

I’m also curious if this functionality is planned. Tried setting up my Blink doorbell cam today and it didn’t show up with this plugin.

njradford commented 1 year ago

@marcham93 - it appears this fork has WIP support. Haven't tested myself yet but the changes all seem sense making at a glance.

https://github.com/zidge/homebridge-blink-for-home

njradford commented 1 year ago

Just confirmed that fork works. Huge kudos to @zidge

marcham93 commented 1 year ago

Just confirmed that fork works. Huge kudos to @zidge

Thanks for sharing! Could you provide insight on how to install a fork like this into homebridge? I’m used to installing from the web UI via the plugins tab.

vegasr1 commented 1 year ago

Just confirmed that fork works. Huge kudos to @zidge

Thanks for sharing! Could you provide insight on how to install a fork like this into homebridge? I’m used to installing from the web UI via the plugins tab.

I did this this morning on my homebridge running on a mac mini.

Open a terminal and run the following sudo npm install -g git+https://github.com/zidge/homebridge-blink-for-home.git I see the doorbell in homebridge. I have not had a chance to check my phone and homekit yet as I am at work and no phone :(

marcham93 commented 1 year ago

I did this this morning on my homebridge running on a mac mini.

Open a terminal and run the following sudo npm install -g git+https://github.com/zidge/homebridge-blink-for-home.git I see the doorbell in homebridge. I have not had a chance to check my phone and homekit yet as I am at work and no phone :(

Thanks! Also figured it out, ending up running the following:

cd /var/lib/homebridge sudo npm install github:zidge/homebridge-blink-for-home

Oddly enough, the camera doorbell can now be seen within the Homebridge UI, but nothing shows up in the Home app on any of my devices. Choosing to 'Add Accessory' and 'More Options' doesn't show it either. Maybe I'm doing something wrong?

vegasr1 commented 1 year ago

I can check it further when I get home from work in 3 hours. I had an issue where the homebridge was not linked to my home anymore as I could not use my garage door (myq) any longer yesterday. so I will likely be reconfiguring everything lol

njradford commented 1 year ago

If it helps I removed my bridge and set it back up. After which everything appeared. I believe the camera also doesn't offer up a feed if the security system is disabled.

Anqui3tas commented 1 year ago

I attempted to install this one per the comments above, but receive the below, I've tried with the plugin currently installed, and having uninstalled it and its config. I use home bridge via Windows Hyper-V.

root@homebridge-vm:/homebridge# sudo npm install github:zidge/homebridge-blink-for-home npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/zidge/homebridge-blink-for-home.git npm ERR! git@github.com: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-10-17T23_37_28_216Z-debug-0.log root@homebridge-vm:/homebridge#

marcham93 commented 1 year ago

Good news and meh news!

After restarting Homebridge a few times, the camera is now showing up and I can see the thumbnail refreshing in the Home app—sweet! The meh news is that I can’t get a Live View of the camera. Clicking on the camera without the ‘Live View’ feature enabled results in a ‘Camera Disabled’ message. If I turn on ‘Live View’ in Blink Homebridge settings, I get ‘Camera Offline.’

I attempted to install this one per the comments above, but receive the below, I've tried with the plugin currently installed, and having uninstalled it and its config. I use home bridge via Windows Hyper-V.

Sorry, that was for a Linux-based server. I’m not familiar with Windows server.

Just confirmed that fork works. Huge kudos to @zidge

@njradford I am curious how you found out this fork supports the doorbell cam. I don’t see any added notes for the fork stating that they added in support. Nice find!

njradford commented 1 year ago

I attempted to install this one per the comments above, but receive the below, I've tried with the plugin currently installed, and having uninstalled it and its config. I use home bridge via Windows Hyper-V.

root@homebridge-vm:/homebridge# sudo npm install github:zidge/homebridge-blink-for-home

Does sudo npm install https://github.com/zidge/homebridge-blink-for-home work?

After restarting Homebridge a few times, the camera is now showing up and I can see the thumbnail refreshing in the Home app—sweet! The meh news is that I can’t get a Live View of the camera. Clicking on the camera without the ‘Live View’ feature enabled results in a ‘Camera Disabled’ message. If I turn on ‘Live View’ in Blink Homebridge settings, I get ‘Camera Offline.’

I found that I needed to configure the camera inside of the Apple Home app to allow streaming or recording in various states. Before I did this I did not get any feed data. The doorbells register in a way that's very well integrated with the Homekit API, so they trigger a lot of first class features within the Home app that require tweaking such as motion and arming.

@njradford I am curious how you found out this fork supports the doorbell cam. I don’t see any added notes for the fork stating that they added in support. Nice find!

If I'm looking for possible bug fixes from the community for a repo, I look at its forks in the GitHub UI. I look at any that have a commit count greater than the main branch in the upstream repo. Then scan the commit log to see if anything might apply.

vegasr1 commented 1 year ago

After having issues with homebridge and internal network I have fully removed and reinstalled. Once the install was fresh and the plugins added back and configured I can confirm that the doorbell and all cameras are visible in homekit. The only special commands I have run were that to install the alternate version (fork) of the blink git.

raphaeldavid commented 1 year ago

I installed Homebridge on an Unraid server. I run the commands and it doesn't work. I got... `npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/zidge/homebridge-blink-for-home.git npm ERR! No user exists for uid 99 npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: npm ERR! /home/homebridge/.npm/_logs/2022-10-18T22_18_33_125Z-debug-0.log`

Thank,

raphaeldavid commented 1 year ago

Nop ! ERROR: sudo / root access is not allowed by the homebridge service account. You can use "su " to swap to your local user account.

bre0zd commented 1 year ago

Nop ! ERROR: sudo / root access is not allowed by the homebridge service account. You can use "su " to swap to your local user account.

I had the same issue on my Homebridge running on Docker but managed to find a way to get it working. First copy your current plugin JSON configuration and then delete the plugin from Homebridge UI (& restart homebridge). Once that's done log back in to Homebridge UI and open the Terminal from the top right menu. Navigate to the folder /var/lib/homebridge/node_modules/ and create the new folder homebridge-blink-for-home. Change in to that newly created folder and run npm add github:zidge/homebridge-blink-for-home. Once that's completed restart Homebridge from the UI and after that you'll see the plugin available again. I also had to remove and re-add my Homebridge from HomeKit in order to have the changes show up in Homekit.

Anqui3tas commented 1 year ago

Nop ! ERROR: sudo / root access is not allowed by the homebridge service account. You can use "su " to swap to your local user account.

I had the same issue on my Homebridge running on Docker but managed to find a way to get it working. First copy your current plugin JSON configuration and then delete the plugin from Homebridge UI (& restart homebridge). Once that's done log back in to Homebridge UI and open the Terminal from the top right menu. Navigate to the folder /var/lib/homebridge/node_modules/ and create the new folder homebridge-blink-for-home. Change in to that newly created folder and run npm add github:zidge/homebridge-blink-for-home. Once that's completed restart Homebridge from the UI and after that you'll see the plugin available again. I also had to remove and re-add my Homebridge from HomeKit in order to have the changes show up in Homekit.

That worked for me using Windows Hyper-V installation.

raphaeldavid commented 1 year ago

I had the same issue on my Homebridge running on Docker but managed to find a way to get it working. First copy your current plugin JSON configuration and then delete the plugin from Homebridge UI (& restart homebridge). Once that's done log back in to Homebridge UI and open the Terminal from the top right menu. Navigate to the folder /var/lib/homebridge/node_modules/ and create the new folder homebridge-blink-for-home. Change in to that newly created folder and run npm add github:zidge/homebridge-blink-for-home. Once that's completed restart Homebridge from the UI and after that you'll see the plugin available again. I also had to remove and re-add my Homebridge from HomeKit in order to have the changes show up in Homekit.

npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/zidge/homebridge-blink-for-home.git npm ERR! No user exists for uid 99 npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: npm ERR! /home/homebridge/.npm/_logs/2022-10-20T18_28_15_403Z-debug-0.log

njradford commented 1 year ago

I think you need to use the HTTP version of the Git URL. Not SSH.

raphaeldavid commented 1 year ago

I run everything in this issue and nothing work including sudo npm install -g git+https://github.com/zidge/homebridge-blink-for-home.git

raphaeldavid commented 1 year ago

Looks like it doesn't like the username or because it's running like service.

Anqui3tas commented 1 year ago

What are you running your instance on? On Oct 20, 2022, at 4:00 PM, raphaeldavid @.***> wrote: Looks like it doesn't like the username or because it's running like service.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

raphaeldavid commented 1 year ago

In the Homebridge terminal My Homebridge is installed in docker on an Unraid server

minuitagency commented 1 year ago

Hi,

I managed to install the fork but i don't see the doorbell feature inside homekit, only the camera, is it normal?

Thanks,

Théo

NoahC1986 commented 1 year ago

Nop ! ERROR: sudo / root access is not allowed by the homebridge service account. You can use "su " to swap to your local user account.

I had the same issue on my Homebridge running on Docker but managed to find a way to get it working. First copy your current plugin JSON configuration and then delete the plugin from Homebridge UI (& restart homebridge). Once that's done log back in to Homebridge UI and open the Terminal from the top right menu. Navigate to the folder /var/lib/homebridge/node_modules/ and create the new folder homebridge-blink-for-home. Change in to that newly created folder and run npm add github:zidge/homebridge-blink-for-home. Once that's completed restart Homebridge from the UI and after that you'll see the plugin available again. I also had to remove and re-add my Homebridge from HomeKit in order to have the changes show up in Homekit.

Thank you for the help! This worked for me. Though I am unable to view live view.

Anqui3tas commented 1 year ago

Has anyone tried the new official update? On Nov 24, 2022, at 8:05 AM, NoahC1986 @.***> wrote:

Nop ! ERROR: sudo / root access is not allowed by the homebridge service account. You can use "su " to swap to your local user account.

I had the same issue on my Homebridge running on Docker but managed to find a way to get it working. First copy your current plugin JSON configuration and then delete the plugin from Homebridge UI (& restart homebridge). Once that's done log back in to Homebridge UI and open the Terminal from the top right menu. Navigate to the folder /var/lib/homebridge/node_modules/ and create the new folder homebridge-blink-for-home. Change in to that newly created folder and run npm add github:zidge/homebridge-blink-for-home. Once that's completed restart Homebridge from the UI and after that you'll see the plugin available again. I also had to remove and re-add my Homebridge from HomeKit in order to have the changes show up in Homekit.

Thank you for the help! This worked for me. Though I am unable to view live view.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

NoahC1986 commented 1 year ago

Has anyone tried the new official update? On Nov 24, 2022, at 8:05 AM, NoahC1986 @.***> wrote:

Nop ! ERROR: sudo / root access is not allowed by the homebridge service account. You can use "su " to swap to your local user account.

I had the same issue on my Homebridge running on Docker but managed to find a way to get it working. First copy your current plugin JSON configuration and then delete the plugin from Homebridge UI (& restart homebridge). Once that's done log back in to Homebridge UI and open the Terminal from the top right menu. Navigate to the folder /var/lib/homebridge/node_modules/ and create the new folder homebridge-blink-for-home. Change in to that newly created folder and run npm add github:zidge/homebridge-blink-for-home. Once that's completed restart Homebridge from the UI and after that you'll see the plugin available again. I also had to remove and re-add my Homebridge from HomeKit in order to have the changes show up in Homekit.

Thank you for the help! This worked for me. Though I am unable to view live view.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

I had the original plugin installed prior and nothing showed up. I'm thinking blink is just to much of a hassle to get to work.

raphaeldavid commented 1 year ago
Capture d’écran, le 2022-11-24 à 19 27 45
Anqui3tas commented 1 year ago

I believe you have to remove the fork this thread is based on to repull the official version. The notes were minimal so I didn’t want to deal with it. On Nov 24, 2022, at 4:32 PM, raphaeldavid @.***> wrote:

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

raphaeldavid commented 1 year ago

The plugin not appear in the official list, but seem work with doorbell and this one not. The standard installation method does't work. In my Unraid server, Homebridge run like a service... can be the problem.

minuitagency commented 1 year ago

Do you guys have the chime of the doorbell work on your homepod?

raphaeldavid commented 1 year ago

No This plugin not support doorbell.

minuitagency commented 1 year ago

I’m talking about the Zidge fork, does it support the chime through the homepod?

iaidan commented 1 year ago

I’m talking about the Zidge fork, does it support the chime through the homepod?

I haven't been able to get that working, can't get the chime to work at all.

Neither the Zidge fork or this works for the button press.

minuitagency commented 1 year ago

It would be really cool! @zidge

h00pak commented 1 year ago

Easy peasy! I have video from the doorbell on my Home app!

Anqui3tas commented 1 year ago

regarding the Zidge fork, I've recently moved my home bridge to my NAS, and would like the doorbell camera back since I used it most often. I get the below, and it's not a familiar error. thoughts?

homebridge@SERGE_NAS:/volume3/homebridge/node_modules/homebridge-blink-for-home $ npm add github:zidge/homebridge-blink-for-home npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -2 npm ERR! enoent An unknown git error occurred npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: /var/packages/homebridge/home/.npm/_logs/2023-05-06T05_01_19_641Z-debug-0.log

cifellc commented 10 months ago

Have been trying to get doorbell for a while. No matter what permutation or install I use. Same error.

Your environment has been set up for using Node.js 18.17.0 (x64) and npm.

C:\Windows\System32>npm install -g git+https://github.com/zidge/homebridge-blink -for-home.git npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 npm ERR! enoent An unknown git error occurred npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: C:\Users\xxxxxxxxxxxxxxxxxxxxxxxxxxxxx Local\npm-cache_logs\2023-08-25T14_31_17_639Z-debug-0.log

C:\Windows\System32>

I use windows server 2012r2, (yes. will be not supported soon).

Any ideas/suggestion to get this installed would be appreciated.

Thanks