-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
MKS-CM-W5 by tuya work only one way #1542
Comments
Can you change the entry in {
zigbeeModel: ['qnazj70'],
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_nkjintbl'}],
model: 'TS0601_switch',
vendor: 'TuYa',
description: '1, 2, 3 or 4 gang switch',
supports: 'on/off',
fromZigbee: [fz.tuya_switch, fz.ignore_basic_report, fz.tuya_switch2],
toZigbee: [tz.tuya_switch_state],
meta: {configureKey: 1, multiEndpoint: true},
whiteLabel: [
{vendor: 'Norklmes', model: 'MKS-CM-W5'},
{vendor: 'Somgoms', model: 'ZSQB-SMB-ZB'},
],
configure: async (device, coordinatorEndpoint) => {
await bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
await bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
},
endpoint: (device) => {
// Endpoint selection is made in tuya_switch_state
return {'l1': 1, 'l2': 1, 'l3': 1, 'l4': 1};
},
}, See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to modify devices.js |
Hi, I checked devices.js with added binded endpoint, now it works on all TS0601 switches without anny issues. |
Thanks, implemented. Changes will be available in the latest dev branch tomorrow (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
I have a similar problem... Device description {'dateCode': '', 'description': '1, 2, 3 or 4 gang switch', 'friendly_name': '0x842e14fffe13d502', 'hardwareVersion': 1, 'ieeeAddr': '0x842e14fffe13d502', 'lastSeen': 1600632592497, 'manufacturerID': 4098, 'manufacturerName': '_TZE200_oisqyl4o', 'model': 'TS0601_switch', 'modelID': 'TS0601', 'networkAddress': 54693, 'powerSource': 'Mains (single phase)', 'type': 'Router', 'vendor': 'TuYa'}], 'type': 'devices'} but no devices are added. MQTT messages from device
|
You need to add new manufacturer name to related device in devices.js |
I did it before writing
|
@Waldi81 check your log, you need to create a ticket:
I will update the |
OK |
I have this product: https://www.houseiq.pl/pl/p/Przelacznik-2-kanaly-ZigBee-3.0-Bialy-TUYA-seria-EM/914 (2 gang)
On Zigbee2MQTT its working at MKS-CM-W5:

Only 2 channels is active, photo is this: https://www.zigbee2mqtt.io/images/devices/MKS-CM-W5.jpg
And work great but only in HA, when I push the physical button, the HA don't show this. On Zigbee2MQTT log dont show any action of that (log is empty), only when I set MQTT:
Where find solution for this problem?
The text was updated successfully, but these errors were encountered: