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

EssentielB EB-E14-P45-RGBW #17002

Closed
scottjim opened this issue Mar 11, 2023 · 4 comments
Closed

EssentielB EB-E14-P45-RGBW #17002

scottjim opened this issue Mar 11, 2023 · 4 comments
Labels
problem Something isn't working

Comments

@scottjim
Copy link

What happened?

It is a color bulb (16 million colors), we have:
Expose: light (state, brightness, color_temp, color_temp_startup), effect, power_on_behavior, linkquality
but missing light(color_xy)

What did you expect to happen?

I would like to be able to choose the color of the bulb

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.30.2

Adapter firmware version

20220219

Adapter

zStack3x0

Debug log

No response

@scottjim scottjim added the problem Something isn't working label Mar 11, 2023
@scottjim
Copy link
Author

scottjim commented Apr 2, 2023

No idea ? @Koenkk

@Koenkk
Copy link
Owner

Koenkk commented Apr 2, 2023

Could you check if the issue is fixed with the following 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 tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    zigbeeModel: ['EB-E14-P45-RGBW'],
    model: 'EB-E14-P45-RGBW',
    vendor: 'EssentielB',
    description: 'Smart LED bulb',
    extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
};

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, check if issue is fixed

@scottjim
Copy link
Author

scottjim commented Apr 3, 2023

It doesn't work but if I change :

  • extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),

  • extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),

it works fine now, thank you

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 tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    zigbeeModel: ['EB-E14-P45-RGBW'],
    model: 'EB-E14-P45-RGBW',
    vendor: 'EssentielB',
    description: 'Smart LED bulb',
    extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
};

module.exports = definition;

@Koenkk
Copy link
Owner

Koenkk commented Apr 3, 2023

Integrated the fix, thanks!

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)

@Koenkk Koenkk closed this as completed Apr 3, 2023
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants