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

[New device support]: Philips Hue White and Color Ambiance GU10 Xamento 3 spotlight pack #15885

Closed
fireRoads opened this issue Jan 2, 2023 · 13 comments · Fixed by Koenkk/zigbee-herdsman-converters#5251
Labels
new device support New device support request

Comments

@fireRoads
Copy link

Link

https://www.philips-hue.com/sv-se/p/hue-white-och-color-ambiance-xamento-infalld-spot-3-pack/8719514355392

Database entry

{"id":21,"type":"Router","ieeeAddr":"0x001788010b55c9fe","nwkAddr":61279,"manufId":4107,"manufName":"Philips","powerSource":"Mains (single phase)","modelId":"929003074801_01","epList":[11,242],"endpoints":{"11":{"profId":260,"epId":11,"devId":269,"inClusterList":[0,3,4,5,6,8,4096,64514,768,64513],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"929003074801_01","manufacturerName":"Philips","powerSource":1,"zclVersion":2,"appVersion":2,"stackVersion":1,"hwVersion":3,"dateCode":"20200327","swBuildId":"1.65.11_hB798F2B"}},"lightingColorCtrl":{"attributes":{"colorCapabilities":31,"colorTempPhysicalMin":153,"colorTempPhysicalMax":500,"colorMode":2,"currentX":31248,"currentY":27106,"colorTemperature":400}},"genOnOff":{"attributes":{"onOff":1}},"genLevelCtrl":{"attributes":{"currentLevel":134}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":1,"hwVersion":3,"dateCode":"20200327","swBuildId":"1.65.11_hB798F2B","zclVersion":2,"interviewCompleted":true,"meta":{"configured":88764544},"lastSeen":1672653452128,"defaultSendRequestWhen":"immediate"}

Comments

This is a GU10 3 spotlight pack with extra hardware. The GU10 bulbs seems to work exactly like the regular GU10 color spotlights (929001953101).

Model should probably be assigned to 929003074801 but each bulb in the pack has an ending with _01, _02 and _03.

zigbeeModel: ['929003074801_01', '929003074801_02', '929003074801_03']

Below external converter works with 1.28.4-1.

External converter

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const e = exposes.presets;
const ea = exposes.access;

const hueExtend = {
    light_onoff_brightness: (options={}) => ({
        ...extend.light_onoff_brightness(options),
        toZigbee: extend.light_onoff_brightness(options).toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
    light_onoff_brightness_colortemp: (options={}) => ({
        ...extend.light_onoff_brightness_colortemp(options),
        toZigbee: extend.light_onoff_brightness_colortemp(options).toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
    light_onoff_brightness_color: (options={}) => ({
        ...extend.light_onoff_brightness_color({supportsHS: true, ...options}),
        toZigbee: extend.light_onoff_brightness_color({supportsHS: true, ...options}).toZigbee
            .concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
    light_onoff_brightness_colortemp_color: (options={}) => ({
        ...extend.light_onoff_brightness_colortemp_color({supportsHS: true, ...options}),
        toZigbee: extend.light_onoff_brightness_colortemp_color({supportsHS: true, ...options})
            .toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
};

const definition = {
    zigbeeModel: ['929003074801_01', '929003074801_02', '929003074801_03'],
    model: '929001953101',
    vendor: 'Philips',
    description: 'Hue White and Color Ambiance GU10 (Xamento)',
    // Note that fromZigbee, toZigbee and exposes are missing here since we use extend here.
    // Extend contains a default set of fromZigbee/toZigbee converters and expose for common device types.
    // The following extends are available:
    // - extend.switch
    // - extend.light_onoff_brightness
    // - extend.light_onoff_brightness_colortemp
    // - extend.light_onoff_brightness_color
    // - extend.light_onoff_brightness_colortemp_color
    // extend: extend.light_onoff_brightness_colortemp_color(),
    extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
    meta: {turnsOffAtBrightness1: true},
    ota: ota.zigbeeOTA,
};

module.exports = definition;

Supported color modes

color temperature, color xy & color hs (rgb)

Color temperature range

{colorTempRange: [153, 500]}

@Grandma-Betty
Copy link

Grandma-Betty commented Jan 28, 2023

Came here because I have exactly the same issue.
I have three of those GU10 bulbs included in the Philips Hue Xamento package.
They seem to have two different model numbers though:
929003074801_01
and
929003074801_02

1

I'm on the latest version of Z2M and Home Assistant.
Is there a way I can fix the "device not supported" issue?
Or do I have to wait until the next Z2M release?
Thanks!

@Koenkk
Copy link
Owner

Koenkk commented Jan 29, 2023

@Grandma-Betty

Or do I have to wait until the next Z2M release?

Will be supported in the 1 February release.

@Grandma-Betty
Copy link

For the devices I posted above, they are working fine now with the latest Z2M release, thanks so far.
However, today arrived another three Xamento devices I bought a couple of days ago. They also have the same issue as mentioned by OP, but the serial numbers are others this time:

929003526202_01
929003526202_02
929003526202_03

Here's the screenshot to confirm:

Screenshot 2023-02-15 184413

Physically they are still the same original Philips Hue GU10 spots as mentioned by OP:
92900195310

As I never helped to add a new zigbee device yet, now my question is:
Is it enough for testing if I just take the converter from above and replace the according zigbeeModel values with the ones I have? Did I get this right?
Thanks so far!

@Grandma-Betty
Copy link

Grandma-Betty commented Feb 15, 2023

Update:

I added this no to a file called

/config/zigbee2mqtt/9290019531.js

in Home Assistant:

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const e = exposes.presets;
const ea = exposes.access;

const hueExtend = {
    light_onoff_brightness: (options={}) => ({
        ...extend.light_onoff_brightness(options),
        toZigbee: extend.light_onoff_brightness(options).toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
    light_onoff_brightness_colortemp: (options={}) => ({
        ...extend.light_onoff_brightness_colortemp(options),
        toZigbee: extend.light_onoff_brightness_colortemp(options).toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
    light_onoff_brightness_color: (options={}) => ({
        ...extend.light_onoff_brightness_color({supportsHS: true, ...options}),
        toZigbee: extend.light_onoff_brightness_color({supportsHS: true, ...options}).toZigbee
            .concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
    light_onoff_brightness_colortemp_color: (options={}) => ({
        ...extend.light_onoff_brightness_colortemp_color({supportsHS: true, ...options}),
        toZigbee: extend.light_onoff_brightness_colortemp_color({supportsHS: true, ...options})
            .toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
    }),
};

const definition = {
    zigbeeModel: ['929003526202_01', ' 929003526202_02', '929003526202_03'],
    model: '929001953101',
    vendor: 'Philips',
    description: 'Hue White and Color Ambiance GU10 (Xamento)',
    // Note that fromZigbee, toZigbee and exposes are missing here since we use extend here.
    // Extend contains a default set of fromZigbee/toZigbee converters and expose for common device types.
    // The following extends are available:
    // - extend.switch
    // - extend.light_onoff_brightness
    // - extend.light_onoff_brightness_colortemp
    // - extend.light_onoff_brightness_color
    // - extend.light_onoff_brightness_colortemp_color
    // extend: extend.light_onoff_brightness_colortemp_color(),
    extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
    meta: {turnsOffAtBrightness1: true},
    ota: ota.zigbeeOTA,
};

module.exports = definition;

Now how would I trigger some actions on the device? I am totally unsure on how to do this @Koenkk

Thanks!

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Feb 15, 2023
@Koenkk
Copy link
Owner

Koenkk commented Feb 15, 2023

@Grandma-Betty added them!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@Grandma-Betty
Copy link

@Koenkk Thanks man!

What I would like to mention additionally:
On your github commit the device model is:
929001953101
But on the physical device the device model is:
9290019531
The number is almost the same, so I'm not sure if this even matters.
What do you think?
Here's a picture of the physical device in question:

Unbenannt

@Koenkk
Copy link
Owner

Koenkk commented Feb 18, 2023

This doesn't matter, it's just a cosmetic thing.

@Grandma-Betty
Copy link

@Koenkk Hmm...I just installed today's official Z2M update and the one with the number
929003526202_02
just won't get recognized. It still says the device is not supported.
The other two numbers on the other hand are pairing fine and get recognized as intended.
I did reset the bulb a couple of times and also tried to take it next to the coordinator with no luck.
Any idea what could go wrong?
Thanks!

@Grandma-Betty
Copy link

Grandma-Betty commented Mar 1, 2023

@Koenkk
I mentioned on your commit above there's an unnecessary whitespace on the according device number.
Could that be the problem?

Edit: Please don't let me wait another month for this to be in the official release :P
Edge version seems too risky to me as I have a lot of zigbee devices going on in my house.

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Mar 2, 2023
@Koenkk
Copy link
Owner

Koenkk commented Mar 2, 2023

I've fixed the issue now but it will be part of the next release. Until then you can use the following external converter:

const philips = require('zigbee-herdsman-converters/lib/philips');

const definition = {
    zigbeeModel: ['LCG002', '929003047701', '929003047701', '929003526202_01', '929003526202_02', '929003526202_03'],
    model: '929001953101',
    vendor: 'Philips',
    description: 'Hue White and Color Ambiance GU10',
    extend: philips.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
};

module.exports = definition;
  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m,

@Grandma-Betty
Copy link

...aaaaand another Philips Hue Xamento GU10 spot not being supported yet with the following model number:

929003074701

@Koenkk It would be nice if you could add this one too for the next release.
Thank you mate!

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Mar 11, 2023
@Koenkk
Copy link
Owner

Koenkk commented Mar 11, 2023

added!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@Ruvetuve
Copy link

Ruvetuve commented Jan 30, 2025

Hi, new serial numbers arrived with v2 resulting in unknown device when added to the network

929003812901_01 etc

Is this an easy one to add @Koenkk

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

Successfully merging a pull request may close this issue.

4 participants