colinbendell / homebridge-blink-for-home

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

Blink Cameras No Longer Work in HomeKit #119

Open fred-thorne opened 1 year ago

fred-thorne commented 1 year ago

I had Blink working on HOOBS but it was causing so many problems for my other plug-ins that I set it up separately in HomeBridge on my iMac. I am able to see everything (temperature, motion detection, etc.) in HomeBridge EXCEPT my cameras--which is of course the point.

May I have assistance please reconnecting Blink to HomeBridge? Or is it now permanently unworkable? Did Blink figure a way to kill it on HomeBridge?

M2Cipher commented 1 year ago

Having the same exact issue. New to homebridge, but I think I followed all steps. Everything works but the camera. It either says camera offline, or privacy mode sometimes.

Dunny0611 commented 1 year ago

I am having the same issue unfortunately

LeonardoDaVinci777 commented 1 year ago

I was able to make it work with Blink For Home version 3.9.1 :) All my blink camera's are in HomeKit now. Very happy about it.

Here is how I made it work for me.

Sample config, my credentials, not working. 7/28/2022, 12:11:45 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:11:45 AMBlink For Home BridgeLoading 1 platforms... 7/28/2022, 12:11:45 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:15:13 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:15:22 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:15:22 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:15:22 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:17:24 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:17:33 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:17:33 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:17:33 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:18:09 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:18:19 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:18:19 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:18:19 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:18:59 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:18:59 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:18:59 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:27:43 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:27:52 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:27:52 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:27:52 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json

Note: Your phone number must be setup in your blink account/app profile. Otherwise you will not get the SMS, which is required for step 2 below.. Open HOOBS log file window in a separate browser and keep it open, so you can see what is going on. I found it helpful to uncheck all, except Blink for Home log.

Step 1: Copy & paste the following config in notepad,

{
    "accessories": [],
    "platforms": [
        {
            "username": "<email you used for blink account>",
            "password": "<blink account password>",
            "platform": "Blink"
        }
    ]
}

Edit accordingly. Then, in HOOBS, open Blink For Home plugin -> Configuration, select Advanced (from menu on the left) Delete existing code Paste your code

Save config

Updated config, my blink credentials, worked, now blink is waiting for PIN 7/28/2022, 12:43:22 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:43:22 AMblinkforhomebridge stopping 7/28/2022, 12:43:27 AMBlink For Home Bridge starting 7/28/2022, 12:43:31 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:43:31 AMBlink For Home BridgeLoading 1 platforms... 7/28/2022, 12:43:31 AMBlink For Home BridgeBlinkInit Blink 7/28/2022, 12:43:32 AMBlink For Home BridgeBridge is running on port 51826. 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkError 2FA required. PIN sent to sms 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkErrorError: 2FA required. PIN sent to sms 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkErrorError: Blink Authentication failed. 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkErrorNOTE: Blink devices in HomeKit will not be responsive.

Step 2: Add PIN to existing code, for blink account authentication

Add "pin": "<PIN from sms>", below the password line

{
    "accessories": [],
    "platforms": [
        {
            "username": "<email you used for blink account>",
            "password": "<blink account password>",
            "pin": "<PIN from sms>",
            "platform": "Blink"
        }
    ]
}

Click Save

Added SMS code in config, blink account authenticated, cameras are being added in HOOBS 7/28/2022, 12:45:09 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:45:09 AMblinkforhomebridge stopping 7/28/2022, 12:45:14 AMBlink For Home Bridge starting 7/28/2022, 12:45:18 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:45:18 AMBlink For Home BridgeLoading 1 platforms… 7/28/2022, 12:45:18 AMBlink For Home BridgeBlinkInit Blink 7/28/2022, 12:45:19 AMBlink For Home BridgeBridge is running on port 51826. 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753:Camera:470464 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753:Camera:470819 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753:Camera:540483

Step 3: Follow Apple HomeKit process to Add Accessory

Blink camera's being added in HomeKit 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Home - Blink Home Arm: Manual Arm 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Office - ManuallyDisabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Office - Temperature: 22.8°C 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Office - Enabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Main Door - ManuallyDisabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Main Door - Temperature: 25°C 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Main Door - Enabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Backyard - ManuallyDisabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Backyard - Temperature: 20.6°C 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Backyard - Enabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Home - Blink Home Armed (Current): 3 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Home - Blink Home Armed (Target): 3

If this helped you then LIKE, SUBSCRIBE, SHARE :)

