chris1705 / homebridge-lightify Goto Github PK
View Code? Open in Web Editor NEWHomebridge plugin providing access to OSRAM Lightify platform
Home Page: http://fenderdev.com/blog/osram-lightify-mit-apple-siri-nutzen/
Homebridge plugin providing access to OSRAM Lightify platform
Home Page: http://fenderdev.com/blog/osram-lightify-mit-apple-siri-nutzen/
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)
[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] ====================
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)
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
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
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.
Checkout how it was done here:
https://github.com/lbohlmann/homebridge-lightify-tunablewhite-e14
Hi, I keep getting the error loading plugin. I also don't know how to get the IP for my bridge.
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.