Driver for 2 gang switch

Hi,

I am using the following switch with a dry contact relay from a company named Novato.
It works with the built-in Generic Zigbee Switch driver.

Now I need a 2 gang switch and I can quickly get the following device from the same company. Is there a suitable driver which willl handle it as a 2 separate switch ?

I know they are not the same device internally (one is a dry contact relay , the other one is an in-line switch) but I am interested in the zigbee on/off part.
I need a driver which will have 2 separate on/off commanding feature.

I see a "generic zigbee multi-endpoint switch" driver. Would that work ?

It should, be sure to click configure after changing the driver.

1 Like

@mike.maxwell
I just installed the switch and configured.
It created 2 child devices. EP01 , EP02
But there is a problem:
When I turn on/off EP01 , also EP02 turns on/off
When I turn on/off EP02 , also EP01 turns on/off
If I use the physical switches connected to S1 and S2 , they turn on/off the individual EP
When I switch S1 , it toggles EP01. EP02 stays intact.
When I switch S2 , it toggles EP02. EP01 stays intact.

So this doesn't seem like a cable connection problem but a driver problem.
Is this behaviour configurable ?
Or is there another driver that I could try ?

can you enable debug logging in the driver, then try the following in this order:
turn on and off EP1 from the driver
turn on and off EP2 from the driver
turn on and off S1 from the switch
turn on and off S2 from the switch
post the logs

from main driver:

dev:732024-10-18 19:32:00.011infoPatio Lights was turned off
dev:732024-10-18 19:31:57.483infoPatio Lights was turned on
dev:732024-10-18 19:31:56.009infoPatio Lights was turned off
dev:732024-10-18 19:31:54.054infoPatio Lights was turned on
dev:732024-10-18 19:31:39.355infoPatio Lights was turned off
dev:732024-10-18 19:31:36.546infoPatio Lights was turned on
dev:732024-10-18 19:31:36.544infoPatio Lights was turned on
dev:732024-10-18 19:31:32.152infoPatio Lights was turned off
dev:732024-10-18 19:31:28.687infoPatio Lights was turned on

from EP1:

dev:742024-10-18 19:31:55.992infoDoor Light was turned off
dev:742024-10-18 19:31:54.050infoDoor Light was turned on
dev:742024-10-18 19:31:39.324infoDoor Light was turned off
dev:742024-10-18 19:31:36.538infoDoor Light was turned on
dev:742024-10-18 19:31:31.706infoDoor Light was turned off
dev:742024-10-18 19:31:31.697infoDoor Light was turned off
dev:742024-10-18 19:31:31.550debugoff()
dev:742024-10-18 19:31:28.676infoDoor Light was turned on
dev:742024-10-18 19:31:28.671infoDoor Light was turned on
dev:742024-10-18 19:31:28.449debugon()

from EP2:

dev:752024-10-18 19:31:59.998infoPatio Light was turned off
dev:752024-10-18 19:31:57.472infoPatio Light was turned on
dev:752024-10-18 19:31:39.291infoPatio Light was turned off
dev:752024-10-18 19:31:39.144debugoff()
dev:752024-10-18 19:31:36.541infoPatio Light was turned on
dev:752024-10-18 19:31:36.246debugon()
dev:752024-10-18 19:31:32.140infoPatio Light was turned off
dev:752024-10-18 19:31:29.097infoPatio Light was turned on

I need debug logging on the parent device, not the EP children, thanks

ok. the first part is the log from parent device.

from main driver:

dev:732024-10-18 19:32:00.011infoPatio Lights was turned off
dev:732024-10-18 19:31:57.483infoPatio Lights was turned on
dev:732024-10-18 19:31:56.009infoPatio Lights was turned off
dev:732024-10-18 19:31:54.054infoPatio Lights was turned on
dev:732024-10-18 19:31:39.355infoPatio Lights was turned off
dev:732024-10-18 19:31:36.546infoPatio Lights was turned on
dev:732024-10-18 19:31:36.544infoPatio Lights was turned on
dev:732024-10-18 19:31:32.152infoPatio Lights was turned off
dev:732024-10-18 19:31:28.687infoPatio Lights was turned on

I need debug logging enabled in the parent, then do the testing sequence again.

ok. this is already debug logging enabled in the parent.
there's nothing else.
What am I missing ?

this is already debug logging enabled in the parent.
what else can I do to get the correct logs that you need ?

@mike.maxwell

what can I do ?
can I find the source code for this driver ? maybe I could have a look and see what's happening...

@ilkeraktuna this is a non-standard Tuya device...

Simply use a Tuya community driver.

1 Like

ok. installed the driver. Should I delete the childs from default driver ?
shall I make an initialize to create new child devices ?

Yes, better delete the device (use the REMOVE DEVICE red button), this will delete all the child devices too.

But first, we need to know how is your device identified in Hubitat - use the HE inbuilt 'Device' driver to obtain the device fingerprint. Click on the Get Info button, then select/copy and paste here as text the fingerprint from the live logs.

1 Like

I just changed the device type and "initialized"
it works fine.

1 Like
  • endpointId: 01
  • application: 44
  • inClusters: 0003,0004,0005,0006,E000,E001,0000
  • isMultiEP: true
  • manufacturer: _TZ3000_nik4i1qg
  • model: TS0012
  • outClusters: 0019,000A
  • softwareBuild:

Did it work with the child devices already created by the stock driver, and without pairing it for a second time? The two gangs are controlled individually now?

yes all works fine without pairing again

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.