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

Add support for L&S Emotion Home Base #5908

Closed
wants to merge 10 commits into from
Closed

Conversation

nordish1
Copy link

No description provided.

@nordish1 nordish1 marked this pull request as ready for review June 23, 2023 19:50
@Koenkk
Copy link
Owner

Koenkk commented Jun 24, 2023

Can you provide a link to this device?

@nordish1
Copy link
Author

Can you help me? This ist my first pull request and I don't know what's the problem.

@Koenkk
Copy link
Owner

Koenkk commented Jun 25, 2023

The device looks like a gateway, not a light?

@nordish1
Copy link
Author

Yes, the Home Base converts Zigbee to Emotion. But only lights are controlled.

@Koenkk
Copy link
Owner

Koenkk commented Jun 26, 2023

You should pair the lights directly to z2m, not the the emotion base (which is alternative to zigbee2mqtt)

@nordish1
Copy link
Author

No, that is not possible. The gateway also converts Zigbee to a properetary Emotion radio signal.

@Koenkk
Copy link
Owner

Koenkk commented Jun 27, 2023

Were you able to pair the base to zigbee2mqtt?

@nordish1
Copy link
Author

Yes, and with the "ls.js" config I created, it also works. But the check fails.

@Koenkk
Copy link
Owner

Koenkk commented Jun 29, 2023

@nordish1
Copy link
Author

Done

@Koenkk
Copy link
Owner

Koenkk commented Jun 30, 2023

Can you update the contents of this file to:

import {Definition} from '../lib/types';
import extend from '../lib/extend';

const definitions: Definition[] = [
    {
        zigbeeModel: ['Emotion'],
        model: 'A319463',
        vendor: 'LS Deutschland GmbH',
        description: 'Home base',
        extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
    },
];

module.exports = definitions;

@nordish1
Copy link
Author

nordish1 commented Jul 1, 2023

I've update the file. But the follwing message is shown "Type annotations can only be used in TypeScript files. "

@Koenkk
Copy link
Owner

Koenkk commented Jul 23, 2023

This device is supported now.

@Koenkk Koenkk closed this Jul 23, 2023
@isabelkort
Copy link

I've added my L&S Emotion HomeBase to Zigbee2MQTT. It doesn't work. When i click on or off he light on the Home Base ist red.
And the log in Z2M show:
2023-11-21 17:44:36MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung', payload '{"color_mode":"xy","linkquality":228,"state_l1":"OFF"}'
Info 2023-11-21 17:44:36MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung/l1', payload '{"state":"OFF"}'
Info 2023-11-21 17:44:36MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung', payload '{"color_mode":"xy","linkquality":224,"state_l1":"OFF"}'
Info 2023-11-21 17:44:36MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung/l1', payload '{"state":"OFF"}'
Info 2023-11-21 17:44:37MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung', payload '{"color_mode":"xy","linkquality":168,"state_l1":"ON"}'
Info 2023-11-21 17:44:37MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung/l1', payload '{"state":"ON"}'
Info 2023-11-21 17:44:37MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung', payload '{"color_mode":"xy","linkquality":224,"state_l1":"ON"}'
Info 2023-11-21 17:44:37MQTT publish: topic 'zigbee2mqtt/Kochinsel Beleuchtung/l1', payload '{"state":"ON"}'

Can you help me?

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

Successfully merging this pull request may close these issues.

3 participants