Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Philips HUE Devices yet? #25

Open
meinname opened this issue Feb 22, 2019 · 4 comments
Open

No Philips HUE Devices yet? #25

meinname opened this issue Feb 22, 2019 · 4 comments

Comments

@meinname
Copy link

meinname commented Feb 22, 2019

Hi,
i got a Philips Hue White Wireless Dimming Kit and wanted to pair the Dimmer and the Lamp wit my zigbee stick.
But it seems it's not support by the homebrige-zigbee plugin yet.
First i tried it with the bulb.
This one i could pair.
Here the part of the zigbee.db - maybe you can add this one

//edit: see below - attached whole db now.

But for the Dimmer i couldn't even pair. Do you know how to do this?
Model should be a RWL021

@meinname
Copy link
Author

Update - haven't seen the reset switch in the back of the Dimmer ;)
Now paired this one too.
Here my db:
zigbe.txt

@meinname
Copy link
Author

meinname commented Feb 22, 2019

I tried to add support for the bulb by following the similar ikea bulb example:

philips.hue.dimmable_bulb.js:

const HomeKitDevice = require('../HomeKitDevice')

class PhilipsDimmableBulb extends HomeKitDevice {
  static get description() {
    return {
      model: [
        'LWB010',
      ],
      manufacturer: 'Philips',
      name: 'Philips HUE',
    }
  }

  getAvailbleServices() {
    return [{
      name: 'Bulb',
      type: 'Lightbulb',
    }]
  }

  onDeviceReady() {
    this.mountServiceCharacteristic({
      endpoint: 1,
      cluster: 'genOnOff',
      service: 'Bulb',
      characteristic: 'On',
      reportMinInt: 1,
      reportMaxInt: 300,
      reportChange: 1,
      parser: 'onOff',
    })
    this.mountServiceCharacteristic({
      endpoint: 1,
      cluster: 'genLevelCtrl',
      service: 'Bulb',
      characteristic: 'Brightness',
      reportMinInt: 1,
      reportMaxInt: 300,
      reportChange: 1,
      parser: 'dim',
    })
  }
}

module.exports = PhilipsDimmableBulb

but i get:

2019-2-22 14:41:10] [ZigBee] Unable to initialize device 0x0017880104a52db8, try to remove it and add it again.
[2019-2-22 14:41:10] [ZigBee] Reason: TypeError: Cannot read property 'report' of undefined
    at ZigBeeDevice.subscribe (/usr/local/lib/node_modules/homebridge-zigbee/lib/ZigBeeDevice.js:38:32)
    at PhilipsDimmableBulb.mountServiceCharacteristic (/usr/local/lib/node_modules/homebridge-zigbee/lib/HomeKitDevice.js:127:19)
    at PhilipsDimmableBulb.onDeviceReady (/usr/local/lib/node_modules/homebridge-zigbee/lib/devices/philips.hue.dimmable_bulb.js:22:10)
    at new HomeKitDevice (/usr/local/lib/node_modules/homebridge-zigbee/lib/HomeKitDevice.js:43:10)
    at new PhilipsDimmableBulb (/usr/local/lib/node_modules/homebridge-zigbee/lib/devices/philips.hue.dimmable_bulb.js:3:1)
    at ZigBeePlatform.initDevice (/usr/local/lib/node_modules/homebridge-zigbee/index.js:256:22)
    at ZigBeePlatform.handleZigBeeDevIncoming (/usr/local/lib/node_modules/homebridge-zigbee/index.js:156:12)

Sorry, i'm no coder so i don't know what i'm doing ;)

@giss69
Copy link

giss69 commented Jul 15, 2019

Hello,

is any news about support for Hue Phillips bulbs?

Thank you

@mysho87
Copy link

mysho87 commented Mar 17, 2020

I created a new device (Philips LWB010) and it works fine with my HomeBrdige configuration:

Pull request:
#61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants