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

Lidl 14153905L, light temperature too cold #17074

Closed
fs79 opened this issue Mar 18, 2023 · 4 comments
Closed

Lidl 14153905L, light temperature too cold #17074

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

Comments

@fs79
Copy link

fs79 commented Mar 18, 2023

What happened?

Hi,
please change the light color from 133 to 500 instead of 333.
Light is capable of having color temperature from 3000K to 6500K.

existing device:
{
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_8uaoilu9'}],
model: '14153905L',
vendor: 'Lidl',
description: 'Livarno Home LED floor lamp',
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 333], noConfigure: true}),
configure: async (device, coordinatorEndpoint, logger) => {
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
},

change to:
{
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_8uaoilu9'}],
model: '14153905L',
vendor: 'Lidl',
description: 'Livarno Home LED floor lamp',
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
configure: async (device, coordinatorEndpoint, logger) => {
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
},

What did you expect to happen?

Light color should be more than 333 in zigbee2mqtt web interface.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.30.2

Adapter firmware version

20221226

Adapter

Sonoff USB Stick

Debug log

No response

@fs79 fs79 added the problem Something isn't working label Mar 18, 2023
@Koenkk
Copy link
Owner

Koenkk commented Mar 18, 2023

@fs79
Copy link
Author

fs79 commented Mar 19, 2023

Ok, works now as expected.
Color temperature can now be changed on the webinterface and light is changing ct from 154 to 500.

14153905L.js

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 e = exposes.presets;
const ea = exposes.access;

const definition = {
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_8uaoilu9'}],
model: '14153905L',
vendor: 'Lidl',
description: 'Livarno Home LED floor lamp',
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
};

image

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

Koenkk commented Mar 20, 2023

Thanks, integrated the fix!

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 Mar 20, 2023
@paoloantinori
Copy link

Hi, I was about to report that the color values are off on my lamp: warmest actually outputs a cold white.

Until I've realised that I have a slightly different model:

14154002L

I'd be happy to contribute to the correct config.
I've checked this page:
https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html

but the operation for the physical values fails:

Publish 'set' 'read' to 'Lampada_Divano' failed: 'Error: Read 0xcc86ecfffe0fb0ff/1 lightingColorCtrl(["colorTempPhysicalMin"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

any hint on how to proceed?

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

3 participants