question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Support For Aqara Smart Scene Panel Switch S1 (Model: ZNCJMB14LM Zigbee ID: lumi.switch.n4anc4)

See original GitHub issue

New zigbee controlled triple relay / smart scene screen from Aqara.

Device entry on Blackadder can be found here: Blackadder

Reverse engineering of endpoints can be found here: Deconz

I have one of these devices now, so happy to capture whatever is needed to develop a converter for this device. Due to its complication, this is a little bit too advanced for me to get my head around.

Database.db entry: {"id":2,"type":"Router","ieeeAddr":"0x04cf8cdf3c88d48a","nwkAddr":14342,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.switch.n4acn4","epList":[1,2,242,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[0,2,3,4,5,6],"outClusterList":[10,25],"clusters":{"genBasic":{"attributes":{"modelId":"lumi.switch.n4acn4","manufacturerName":"LUMI","powerSource":1,"zclVersion":3,"appVersion":26,"stackVersion":2,"hwVersion":1,"dateCode":"06-18-2020"}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[0,3,4,5,6],"outClusterList":[],"clusters":{"genBasic":{"attributes":{}}},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[0,3,4,5,6],"outClusterList":[],"clusters":{"genBasic":{"attributes":{}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":26,"stackVersion":2,"hwVersion":1,"dateCode":"06-18-2020","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1619433552334}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
danieledwardgeorgehitchcockcommented, May 10, 2021

@Koenkk thanks for the merge, and all of your help with this!

I will document up the features tomorrow!

1reaction
Koenkkcommented, May 4, 2021

Can you try with:

} else if (key === 'switch_1_text_icon') {
    const lookup = {'1': 1, '2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9, '10': 10, '11': 11};
    let payload = [];
    if (value.hasOwnProperty('icon')) {
        payload.push(lookup[value.icon]);
    } else {
        payload.push(1);
    }
    if (value.hasOwnProperty('text')) {
        payload.push(...value.text.split('').map(c => c.charCodeAt(0)));
    } else {
        payload.push(...''.text.split('').map(c => c.charCodeAt(0)));
    }
    await entity.write('aqaraOpple', {0x0223: {value: payload, type: 0x41}}, {manufacturerCode: 0x115f});
    return {state: {switch_1_text_icon: payload}};
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Aqara Smart Scene Panel Switch S1 ZNCJMB14LM ...
Pairing Instructions. Press and hold the button on the device until the blue light starts blinking, release it and the pairing should begin....
Read more >
2022 New Aqara Smart Scene Panel Switch S1 Zigbee 3.0 ...
This smart scene panel switch can control your device in any place, ... Zigbee 3.0 IPS Color Touch Screen Smart home APP Siri...
Read more >
Aqara Smart Scene Panel Switch S1 - YouTube
Aqara S1 Smart Scene Panel Switch ZNCJMB14LM ( Aqara 智能 场景 面板 开关 S1 ) - touch panel with 3.95 "color screen for...
Read more >
Xiaomi Aqara Smart Scene Panel Switch S1. - YouTube
Xiaomi Aqara Smart Scene Panel Switch S1, pirce, specs.Original Xiaomi Aqara Smart Scene Panel Switch S1 Buy here ...
Read more >
zigbee-shepherd-converters - Bountysource
Collection of device converters to be used with zigbee-shepherd ... Add Support For Aqara Smart Scene Panel Switch S1 (Model: ZNCJMB14LM Zigbee ID: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found