WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

INNR RB 285 C and the INNR RB 278 T - Missing color and light temperature. #147

Closed Beejeedeb closed 5 years ago

Beejeedeb commented 5 years ago

Hello Zigbee Wizards,

I have purchased 2 different types of INNR lamps. INNR was founded by former Philips employees. INNR therefore claims that their lamps are comparable to those of Philips Hue.

These are the two types RB 285 C and RB 278 T.

Both lamps support the ZigBee 3.0 protocol.

In the Mozilla gateway, both lamps are seen as a multi-level switch with only the on / off options and Light intensity (level).

The RB 285 C therefore lacks the color and light temperature options. The RB 278 T lacks the light temperature.

Info RB 285 C:

Innr RB 285 C

pairing:

2019-07-04 18:45:54.804 INFO : zigbee: Cancelling pairing mode 2019-07-04 18:45:54.807 INFO : zigbee: ZigbeeNode created: addr64: 00158d0002cb8468 addr16: a12f 2019-07-04 18:45:55.520 INFO : zigbee: Stored colorCapabilities: 31 2019-07-04 18:45:55.522 INFO : zigbee: Stored colorMode: 2 2019-07-04 18:45:55.524 INFO : zigbee: handleReadRsp: ##### No property found for frame ##### 2019-07-04 18:45:55.525 INFO : zigbee: Stored colorCapabilities: 31 2019-07-04 18:45:55.527 INFO : zigbee: Stored colorMode: 2

Change light intensity:

2019-07-04 18:46:08.335 INFO : zigbee: setProperty property: level for: zb-00158d0002cb8468-multiLevelSwitch profileId: 0104 endpoint: 1 clusterId: 0008 zcl: level: 128 (50.6%) value: 50.5797101449275 2019-07-04 18:46:08.393 INFO : zigbee: zb-00158d0002cb8468-multiLevelSwitch property: level profileId: 0104 endpoint: 1 clusterId: 0008 report value: 50.4% (128)

set on and off:

2019-07-04 18:46:19.311 INFO : zigbee: setProperty property: on for: zb-00158d0002cb8468-multiLevelSwitch profileId: 0104 endpoint: 1 clusterId: 0006 zcl: on value: true 2019-07-04 18:46:19.437 INFO : zigbee: zb-00158d0002cb8468-multiLevelSwitch property: on profileId: 0104 endpoint: 1 clusterId: 0006 report value: on (1) 2019-07-04 18:46:22.421 INFO : zigbee: setProperty property: on for: zb-00158d0002cb8468-multiLevelSwitch profileId: 0104 endpoint: 1 clusterId: 0006 zcl: off value: false 2019-07-04 18:46:22.520 INFO : zigbee: zb-00158d0002cb8468-multiLevelSwitch property: on profileId: 0104 endpoint: 1 clusterId: 0006 report value: off (0)


Info RB 278 T:

INNR RB 278 T

Logs:

pairing:

2019-07-04 18:29:15.358 INFO : zigbee: Cancelling pairing mode 2019-07-04 18:29:15.360 INFO : zigbee: ZigbeeNode created: addr64: 00158d0002f6bfa9 addr16: b4d2 2019-07-04 18:29:16.070 INFO : zigbee: Stored colorCapabilities: 16 2019-07-04 18:29:16.073 INFO : zigbee: Stored colorMode: 2 2019-07-04 18:29:16.075 INFO : zigbee: handleReadRsp: ##### No property found for frame ##### 2019-07-04 18:29:16.076 INFO : zigbee: Stored colorCapabilities: 16 2019-07-04 18:29:16.078 INFO : zigbee: Stored colorMode: 2

Change light intensity:

