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]: LED-Trading 9134 (Version HK-LN-SOCKET-EU-5) #26165

Closed
mkar1984 opened this issue Feb 4, 2025 · 1 comment
Closed

[New device support]: LED-Trading 9134 (Version HK-LN-SOCKET-EU-5) #26165

mkar1984 opened this issue Feb 4, 2025 · 1 comment
Labels
new device support New device support request

Comments

@mkar1984
Copy link

mkar1984 commented Feb 4, 2025

Link

https://www.led-trading.de/zigbee-30-steckdosenleiste-4fach-mit-2x-usb-anschluss

Database entry

{"id":84,"type":"Router","ieeeAddr":"0x84fd27fffe2c67ee","nwkAddr":50070,"manufId":4107,"manufName":"Sunricher","powerSource":"Mains (single phase)","modelId":"HK-LN-SOCKET-EU-5","epList":[1,2,3,4,5,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,2821,4096,64716],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"HK-LN-SOCKET-EU-5","manufacturerName":"Sunricher","powerSource":1,"zclVersion":3,"appVersion":0,"stackVersion":0,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r7"}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x9035eafffec07f69","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"2":{"profId":260,"epId":2,"devId":266,"inClusterList":[0,3,4,5,6,2821,4096,64716],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"modelId":"HK-LN-SOCKET-EU-5","manufacturerName":"Sunricher","powerSource":1,"zclVersion":3,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r7"}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x9035eafffec07f69","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"3":{"profId":260,"epId":3,"devId":266,"inClusterList":[0,3,4,5,6,2821,4096,64716],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"modelId":"HK-LN-SOCKET-EU-5","manufacturerName":"Sunricher","powerSource":1,"zclVersion":3,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r7"}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x9035eafffec07f69","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"4":{"profId":260,"epId":4,"devId":266,"inClusterList":[0,3,4,5,6,2821,4096,64716],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"modelId":"HK-LN-SOCKET-EU-5","manufacturerName":"Sunricher","powerSource":1,"zclVersion":3,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r7"}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x9035eafffec07f69","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"5":{"profId":260,"epId":5,"devId":266,"inClusterList":[0,3,4,5,6,2821,4096,64716],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"modelId":"HK-LN-SOCKET-EU-5","manufacturerName":"Sunricher","powerSource":1,"zclVersion":3,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r7"}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x9035eafffec07f69","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":102,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":0,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r7","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1738629995063}

Zigbee2MQTT version

2.1.0

Comments

Seems that there is a (newer ?) Version with the same name for https://www.zigbee2mqtt.io/devices/9134.html#led-trading-9134

External definition

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

const definition = {
    zigbeeModel: ['HK-LN-SOCKET-EU-5'],
    model: 'HK-LN-SOCKET-EU-5',
    vendor: 'Sunricher',
    description: 'Automatically generated definition',
    extend: [m.deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4,"5":5}}), m.onOff({"powerOnBehavior":false,"endpointNames":["1","2","3","4","5"]})],
    meta: {"multiEndpoint":true},
};

module.exports = definition;

What does/doesn't work with the external definition?

All Endpoints are working (1-4: Sockets, 5: USB)

@mkar1984 mkar1984 added the new device support New device support request label Feb 4, 2025
@Koenkk
Copy link
Owner

Koenkk commented Feb 4, 2025

Added!

Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.

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

No branches or pull requests

2 participants