Zemismart Zigbee DIY Name Switch #26431
Replies: 8 comments 2 replies
-
You beat me to it by 2 hours! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I dont have the Tuya hub so cant test - I'll just have to wait until, and
if someone can put into the device list
Sad Day for Light Switches, brilliant being able to name.
…On Wed, 19 Feb 2025 at 16:39, Hamish West ***@***.***> wrote:
You beat me to it by 2 hours!
Mine works perfectly *using a Tuya hub and app*. And it was on special
offer.
Model: ZMS-206xx
I simply want to control it with z2m.
—
Reply to this email directly, view it on GitHub
<#26431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMQ4PDF4WNR4TMBYQWSH3NT2QSXUVAVCNFSM6AAAAABXOACYNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRVGIZTMMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Carl, |
Beta Was this translation helpful? Give feedback.
-
Below is a simple external converter to try, it goes into const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const definition = { module.exports = definition; |
Beta Was this translation helpful? Give feedback.
-
Hi,
That's great thanks. I'll give it a go and let you no how I get on
Carl Garton
…On Sat, 22 Feb 2025, 16:20 Hamish West, ***@***.***> wrote:
Below is a simple external converter to try, it goes into
data/external_converters.
All 4 switches work, but no switch names, brightness level, nor icon.
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const modernExtend =
require('zigbee-herdsman-converters/lib/modernExtend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const definition = {
fingerprint: [
{
modelID: 'TS0601',
manufacturerName: '_TZE204_08qc13ct',
},
],
model: 'TS0601',
vendor: 'Tuya',
description: 'Zemismart DIY name 4-gang US',
exposes: [
tuya.exposes.switch().withEndpoint('l1'),
tuya.exposes.switch().withEndpoint('l2'),
tuya.exposes.switch().withEndpoint('l3'),
tuya.exposes.switch().withEndpoint('l4'),
],
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
meta: {
multiEndpoint: true,
tuyaDatapoints: [
[1, 'state_l1', tuya.valueConverter.onOff],
[2, 'state_l2', tuya.valueConverter.onOff],
[3, 'state_l3', tuya.valueConverter.onOff],
[4, 'state_l4', tuya.valueConverter.onOff],
],
},
endpoint: (device) => {
return { l1: 1, l2: 1, l3: 1, l4: 1 };
},
extend: [
// A preferred new way of extending functionality.
],
};
module.exports = definition;
—
Reply to this email directly, view it on GitHub
<#26431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMQ4PDGPTOV3OOUWG2MJFCD2RCPWVAVCNFSM6AAAAABXOACYNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRYGY4DMNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, Works perfectly. Thank you. Just need to sort out naming, might get a
cheap tuya zigbee hub, change the names then disconnect it from Tuya.
…On Sat, 22 Feb 2025 at 16:20, Hamish West ***@***.***> wrote:
Below is a simple external converter to try, it goes into
data/external_converters.
All 4 switches work, but no switch names, brightness level, nor icon.
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const modernExtend =
require('zigbee-herdsman-converters/lib/modernExtend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const definition = {
fingerprint: [
{
modelID: 'TS0601',
manufacturerName: '_TZE204_08qc13ct',
},
],
model: 'TS0601',
vendor: 'Tuya',
description: 'Zemismart DIY name 4-gang US',
exposes: [
tuya.exposes.switch().withEndpoint('l1'),
tuya.exposes.switch().withEndpoint('l2'),
tuya.exposes.switch().withEndpoint('l3'),
tuya.exposes.switch().withEndpoint('l4'),
],
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
meta: {
multiEndpoint: true,
tuyaDatapoints: [
[1, 'state_l1', tuya.valueConverter.onOff],
[2, 'state_l2', tuya.valueConverter.onOff],
[3, 'state_l3', tuya.valueConverter.onOff],
[4, 'state_l4', tuya.valueConverter.onOff],
],
},
endpoint: (device) => {
return { l1: 1, l2: 1, l3: 1, l4: 1 };
},
extend: [
// A preferred new way of extending functionality.
],
};
module.exports = definition;
—
Reply to this email directly, view it on GitHub
<#26431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMQ4PDGPTOV3OOUWG2MJFCD2RCPWVAVCNFSM6AAAAABXOACYNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRYGY4DMNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Carl, you are welcome. |
Beta Was this translation helpful? Give feedback.
-
Yes! |
Beta Was this translation helpful? Give feedback.
-
Hi All,
Anybody help getting this device into Home Assistance using Zigbee2MQTT. Just getting the unsupported messaged.
Cool switch with naming on each button, brought as a punt from Aliexpress
Zemismart Zigbee DIY Name Switch
Actual Device - https://www.aliexpress.com/item/1005008412388425.html
Beta Was this translation helpful? Give feedback.
All reactions