Giter Site home page Giter Site logo

homebridge-lifx's People

Contributors

bluebie avatar devbobo avatar nmelo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebridge-lifx's Issues

Lifx Z Strips

How does this plugin handle the Lifx Z Strips being able to have multiple color zones?

Talking with homebridge

Dumb question so how exactly do I get this started with home bridge? I added it as a platform in my config and I guess it see's it because it says the platform initializes, but then nothing. It doesn't show up in my home kit app. However if I manually change the power state of the bulb while home bridge is running it says "unknown packet type 118" which is what leaves me to believe that it can see it.

Crashes homebridge if internet is down

Error: getaddrinfo ENOTFOUND api.lifx.com api.lifx.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

If the lifx api is down, homebridge-lifx should treat the bulbs as unavailable, or try to operate over the LAN.

After editing index.js to have var Service,Characteristic module will not load

Whenever I try to launch home bridge with the Lifx module configured Homebridge fails to load with error:

[LIFx] Initializing LIFx platform...
module.js:339
throw err;
^

Error: Cannot find module 'lifx'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.LIFxPlatform (/opt/local/lib/node_modules/homebridge-lifx/index.js:37:22)
at Server._loadPlatforms (/opt/local/lib/node_modules/homebridge/lib/server.js:195:32)
at Server.run (/opt/local/lib/node_modules/homebridge/lib/server.js:35:36)
at module.exports (/opt/local/lib/node_modules/homebridge/lib/cli.js:23:16)
at Object. (/opt/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:435:26)

On launch of homebridge events.js throws unhanded error event

[LIFx] Initializing LIFx platform...
[LIFx] Fetching LIFx devices.
Loading 0 accessories...
*** UDP error Error: bind EADDRINUSE 0.0.0.0:56700
events.js:141
throw er; // Unhandled 'error' event
^

Error: bind EADDRINUSE 0.0.0.0:56700
at Object.exports._errnoException (util.js:874:11)
at exports._exceptionWithHostPort (util.js:897:20)
at dgram.js:213:18
at doNTCallback3 (node.js:452:9)
at process._tickCallback (node.js:358:17)
at Function.Module.runMain (module.js:469:11)
at startup (node.js:136:18)
at node.js:963:3

Possible event listener leak

(node) warning: possible EventEmitter memory leak detected. 11 bulbstate listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Lifx.addListener (events.js:239:17)
at Object.LIFxBulbAccessory.getLan (/Users/nmelo/.nvm/versions/node/v5.1.0/lib/node_modules/homebridge-lifx/index.js:82:18)
at null. (/Users/nmelo/.nvm/versions/node/v5.1.0/lib/node_modules/homebridge-lifx/index.js:232:58)
at emitTwo (events.js:87:13)
at emit (events.js:172:7)
at Characteristic.getValue (/Users/nmelo/.nvm/versions/node/v5.1.0/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:120:10)
at Bridge. (/Users/nmelo/.nvm/versions/node/v5.1.0/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:438:20)
at Array.forEach (native)
at Bridge.Accessory._handleGetCharacteristics (/Users/nmelo/.nvm/versions/node/v5.1.0/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:410:8)
at emitThree (events.js:97:13)
at HAPServer.emit (events.js:175:7)

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.