pellehebs commented 1 year ago

Same issue here. Unfortunately your step-by-step guide didn't work as well.

njradford commented 1 year ago

Same issue as well. I have a Blink doorbell cam with a sync module. I see a Security System and an armed toggle in homekit. However I see no devices mapped to the doorbell camera.

brinbrain commented 1 year ago

Got a behavior like that too. My blink camera doesn't work in apple home kit except when the camera is armed.

bantle1984 commented 1 year ago

please help! no matter how i do the config file i always get the below issues

{

"platforms": [ { "username": "", "password": "", "platform": "1 Challenger" } ], "platform": "homebridge-blink-for-home" }

10/7/2022, 8:21:54 PMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 10/7/2022, 8:21:54 PMBlink For Home BridgeLoading 2 platforms... 10/7/2022, 8:21:54 PMBlink For Home BridgeWARNINGunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json

kabloom30ne commented 1 year ago

I was able to make it work with Blink For Home version 3.9.1 :) All my blink camera's are in HomeKit now. Very happy about it.

Here is how I made it work for me.

Sample config, my credentials, not working. 7/28/2022, 12:11:45 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:11:45 AMBlink For Home BridgeLoading 1 platforms... 7/28/2022, 12:11:45 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:15:13 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:15:22 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:15:22 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:15:22 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:17:24 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:17:33 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:17:33 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:17:33 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:18:09 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:18:19 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:18:19 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:18:19 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:18:59 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:18:59 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:18:59 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json 7/28/2022, 12:27:43 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:27:52 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:27:52 AMBlink For Home BridgeLoading 2 platforms... 7/28/2022, 12:27:52 AMBlink For Home BridgeWarningunhandled rejection: Error: Missing Blink account credentials {"email","password"} in config.json

Note: Your phone number must be setup in your blink account/app profile. Otherwise you will not get the SMS, which is required for step 2 below.. Open HOOBS log file window in a separate browser and keep it open, so you can see what is going on. I found it helpful to uncheck all, except Blink for Home log.

Step 1: Copy & paste the following config in notepad,

{
    "accessories": [],
  "platforms": [
        {
            "username": "<email you used for blink account>",
            "password": "<blink account password>",
            "platform": "Blink"
        }
    ]
}

Edit accordingly. Then, in HOOBS, open Blink For Home plugin -> Configuration, select Advanced (from menu on the left) Delete existing code Paste your code

Save config

Updated config, my blink credentials, worked, now blink is waiting for PIN 7/28/2022, 12:43:22 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:43:22 AMblinkforhomebridge stopping 7/28/2022, 12:43:27 AMBlink For Home Bridge starting 7/28/2022, 12:43:31 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:43:31 AMBlink For Home BridgeLoading 1 platforms... 7/28/2022, 12:43:31 AMBlink For Home BridgeBlinkInit Blink 7/28/2022, 12:43:32 AMBlink For Home BridgeBridge is running on port 51826. 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkError 2FA required. PIN sent to sms 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkErrorError: 2FA required. PIN sent to sms 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkErrorError: Blink Authentication failed. 7/28/2022, 12:43:34 AMBlink For Home BridgeBlinkErrorNOTE: Blink devices in HomeKit will not be responsive.

Step 2: Add PIN to existing code, for blink account authentication

Add "pin": "<PIN from sms>", below the password line

{
    "accessories": [],
  "platforms": [
        {
            "username": "<email you used for blink account>",
            "password": "<blink account password>",
            "pin": "<PIN from sms>",
            "platform": "Blink"
        }
    ]
}

Click Save

Added SMS code in config, blink account authenticated, cameras are being added in HOOBS 7/28/2022, 12:45:09 AMBlink For Home BridgeConfiguration change 7/28/2022, 12:45:09 AMblinkforhomebridge stopping 7/28/2022, 12:45:14 AMBlink For Home Bridge starting 7/28/2022, 12:45:18 AMBlink For Home BridgeLoaded plugin 'homebridge-blink-for-home' 7/28/2022, 12:45:18 AMBlink For Home BridgeLoading 1 platforms… 7/28/2022, 12:45:18 AMBlink For Home BridgeBlinkInit Blink 7/28/2022, 12:45:19 AMBlink For Home BridgeBridge is running on port 51826. 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753:Camera:470464 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753:Camera:470819 7/28/2022, 12:45:21 AMBlink For Home BridgeBlinkADD: Blink:Network:320753:Camera:540483

