Code Monkey home page Code Monkey logo

Comments (5)

Supereg avatar Supereg commented on May 22, 2024

This is related to an regression introduced in HAP-NodeJS 0.6.0
Is fixed in 0.6.7 homebridge/HAP-NodeJS@5e36254 which will be included in the next release of homebridge and probably any moment in the latest beta version of homebridge.

The causing line is https://github.com/devbobo/homebridge-arlo/blob/2e740ca2e5a870b9f1eee3cd366ff430dca1c303/index.js#L477

from homebridge-arlo.

Supereg avatar Supereg commented on May 22, 2024

The fix is live with [email protected]

from homebridge-arlo.

solarbeat avatar solarbeat commented on May 22, 2024

Still broken after upgrading to 1.0.3 - homebridge now cycles between running/not running continuously. Plugin is v0.0.3

[4/28/2020, 5:42:34 PM] Error: Cannot update reachability on non-bridged accessory!
at Accessory._this.updateReachability (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:399:13)
at PlatformAccessory.updateReachability (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:124:34)
at new ArloBaseStationAccessory (/usr/local/lib/node_modules/homebridge-arlo/index.js:174:24)
at ArloPlatform.addAccessory (/usr/local/lib/node_modules/homebridge-arlo/index.js:52:48)
at ArloPlatform. (/usr/local/lib/node_modules/homebridge-arlo/index.js:135:26)
at Arlo.emit (events.js:311:20)
at Arlo. (/usr/local/lib/node_modules/homebridge-arlo/node_modules/node-arlo/lib/Arlo.js:40:26)
at Request._callback (/usr/local/lib/node_modules/homebridge-arlo/node_modules/node-arlo/lib/Arlo.js:310:21)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-arlo/node_modules/request/request.js:185:22)
at Request.emit (events.js:311:20)
at Request. (/usr/local/lib/node_modules/homebridge-arlo/node_modules/request/request.js:1154:10)
at Request.emit (events.js:311:20)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-arlo/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:417:28)
at IncomingMessage.emit (events.js:323:22)
at endReadableNT (_stream_readable.js:1204:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

from homebridge-arlo.

Supereg avatar Supereg commented on May 22, 2024

A fix was incorporated into homebridge and published in the current latest beta version [email protected]. (It will probably be released in the next few days as v1.0.4).
Would be great if you could try that by installing

sudo npm install -g homebridge@beta

@devbobo updateReachability is deprecated since a long time. And doesn't really do anything anymore. You might as well just remove the following call https://github.com/devbobo/homebridge-arlo/blob/2e740ca2e5a870b9f1eee3cd366ff430dca1c303/index.js#L174 (and any other possible occurrences in your codebase).

from homebridge-arlo.

solarbeat avatar solarbeat commented on May 22, 2024

Confirmed fixed on 1.0.4

from homebridge-arlo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.