colinbendell / homebridge-blink-for-home Goto Github PK
View Code? Open in Web Editor NEWBlink For Home Camera Homebridge plugin
License: MIT License
Blink For Home Camera Homebridge plugin
License: MIT License
I was testing Homebridge 1.1.1 with blink 5.3.13 and 5.3.14 and received this warning:
The plugin "homebridge-blink-for-home" requires a Homebridge version of >=1.2.0 which does not satisfy the current Homebridge version of 1.1.1. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.
Everything seems to be working fine otherwise.
BTW, where can someone buy you a coffee!
Is it possible to disable the alarm piece of the plugin? so that it isn't displayed in Homekit?
it would be nice if there was an option in the config, so you can choose to display It or not.
With Privacy Mode Off thumbnails never fetch. I only see the PrivacyMode PNG. Also after a while the Privacy mode switch returns itself to "On" state.
Logs don't show much:
[10/25/2020, 11:11:19] [Blink] GET /api/v3/accounts/32211/homescreen
[10/25/2020, 11:11:48] [Blink] Privacy Mode for Blink M is: false
[10/25/2020, 11:11:48] [Blink] Privacy Mode for Blink G8T1-JX00-0205-00S3 is: false
[10/25/2020, 11:12:04] [Blink] GET /api/v3/accounts/32211/homescreen
[10/25/2020, 11:12:05] [Blink] Privacy Mode for Blink M is: true
[10/25/2020, 11:12:05] [Blink] Privacy Mode for Blink G8T1-JX00-0205-00S3 is: true
Since I have installed this plug-in, all devices running on t this Homebridge server get unregularly removed from the associated room and appear in the standard room.
Also all automations are deleted.
Log:
[2/20/2021, 8:44:34 PM] [Blink] TypeError: Cannot read property 'context' of undefined
at BlinkNetwork.get armedAt [as armedAt] (/usr/lib/node_modules/homebridge-blink-for-home/src/blink.js:182:31)
at BlinkCamera.getMotionDetected (/usr/lib/node_modules/homebridge-blink-for-home/src/blink.js:388:39)
at MotionDetected.getCallback (/usr/lib/node_modules/homebridge-blink-for-home/src/blink.js:91:53)
at MotionDetected.emit (events.js:315:20)
at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1466:14
at new Promise (<anonymous>)
at MotionDetected.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1464:12)
at step (/usr/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
at Object.next (/usr/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
at /usr/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
Config:
{
"name": "Blink",
"username": "email",
"password": "password",
"pin": pin,
"hide-alarm": true,
"hide-manual-arm-switch": true,
"hide-enabled-switch": true,
"hide-privacy-switch": true,
"enable-liveview": true,
"avoid-thumbnail-battery-drain": true,
"enable-verbose-logging": false,
"enable-debug-logging": false,
"enable-startup-diagnostic": false,
"platform": "Blink"
}
Plugin v3.5.16
Camera XT2
Issue: Liveview crashes homebridge.
Logs:
LiveView Stream: immis://3.90.188.64:443/ZUvX-uuGH7thyqTf__IMDS_890261671?client_id=46
listening on 0.0.0.0:34167
client connected from 127.0.0.1:48316
[11/10/2020, 09:40:31] TypeError: console.tls is not a function
at Server.connectionListener (/usr/local/lib/node_modules/homebridge-blink-for-home/src/proxy.js:27:21)
at Server.emit (events.js:315:20)
at TCP.onconnection (net.js:1555:8)
[11/10/2020, 09:40:31] Got SIGTERM, shutting down Homebridge...
Hi there,
Some of us are very interested to help you test this. Can you share your plans?
The live stream doesnt work. The log when i try live stream any camera blink xt2:
LiveView Stream: immis://35.157.41.85:443/WfY6H-L5W5y8TdUh__IMDS_841406296?client_id=173
Hi Colin - First up... Fantastic work. Your plugin has been a great help since IFTT and Life360 stopped supporting location triggers.
Unfortunately, something major has gone wrong with my setup.
I've got 4 separate blink systems running in the Homebridge with the homebridge-blink-for-home plugin.
All was working until recently, I realised systems were not arming when leaving the house.
It seems I'm getting this error in Homebridge - that's causing arm to fail.
[12/8/2020, 7:40:56 PM] [blink-xxxx] Error [ERR_HTTP2_STREAM_ERROR]: Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM
at ClientHttp2Stream._destroy (internal/http2/core.js:2115:13)
at ClientHttp2Stream.destroy (internal/streams/destroy.js:38:8)
at ClientHttp2Stream.[kMaybeDestroy] (internal/http2/core.js:2131:12)
at Http2Stream.onStreamClose (internal/http2/core.js:513:26) {
code: 'ERR_HTTP2_STREAM_ERROR'
}
[12/8/2020, 7:40:56 PM] [blink-xxxx] Error [ERR_HTTP2_STREAM_ERROR]: Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM
at ClientHttp2Stream._destroy (internal/http2/core.js:2115:13)
at ClientHttp2Stream.destroy (internal/streams/destroy.js:38:8)
at ClientHttp2Stream.[kMaybeDestroy] (internal/http2/core.js:2131:12)
at Http2Stream.onStreamClose (internal/http2/core.js:513:26) {
code: 'ERR_HTTP2_STREAM_ERROR'
}
[12/8/2020, 7:41:01 PM] [blink-xxxx] Error: getaddrinfo ENOTFOUND rest-prde.immedia-semi.comundefined.jpg
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'rest-prde.immedia-semi.comundefined.jpg'
}
(node:2846) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND rest-prde.immedia-semi.comundefined.jpg
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)
(node:2846) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
(node:2846) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[12/8/2020, 7:43:07 PM] [blink-xxxx] Error [ERR_HTTP2_STREAM_ERROR]: Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM
at ClientHttp2Stream._destroy (internal/http2/core.js:2115:13)
at ClientHttp2Stream.destroy (internal/streams/destroy.js:38:8)
at ClientHttp2Stream.[kMaybeDestroy] (internal/http2/core.js:2131:12)
at Http2Stream.onStreamClose (internal/http2/core.js:513:26) {
code: 'ERR_HTTP2_STREAM_ERROR'
}
[12/8/2020, 7:43:07 PM] [blink-xxxx] Error [ERR_HTTP2_STREAM_ERROR]: Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM
at ClientHttp2Stream._destroy (internal/http2/core.js:2115:13)
at ClientHttp2Stream.destroy (internal/streams/destroy.js:38:8)
at ClientHttp2Stream.[kMaybeDestroy] (internal/http2/core.js:2131:12)
at Http2Stream.onStreamClose (internal/http2/core.js:513:26) {
code: 'ERR_HTTP2_STREAM_ERROR'
}
[12/8/2020, 7:43:19 PM] [blink-xxxx] Error: getaddrinfo ENOTFOUND rest-prde.immedia-semi.comundefined.jpg
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'rest-prde.immedia-semi.comundefined.jpg'
}
(node:2846) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND rest-prde.immedia-semi.comundefined.jpg
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)
(node:2846) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 14)
Versions are:
Raspbian GNU/Linux Buster (10)
Homebridge: 1.2.4 (although the issue was originally happening on 1.2.3 - I've since updated to see if that cured it)
homebridge-config-ui-x v4.36.0
homebridge-blink-for-home v3.6.2
My cameras are XT2 and the new Indoor/Outdoor. It seems as though the actions of the plugin do not properly reflect to the system or app for me.
Arming in HomeKit does not arm in Blink. In fact, it seems as though the operation may be timing out as HK switches to "arming" but never to "armed," eventually resetting.
Logs & debug don't indicate anything specifically about these actions other than "target state."
[10/25/2020, 12:12:12] [Blink] Armed (Target) for Blink Beta3 is: 1
Also the Occupied switch reverts its own after short periods of time.
[10/25/2020, 11:20:17] [Blink] Occupied Mode for Blink oaklake is: false
[10/25/2020, 11:20:29] [Blink] Occupied Mode for Blink oaklake is: true
Can't control mini blink camera motion detection from homebridge / apple home, but I can do so from the blink Iphone app.
Every time I try and turn the mini motion detect on from within Home, it shows ON in Home for a few seconds, and then OFF again.
[22/11/2020, 15:18:06] [Blink] Enabled for Blink mini is: true
[22/11/2020, 15:18:14] [Blink] Enabled for Blink mini is: false
If I turn if off using Home, it shows OFF for a few seconds in HOME and then ON again.
[22/11/2020, 15:26:58] [Blink] Enabled for Blink mini is: false
[22/11/2020, 15:27:00] [Blink] Enabled for Blink mini is: true
I wonder if this is specific to the Mini?
I have been testing triggering lighting using the Blink motion sensor. It works fine, but there is about a 30-second delay between motion sensing and the homekit automation.
When i use the same automation with a separate motion sensor (Eve Motion), the lights come on within 1-2 seconds of motion detection.
Anyone else had similar experiences?
I created a scene that run when I leave the house to enable 2 cameras ( I have 4 cameras, one outdoor always enable, 2 indoor battery camera and a mini (enable is not working on the mini but I understand mini is not supported yet). I want to enable all camera when I leave the house and disable all indoor cameras when I come back.
So I created an HomeKit scene to enable 2 cameras when I leave and another one to disable 2 cameras when I come back home (will include mini in this when mini get supported).
But only 1 camera get enable or disable when the scene run. I need to run the scene a second time for both camera to get enable or disable. I know the process to enable a camera involve activating motion on blink server for that camera and on the blink side this involve connecting to the sync module to activate the camera each time.
If I use the blink app when armed to activate motion on a camera I need to wait a few seconds before activating second camera or I get an error saying sync module already occupied and it fails. Could it be the same thing happening with your code?
Thank you for integrating blink in home bridge!
Any idea if this will have an impact on the plugin?
Update: SMS Two-Step Verification
Your privacy and security is important to us. For added account security, we have released 2-Step Verification (2SV) support using text message or phone call issued verification codes with the latest Blink Home Monitor app versions (Android 6.2.6 and iOS 6.1.5). To take advantage of this feature, enter a valid phone number under Manage Account in your Blink Home Monitor app. In the coming weeks, Blink customers will be prompted to set up 2SV using a valid phone number.
I use Homebridge (latest version) on a RaspberryPi 3 B and have installed the blink-plugin via Homebridge UI-X (latest version) in order to be able to use my Blink XT2 on Homekit. Unfortunately, the installation of the plugin destroys my Homebridge installation every time (that means: it leads to the fact that the config.js can no longer be found after restarting Homebridge). The error is reproducible. Before I'll try again and get this result again, I hope someone here can help me. What can be the reason and what do I have to do? Thanks a lot for any support ...
Best regards
at PlatformAccessory.Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:444:12)
at BlinkNetwork.createAccessory (/usr/lib/node_modules/homebridge-blink-for-home/src/blink.js:195:37)
at /usr/lib/node_modules/homebridge-blink-for-home/src/index.js:54:60
at Array.map (<anonymous>)
at HomebridgeBlink.init (/usr/lib/node_modules/homebridge-blink-for-home/src/index.js:54:41)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[1/4/2021, 8:46:15 AM] [Blink] NOTE: Blink devices in HomeKit will not be responsive.```
Hello,
I cannot display the video stream of a camera.
I get the following message in the console.
Video] ffmpeg exited with code: null and signal: SIGILL (Video stream stopped!)
Hi getting this error after installing the plugin, just update and running Home Bridge v1.1.7 and Blink for home is v3.6.2
[17/12/2020, 15:58:29] The plugin "homebridge-blink-for-home" requires a Homebridge version of >=1.2.0 which does not satisfy the current Homebridge version of 1.1.7. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.
just
how do i get Home Bridge 1.20 the version on NPM is 1.1.7
I just wanted to write to say Thank-you! This beta is working very well. And it is is definitely the most feature-rich blink plugin for homebridge. Well done.
Note: I am using it with the GUI interface for Homebridge. Fantastic!
Hello, thanks for this great plugin!
I'm using it for 2 days and it's working well, until, at night, I got this error:
[12/01/2021, 02:02:09] [Blink] Error: read ETIMEDOUT
at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'read'
}
(node:21187) UnhandledPromiseRejectionWarning: Error: read ETIMEDOUT
at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:21187) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
(node:21187) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[12/01/2021, 07:24:44] [Blink] Refreshing snapshot for Blink Salon
[12/01/2021, 07:24:44] [Blink] Error [ERR_HTTP2_INVALID_SESSION]: The session has been destroyed
at ClientHttp2Session.request (internal/http2/core.js:1606:13)
at doFetch (/usr/local/lib/node_modules/homebridge-blink-for-home/node_modules/fetch-h2/dist/lib/fetch-http2.js:51:32)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
code: 'ERR_HTTP2_INVALID_SESSION'
}
Error [ERR_HTTP2_INVALID_SESSION]: The session has been destroyed
at ClientHttp2Session.request (internal/http2/core.js:1606:13)
at doFetch (/usr/local/lib/node_modules/homebridge-blink-for-home/node_modules/fetch-h2/dist/lib/fetch-http2.js:51:32)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
code: 'ERR_HTTP2_INVALID_SESSION'
}
It seems that some network errors are not catched - then makes the plugin to crash.
A restart of homebridge fixes the issue, but the whole point of the stuff is to not having to reboot it every morning.
I will try to take a look at the code, but if you can point me in the right direction, it would be useful.
Thanks again,
I noticed this morning that three ffmpeg processes were left running. Sorry, I don't have any details about how that happened. That was with version 3.5.5 though, so maybe no longer a problem.
So then this happened:
My name is _______ and I am with the Blink team. While doing a routine server audit, your account was flagged and subsequently disabled due to unsupported scripts or apps running on your system. The only automation that is permitted for use with the Blink system is through Alexa and/or IFTTT. Please disable these scripts or apps and reach back out to me so that I can re-enable your account.
I removed the code from my config.json for the time being. Be warned that you might be audited next.
Can you hide or only enable during debug mode, the large amount of logs that are displaying the json coming from the blink api?
43 Error loading platform requested in your config.json at position 7
21.2.2021, 20:10:43 Error: The requested platform 'Blink' was not registered by any plugin.
at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/homebridge/lib/pluginManager.js:152:23)
at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:334:45
at Array.forEach ()
at Server.loadPlatforms (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:320:31)
at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:35)
at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Started getting this after updating to 3.5.15.
(node:21522) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'refreshThumbnail' of undefined
at BlinkCameraDelegate.handleSnapshotRequest (/usr/local/lib/node_modules/homebridge-blink-for-home/src/blink-camera-deligate.js:123:30)
at CameraController.handleSnapshotRequest (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/controller/CameraController.ts:351:23)
at Bridge.Accessory._handleResource (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1531:18)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleResource (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:918:12)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
at IncomingMessage.emit (events.js:315:20)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:21522) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:21522) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Wanted to include only cameras for a specific network. Code suggested is below, five lines starting with // only show comment, enabled by adding array of desired networks names to config (if no config.networks, system works as before).
async refreshData(force = false) {
const ttl = force ? 0 : (this.config["camera-status-polling-seconds"] || STATUS_POLL);
const homescreen = await this.blinkAPI.getAccountHomescreen(ttl);
homescreen.cameras.push(...homescreen.owls);
for (const network of homescreen.networks) {
network.syncModule = homescreen.sync_modules.filter(sm => sm.network_id === network.id)[0];
}
// only show items from networks listed in config
if (this.config.networks) {
homescreen.networks = homescreen.networks.filter(n => this.config.networks.includes(n.name));
homescreen.cameras = homescreen.cameras.filter(c => homescreen.networks.map(n => n.id).includes(c.network_id));
}
if (this.networks && this.networks.size > 0) {
for (const n of homescreen.networks) {
//TODO: new networks?
if (this.networks.has(n.id)) this.networks.get(n.id).data = n;
}
for (const c of homescreen.cameras) {
//TODO: new cameras?
if (this.cameras.has(c.id)) this.cameras.get(c.id).data = c;
}
}
else {
this.networks = new Map(homescreen.networks.map(n => [n.id, new BlinkNetwork(n, this)]));
this.cameras = new Map(homescreen.cameras.map(c => [c.id, new BlinkCamera(c, this)]));
}
return homescreen;
}
After upgrading the blink plugin is no longer working.
[1/19/2021, 10:20:45 AM] [Blink] Initing: Blink:Network:64339
[1/19/2021, 10:20:45 AM] [Blink] TypeError: this.enqueueConfigurationUpdate is not a function
at PlatformAccessory.Accessory.addService (C:\Users\DVR\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Accessory.ts:444:12)
at BlinkNetwork.createAccessory (C:\Users\DVR\AppData\Roaming\npm\node_modules\homebridge-blink-for-home\src\blink.js:195:37)
at C:\Users\DVR\AppData\Roaming\npm\node_modules\homebridge-blink-for-home\src\index.js:54:60
at Array.map ()
at HomebridgeBlink.init (C:\Users\DVR\AppData\Roaming\npm\node_modules\homebridge-blink-for-home\src\index.js:54:41)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[1/19/2021, 10:20:45 AM] [Blink] NOTE: Blink devices in HomeKit will not be responsive.
Hi! Firts, congratulations for your job!
I have done all the instructions, and i see my system camera Blink in the homebridge panel, but the system don´t appear in app Home Apple (homekit)
why?
Thanks!!
Updated to the latest version and my cpu went from 2% to 67% memory has increased too. Had to uninstall as I don’t have a cooling solution yet. Thought I’d flag it just incase.
Edit seems to be related to live view, I’ve reinstalled and disabled it for now and cpu everything is back to normal.
I’m using the new outdoor cam, I don’t need live view I was just testing it as the plug-in updated. Perhaps this is normal.
Sorry for my lack of technical ability
Unfortunately the update in version 3.5.13 did not solve my problem. The image is still not updated/refreshed after the first start.
Originally posted by @Ron0815 in #10 (comment)
I am getting lots of output in the plugin after the latest update. Even with debug and verbose disabled. Seems to be ignoring the verbose setting.
Can you let me know how to sort this out as i can't see anywhere esle to disbale this.
When any camera detects motion, dont show notification app Home Apple, only app Blink.
Its correct? Ant possibility to recieve notifications app home Apple?
Thanks!
Since streaming doesn't work my cameras I have LiveView disabled in the plugin. Still, I get the below errors, and no one is attempting to stream. They just appear in the logs.
[12/10/2020,
08:59:17] [Blink] Error [ERR_HTTP2_STREAM_ERROR]: Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM
at ClientHttp2Stream._destroy (internal/http2/core.js:2110:13)
at ClientHttp2Stream.destroy (internal/streams/destroy.js:38:8)
at ClientHttp2Stream.[kMaybeDestroy] (internal/http2/core.js:2126:12)
at Http2Stream.onStreamClose (internal/http2/core.js:511:26) {
code: 'ERR_HTTP2_STREAM_ERROR'
}
[12/10/2020, 08:59:18] [Blink] Error: getaddrinfo ENOTFOUND rest-u008.immedia-semi.comundefined.jpg
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'rest-u008.immedia-semi.comundefined.jpg'
}
(node:710) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND rest-u008.immedia-semi.comundefined.jpg
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)
(node:710) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2821)`
I have 2 blink systems set up in my home (an outdoor one that is armed 24/7, and an indoor one which arms when the last person leaves and disarms when the first person comes home). I was doing the arming and disarming through IFTTT until today when I set up HOOBS with your blink module.
I know you said live view is a WIP but the thumbnail refreshes seem to be off for me.
My outdoor system works like a charm and updates the thumbnails every so often. My indoor system is still using the stock images that I initially saved in the Blink app. and will not refresh. I have attached a picture of my settings through HOOB.
any idea what the issue could be?
Hi, first of thank you for this fantastic plugin!
I haven't been able to properly debug it yet (it has only gone below 0 once) but it appears like the temperature for my blink doesn't work if its less than 0. The temperature (the camera showed up fine) showed up in the Home app as No Response while my other Blink cameras (above 0) worked fine. In the home bridge logs the temperature did show up properly:
[30/11/2020, 01:21:18] [Blink] Temperature for Blink Garden is: -3.3
The temperature also showed up properly in the Blink app.
It stopped working just when the temperature went below 0 and just started working again as it got above 0. This all is in °C. I will take a look if this happens again and also shows up wrong in other HomeKit apps.
TCP failures are currently fatal and will cause HB to restart.
[20/02/2021, 08:38:29] [Blink] TypeError: this.enqueueConfigurationUpdate is not a function
at PlatformAccessory.Accessory.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:466:12)
at BlinkNetwork.createAccessory (/usr/local/lib/node_modules/homebridge-blink-for-home/src/blink.js:195:37)
at /usr/local/lib/node_modules/homebridge-blink-for-home/src/index.js:54:60
at Array.map ()
at HomebridgeBlink.init (/usr/local/lib/node_modules/homebridge-blink-for-home/src/index.js:54:41)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[20/02/2021, 08:38:29] [Blink] NOTE: Blink devices in HomeKit will not be responsive.
I get this failure.
Can andybody please help?
Thank you
Hi, I'm on version v3.6.2
and live streaming is not working on iPhone or Mac Home App, but works fine on Apple Watch.
LiveView Stream: rtsps://lv1-app-prod.immedia-semi.com:443...
Any idea what's wrong?
I have v3.6.1 installed. I can't figure out how to use the CLI. Does the command 'bin/blink --help' need to be run from within a specific directory?
Since I got flagged by Blink for having 3rd party scripts, I removed the plugin from Homebridge, but it appears that all of the cameras and sensors are still showing up in the app. It didn't remove them. The config.json doesn't have the information for a login.
Not really an issue but not sure where to post. Blink support disabled my account, contacted me to disable integration with homebridge since it violates their end user licensing agreement. They wouldnt activate my account until it was disabled.
Just FYI...others may receive the same.
Hi, the plug-in is great. Really useful. I’m having an issue where the temperature seems to be stuck at 25degC, do you know why that might be?
Hello everybody,
as I already reported, I was able to get the plugin to work in the meantime. But now I found out that the picture in the thumbnail is only displayed correctly the first time, but is not updated afterwards. The display at the bottom right shows "now" every 10 seconds, but without showing the current situation in front of the camera. So the first picture will ne permanently repeated or such.
What can I do to solve this issue?
BEST REGARDS
I like my thumbnails, I set them up just how I want them.
I don't like them being randomly changed whenever motion is detected.
Please can we have an option to not update the thumbnail.
Config in the config file will work for me so you don't need to build more UI, or if you do on a system by system basis (I have two systems).
Thanks
I have three Blink cameras, one that I leave always armed (in the garage) and two that I only arm when I go out (in various rooms of the house). In a previous version of the plugin (only a few days ago, the project is moving fast!) I could preview all three cameras in the Home app, even the two that aren't armed. Now it seems that I can only see the preview for the one cameras that is enabled. Given that there's a privacy switch to turn camera previews off, it doesn't seem necessary to tie that functionality to the camera's being enabled.
When I try and expand the camera I get presented a picture saying Unsupported for now.
On the mini view I get no response
[08/01/2021, 18:33:13] [Blink] Blink Home Arm for Blink Home is: true
[08/01/2021, 18:33:13] [Blink] Blink Home Arm for Blink Home is: Manual Arm
[08/01/2021, 18:33:13] [Blink] Motion Sensor Active for Blink Lola Cam 2 (Kitchen) is: true
[08/01/2021, 18:33:13] [Blink] Enabled for Blink Lola Cam 2 (Kitchen) is: true
[08/01/2021, 18:33:13] [Blink] Motion Sensor Active for Blink Lola Cam 1 is: true
[08/01/2021, 18:33:13] [Blink] Enabled for Blink Lola Cam 1 is: true
[08/01/2021, 18:33:13] [Blink] Motion for Blink Lola Cam 2 (Kitchen) is: true
[08/01/2021, 18:33:13] [Blink] Motion for Blink Lola Cam 1 is: true
[08/01/2021, 18:33:13] [Blink] Blink Home Armed (Target) for Blink Home is: 3
[08/01/2021, 18:33:13] [Blink] Blink Home Armed (Current) for Blink Home is: 4
LiveView Stream: immis://18.196.12.117:443/ZmXv2VEexrNo2WAn__IMDS_G8T1940001642JX0?client_id=68297
[08/01/2021, 18:33:38] [Blink] Refreshing snapshot for Blink Lola Cam 1
LiveView Stream: immis://3.123.232.171:443/8kyHOmIY1F9J1DX8__IMDS_G8T1940001642JX7?client_id=68307
[08/01/2021, 18:34:03] [Blink] Motion for Blink Lola Cam 2 (Kitchen) is: false
[08/01/2021, 18:34:27] [Blink] Refreshing snapshot for Blink Lola Cam 2 (Kitchen)
[08/01/2021, 18:34:29] [Blink] Motion for Blink Lola Cam 2 (Kitchen) is: true
[08/01/2021, 18:34:29] [Blink] Refreshing snapshot for Blink Lola Cam 1
[08/01/2021, 18:34:43] [Blink] Motion for Blink Lola Cam 2 (Kitchen) is: false
LiveView Stream: immis://18.196.12.117:443/LQ9nr4QUaisQTZrZ__IMDS_G8T1940001642JX7?client_id=68307
LiveView Stream: immis://18.196.12.117:443/6ouE0UAjTbfFTzin__IMDS_G8T1940001642JX0?client_id=68297
[08/01/2021, 18:35:03] [Blink] Motion for Blink Lola Cam 2 (Kitchen) is: true
[08/01/2021, 18:35:03] [Blink] Refreshing snapshot for Blink Lola Cam 2 (Kitchen)
Homebridge version v1.1.7
homebridge-blink-for-home v3.6.2
first of all, thanks for your effort!
Account and 2fa pin successfully validated but then the following happens after a restart of homebridge.
10/25/2020, 3:00:36 PM] [Home] TypeError: Cannot read property 'fw_version' of undefined
at BlinkNetwork.get firmware [as firmware] (/homebridge/node_modules/homebridge-blink-for-home/src/blink.js:107:50)
at BlinkNetwork.createAccessory (/homebridge/node_modules/homebridge-blink-for-home/src/blink.js:89:70)
at BlinkNetwork.createAccessory (/homebridge/node_modules/homebridge-blink-for-home/src/blink.js:142:15)
at /homebridge/node_modules/homebridge-blink-for-home/src/index.js:54:60
at Array.map (<anonymous>)
at HomebridgeBlink.init (/homebridge/node_modules/homebridge-blink-for-home/src/index.js:54:41)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[10/25/2020, 3:00:36 PM] [Home] NOTE: Blink devices in HomeKit will not be responsive.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.