Step 3: Follow Apple HomeKit process to Add Accessory

Blink camera's being added in HomeKit 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Home - Blink Home Arm: Manual Arm 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Office - ManuallyDisabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Office - Temperature: 22.8°C 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Office - Enabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Main Door - ManuallyDisabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Main Door - Temperature: 25°C 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Main Door - Enabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Backyard - ManuallyDisabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Backyard - Temperature: 20.6°C 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Backyard - Enabled: 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Home - Blink Home Armed (Current): 3 7/28/2022, 12:47:00 AMBlink For Home BridgeBlinkBlink Home - Blink Home Armed (Target): 3

If this helped you then LIKE, SUBSCRIBE, SHARE :)

I have spent months trying to get my blink cameras into HomeKit, this is the first post I've seen that walks through step by step and works! 24hours in and the cameras are in HK. it is not a live feed which is to be expected but it does update the pic for the camera every so often. we will see how long amazon allows this

mosdev38 commented 1 year ago

Its really simple to get things work. You can follow the steps provided by @LeonardoDaVinci777 but use the terminal instead the hoobs gui.

  1. Open the terminal in hoobs
  2. $ sudo apt update
  3. $ sudo apt install nano
  4. $ sudo hbs config
  5. choose the blink for home bridge
  6. copy the following config and replace the <..> with your credentials { "accessories": [], "platforms": [ { "username": "<email you used for blink account>", "password": "<blink account password>", "platform": "Blink" } ] } save and exit
  7. receive the pin on you mobile phone
  8. $ sudo hbs config
  9. choose the blink for home bridge
  10. add the pin to the following config { "accessories": [], "platforms": [ { "username": "<email you used for blink account>", "password": "<blink account password>", "pin": "<PIN from sms>", "platform": "Blink" } ] } save and exit

Now everyting should work as expected.

TySchwifty commented 1 year ago

Its really simple to get things work. You can follow the steps provided by @LeonardoDaVinci777 but use the terminal instead the hoobs gui.

  1. Open the terminal in hoobs
  2. $ sudo apt update
  3. $ sudo apt install nano
  4. $ sudo hbs config
  5. choose the blink for home bridge
  6. copy the following config and replace the <..> with your credentials { "accessories": [], "platforms": [ { "username": "<email you used for blink account>", "password": "<blink account password>", "platform": "Blink" } ] } save and exit
  7. receive the pin on you mobile phone
  8. $ sudo hbs config
  9. choose the blink for home bridge
  10. add the pin to the following config { "accessories": [], "platforms": [ { "username": "<email you used for blink account>", "password": "<blink account password>", "pin": "<PIN from sms>", "platform": "Blink" } ] } save and exit

Now everyting should work as expected.

——— Anybody know if these steps are still currently functional with the current software and Firmware’s for the blink devices? Want to confirm before committing too HOOBSnot gonna lie lol. I’m bout ready to just ditch my blink all together but this will be the factor. Any tips or updates?

Thanks everyone! 😊

TySchwifty commented 1 year ago

I'm just gonna bite the bullet I will let everyone know how it goes soon.

mosdev38 commented 1 year ago

@TySchwifty yes my tutorial still works for me in the system with the latest updates :) .

micahkatz commented 7 months ago

Its really simple to get things work. You can follow the steps provided by @LeonardoDaVinci777 but use the terminal instead the hoobs gui.

  1. Open the terminal in hoobs
  2. $ sudo apt update
  3. $ sudo apt install nano
  4. $ sudo hbs config
  5. choose the blink for home bridge
  6. copy the following config and replace the <..> with your credentials { "accessories": [], "platforms": [ { "username": "<email you used for blink account>", "password": "<blink account password>", "platform": "Blink" } ] } save and exit
  7. receive the pin on you mobile phone
  8. $ sudo hbs config
  9. choose the blink for home bridge
  10. add the pin to the following config { "accessories": [], "platforms": [ { "username": "<email you used for blink account>", "password": "<blink account password>", "pin": "<PIN from sms>", "platform": "Blink" } ] } save and exit

Now everyting should work as expected.

This worked perfectly for me on version 3.9.1

J0hnny559 commented 1 month ago

This reddit post helped me out and I'm currently on the newest version on the plugin 3.9.2

https://www.reddit.com/r/HOOBS/comments/13sndrl/blink_plugin_for_hoobs_authentication_issue/?onetap_auto=true&one_tap=true