Giter VIP home page Giter VIP logo

homebridge-lightify's People

Contributors

chris1705 avatar mrose17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-lightify's Issues

RangeError: Index out of range

An error occurs when the number of lighting lamps exceeds 29. Homebridge will no longer run, with an "out of bounds" error related to the index.js code.

The error is as below, and was resolved by reducing the number of lamps to 28.

This node is exceptional and has solved a lot of problems for me, namely, having invested $2,000 in lamps only to find out that Apple has revoked the HomeKit approval. If this is something you are able to resolve I would be most grateful.

buffer.js:829
throw new RangeError('Index out of range');
^

RangeError: Index out of range
at checkOffset (buffer.js:829:11)
at Uint8Array.Buffer.readUInt16LE (buffer.js:875:5)
at /usr/local/lib/node_modules/homebridge-lightify/node_modules/node-lightify/index.js:116:22
at responseProcesser (/usr/local/lib/node_modules/homebridge-lightify/node_modules/node-lightify/index.js:81:18)
at Object.processer (/usr/local/lib/node_modules/homebridge-lightify/node_modules/node-lightify/index.js:109:18)
at Socket. (/usr/local/lib/node_modules/homebridge-lightify/node_modules/node-lightify/index.js:47:54)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)

ERROR LOADING PLUGIN

[2016-09-29 12:11:52] ERROR LOADING PLUGIN homebridge-lightify:
[2016-09-29 12:11:52] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:413:25)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:65:22)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:128:14)
at Array.forEach (native)
[2016-09-29 12:11:52] ====================

ECONNRESET error?

hi

the plugin runs great like 60% of the time, but every so often I get this error and home bridge crashes:

/usr/local/lib/node_modules/homebridge-lightify/node_modules/net-socket/index.js:80
throw err;
^

Error: read ECONNRESET
at exports._errnoException (util.js:870:11)
at TCP.onread (net.js:544:26)

Could not install

Hello, wenn i try to Install die Plugin I get an Error.

pi@raspberrypi:~ $ sudo npm install -g homebridge-lightify
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/homespun/node-lightify.git /root/.npm/_cacache/tmp/git-clone-33d4346c
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-33d4346c': Permission denied
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-11-29T19_30_32_029Z-debug.log

Any suggestions ?
Thanks a lot

Controlling a room

Hi,

Thanks for plugin, it's working well for single lights.

However, I have three bulbs assigned to a room. The Osram app. controls them all at once no problem. Apples Home app controls them individually no problem. Asking Siri to turn them on/off however and only 1/3 bulbs react.

I'm not sure if this is Apple, Homebridge or the plugin. Has anyone had any similar experiences?

Thanks,

--Cynan

Does not iterate though devices in a room or group

When several lights are placed in a room and you ask Siri to turn off the lights in {Room} only one light is turned off. Same issue with changing temperature or RGB color. If lights added to a group of accessories, and you ask Siri to act on the group there is the same issue.

Error loading plugin

Hi, I keep getting the error loading plugin. I also don't know how to get the IP for my bridge.

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.