zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: RTX ZDM1LN-MR: switch type setting has no effect with rocker switches

Open migsun opened this issue 1 month ago • 1 comments

Link

https://botland.store/tuya-home-automation/17448-zigbee-light-driver-rtx-zdm1ln-mr-tuya-zig-dm-5903794121331.html

Database entry

{"id":71,"type":"Router","ieeeAddr":"0xa4c138fe1c83ad08","nwkAddr":49955,"manufId":4417,"manufName":"_TZ3210_ngqk6jia","powerSource":"Mains (single phase)","modelId":"TS110E","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":257,"inClusterList":[3,5,4,6,8,57345,4096,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"��p2\u0012\u001d\u0000\u0000\u0000\u0012","65506":54,"65508":0,"65534":0,"dateCode":"","manufacturerName":"_TZ3210_ngqk6jia","zclVersion":3,"appVersion":70,"modelId":"TS110E","powerSorce":1}},"genOnOff":{"attributes":{"61440":0,"onOff":1,"moesStartUpOnOff":0}},"genLevelCtrl":{"attributes":{"61440":373,"64514":2,"64515":185,"64516":744}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c2aa77","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c2aa77","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":3600,"repChange":0}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":70,"stackVersion":0,"hwVersion":1,"dateCode":"","swBuildId":"1.0.6","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCuESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1792948950091}

Zigbee2MQTT version

2.14.2

External definition

import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    zigbeeModel: ['TS110E'],
    model: 'TS110E',
    vendor: '_TZ3210_ngqk6jia',
    description: 'Automatically generated definition',
    extend: [m.identify(), m.light()],
};

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

I am using a dimmer module identified as RTX ZDM1LN-MR, which is currently recognized by Zigbee2MQTT as a Lonsonho QS-Zigbee-D02-TRIAC-LN_1 (Firmware ID 1.0.6).

Lonsonho devices supported by Zigbee2MQTT

QS-Zigbee-D02-TRIAC-LN_1 device documentation

Although the device is identified under a different manufacturer and model, almost all dimmer functions work as expected. However, there is one issue that currently prevents me from using the module with my existing wall switches.

The switch type setting should allow the module to work correctly with different types of external switches.

When using a rocker switch (maintained switch), I expect the light to follow the physical switch position:

When mains voltage is applied to input S1, the light should turn on.

When mains voltage is removed from input S1, the light should turn off.

In other words, the light state should follow the actual state of the switch, rather than toggling with every change of the input signal.

The switch type setting offers the following options: toggle, state, momentary

However, changing this setting has no observable effect on the behavior of the module.

Regardless of the selected option, the module only responds to short switching impulses by toggling the light on or off. With a maintained rocker switch, this means that the light cannot be reliably switched on and off according to the physical switch position.

As a result, the module is currently unusable with my existing rocker switches.

I suspect that this could be a firmware issue, or that the switch type configuration is not being applied correctly to this particular device variant.

Since the module is recognized as a Lonsonho QS-Zigbee-D02-TRIAC-LN_1, it is also possible that the device has different firmware behavior despite sharing the same or a similar Zigbee implementation.

I am not sure whether this can be addressed in the Zigbee2MQTT converter or whether it requires a firmware change.

Is the switch type setting expected to work with the RTX ZDM1LN-MR?

Could the device identification or converter configuration be responsible for this behavior?

Is there a way to configure the module so that the light follows the state of a maintained rocker switch, with S1 active meaning ON and S1 inactive meaning OFF?

Any guidance on diagnosing this issue or implementing the expected behavior would be appreciated.

Notes

No response

migsun avatar Oct 26 '26 09:10 migsun

👋 Hi there! This issue appears to be a duplicate of #27033, #18349, #11853, #9878, #8575, #8834

This issue will be closed. Please follow the existing issue for updates.

github-actions[bot] avatar Oct 26 '26 09:10 github-actions[bot]