2019-07-04 18:29:33.567 INFO : zigbee: setProperty property: level for: zb-00158d0002f6bfa9-multiLevelSwitch profileId: 0104 endpoint: 1 clusterId: 0008 zcl: level: 131 (51.7%) value: 51.7391304347826 2019-07-04 18:29:33.629 INFO : zigbee: zb-00158d0002f6bfa9-multiLevelSwitch property: level profileId: 0104 endpoint: 1 clusterId: 0008 report value: 51.6% (131) 2019-07-04 18:29:39.456 INFO : zigbee: setProperty property: level for: zb-00158d0002f6bfa9-multiLevelSwitch profileId: 0104 endpoint: 1 clusterId: 0008 zcl: level: 117 (45.9%) value: 45.9420289855072 2019-07-04 18:29:39.524 INFO : zigbee: zb-00158d0002f6bfa9-multiLevelSwitch property: level profileId: 0104 endpoint: 1 clusterId: 0008 report value: 46.1% (117)

set on and off:

2019-07-04 18:29:50.342 INFO : zigbee: setProperty property: on for: zb-00158d0002f6bfa9-multiLevelSwitch profileId: 0104 endpoint: 1 clusterId: 0006 zcl: off value: false 2019-07-04 18:29:50.425 INFO : zigbee: zb-00158d0002f6bfa9-multiLevelSwitch property: on profileId: 0104 endpoint: 1 clusterId: 0006 report value: off (0) 2019-07-04 18:29:52.049 INFO : zigbee: setProperty property: on for: zb-00158d0002f6bfa9-multiLevelSwitch profileId: 0104 endpoint: 1 clusterId: 0006 zcl: on value: true 2019-07-04 18:29:52.131 INFO : zigbee: zb-00158d0002f6bfa9-multiLevelSwitch property: on profileId: 0104 endpoint: 1 clusterId: 0006 report value: on (1)

Beejeedeb commented 5 years ago

This is all the useful information that I can find in the log files. Please let me know if I can help you to get more info.

IMG_20190704_192042

dhylands commented 5 years ago

In the /home/pi/.mozilla-iot/config directory you'll find a file with a name like zb-XXXXXXXXXX.json (where the X's are a bunch of hex digits).

Could you email that file to me at dhylands@mozilla.com

Beejeedeb commented 5 years ago

An e-mail has been sent to you with the file.

Beejeedeb commented 5 years ago

Hi Dave,

I have already installed your change in my environment. We are not quite there yet.

For the RB 278 T the comfort bulb I get the following after pairing:

RB 278 T Comfort

The color temperature starts at its highest value with 2702 Kelvin. When I adjust it, the value becomes 50 but the color temperature then does nothing, the lamp icon disappears.

RB 278 T Comfort Colortemp

On/off and Brightness works.

Only after disabling and enabling the ZigBee add-on it works.

RB 278 T after service restart


For the RB 285 C the colorbulb I get the following after pairing the lamp:

RB 285 C - Color

On/off and adjusting the color works. Only the brightness control is missing. I also miss the color temperature control of the white LED. I think the white LED should also be controlled separately, but I am not sure.

mrstegeman commented 5 years ago

The color temperature issue is already filed as #144.

As for your RGB bulb... We (the team) made a decision a long time ago to omit color temperature and brightness controls for RGB bulbs. The brightness is actually a component of the color, so it can be controlled by the color picker. The color temperature can be emulated by the RGB bulb. I know that typically, there are separate light arrays for white and RGB, but we decided that was just a technical detail.

Personally, as a "power user", I would like to have separate controls for everything, but for a non-technical person, this UI probably makes more sense. Feel free to argue otherwise!

Beejeedeb commented 5 years ago

Thank you for clarifying the brightness slider. Indeed I would like to have a slider for everything :-)

I agree with you when it comes to the color picker on an android browser that is indeed clear to the novice user.

color picker android

But the colorpicker on my Windows computer is less suitable for the novice user (in this case my wife). A slider seems easier to me.

Color picker windows

But you are right you have to make a choice somewhere.

I am very happy with Mozilla Webthings and I think the team has done a great job so far.