Giter Site home page Giter Site logo

raymondelooff / homebridge-huejay Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 163 KB

Homebridge Plugin for Philips Hue accessories based on Huejay

License: GNU General Public License v3.0

JavaScript 100.00%
homebridge homebridge-plugin huejay philips-hue

homebridge-huejay's People

Contributors

raymondelooff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

peterot

homebridge-huejay's Issues

Hue RGB

No control RGB, just ON/OFF... Way to control color ?

Help, can't load hue-jay

Hi,

I followed your instructions and there is no automatic detection of hue bridge, i get this:

Please try pasting your config.json file here to validate it: http://jsonlint.com
[5/4/2017, 10:24:26 PM]
/usr/local/lib/node_modules/homebridge/lib/server.js:197
throw err;
^

SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:191:19)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:52:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:423:7)
at startup (bootstrap_node.js:147:9)
at bootstrap_node.js:538:3

Please help

Can I use this without a Hue Bridge?

I want to buy a hue motion sensor to control some luttron casseta lights. Can I add it to homekit through homebridge with this plugin? Or do i need a hue bridge to do that?

Turn off lights in X minutes

Thanks for the Plugin!
Is it possible to make an automation to let turn lights turn off after a certain time?

ignoreAccessories gives an error

I added this part: "ignoreAccessories": [ "xx:xx:xx:xx:xx:xx:xx:x1-02-0400", "xx:xx:xx:xx:xx:xx:xx:x2-02-0400", "xx:xx:xx:xx:xx:xx:xx:x3-02-0400" ]
so that I only would have the sensors showing in Homebridge. But when running, I get the following error: Ignoring accessory with ID 00:17:88:01:02:02:95:42-02-0400...
(node:1514) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: homebridge-huejay - HuePlatform attempt to unregister an accessory that isn't PlatformAccessory!

Haven't been able to get around this issue. Do you have any idea what could cause this to happened? Without the "ignoreAccessories" everything works fine.
What I try to ignore are the hue-ambient-lights (the ones who shows lux).

Cannot get username

Hello,

when I modify my config.json with the

"platforms": [
{
"platform": "HuePlatform",
"name": "Hue"
}
]

and run the homebridge, I get the following and nothing else:

/30/2018, 9:19:04 PM] [Hue] Found Hue Bridge with ID: XXX788FFFE473042, IP: XXX.168.1.121
[1/30/2018, 9:19:04 PM] [Hue] Loading accessories...

Could you please help me?

Thank you
David

Installed 1.5.1 Service dont restart

I, so I updated to 1.5.1 today and that went well, until the Homebridge service should restart. It didnt. The log says it does find the HueBridge but I need to press the button but since the Homebridge never gets going it doesnt help, does it? I pressed that many times now.... :-)

Nothing pops up in Homekit

Hi, Im running latest Hoobs and installed your hue integration. Im specially looking for the light sensor in the Philips indoor motion sensor, and its lux values.
The installation goes fine, I press the Hue bridge button and all is connected. Service start so okay. My other integration with Telldus works as normal but no new Hue units pops up in the Aplle HomeKit app on my phone.
I shall also say that all units are regsitered on my phone via the normal Hue bridge so I know the sensor works but I wanted to double up initially for the sensor and when working as i want, disable it via the hue bridge, hoping your integration give me lux values to do automation based on.
I must be doing some basic mistake....

Add support for On/Off plug-in unit

Hello,

thanks for your work !

I've connected Zigbee Osram powerplugs to my Philips Hue Bridge. They are available via Hue App, but not via Apple HomeKit.

I would like your plugin to support such accessories. What can I do for that ?

Here are the logs I've got after installation and configuration :

[6/22/2019, 4:55:33 PM] [Hue] Searching for Hue Bridges...
[6/22/2019, 4:55:36 PM] [Hue] Found Hue Bridge with ID: 001788FFFXXXXXXX, IP: 10.0.1.2
[6/22/2019, 4:55:36 PM] [Hue] Using existing configuration for Bridge with ID 001788FFFXXXXXXX
[6/22/2019, 4:55:37 PM] [Hue] Authenticated on Bridge 'Leuville' with ID 001788FFFXXXXXXX
[6/22/2019, 4:55:37 PM] [Hue] Loading accessories...
[6/22/2019, 4:55:37 PM] [Hue] Loading sensors of Bridge with ID 001788FFFXXXXXXX...

It seems everything works well, but none of my powerplugs are available on HomeKit ?

Any ideas ?

Thanks

Jack

Error loading plugin

[6/16/2017, 2:37:04 AM] ERROR LOADING PLUGIN homebridge-huejay:
[6/16/2017, 2:37:04 AM] 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 Object. (/usr/local/lib/node_modules/homebridge-huejay/lib/HueAccessory/Factory.js:3:18)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)

Not accepting username

Hello,

is seems, as if the bridge does not accept the username, that I provide via Homebridge configuration. I got it from the debugger after pressing the link button. Nothing happens. Every time I am running the debugger again, it tells me, “not authenticated”.
My configuration:
{
"enableLights" : true,
"enableSensors" : 1,
"clients" : [
{
"username" : "ikYMB5l8sgmV4hVD6EKbXpKVPSzkpkksR83Y",
"id" : "001788FFFE228E0A",
"timeout" : 15000,
"ip" : "192.168.188.66",
"port" : 80
}
],
"platform" : "HuePlatform",
"enableGenericLights" : 1,
"name" : "Hue",
"enableGenericSensors" : 1
}

Best wishes
Thorsten

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.