Well .. Like always I seem to have a problem LOL
I got this on amazon .. and it kinda works ..
I am using the Generic Zigbee Multi-Endpoint Switch
But it switches BOTH at the same time not one
ep01 and ep02 < work .. but activate both relays. ( see Pic )
Have you tried pressing the mode button on the device? There are several modes that control how the relays operate. Itโs the button farthest from the relays.
This is a well-known Tuya switches 'effect' when not used with their own Zigbee hub.
It is fixed by casting a magic spell toward the enchanted Tuys devices during the initial pairing, from this point on the device should be back to normal.
Install the Zemismart custom driver - I have added your new device fingerprint in version 0.7.1
Delete the currently paired device from HE (use the red 'REMOVE DEVICE' button).
Pair the MHCOZY relay board again to the HE hub. The Zemismart driver must be automatically selected during the pairing!
Confirm the relays are controlled individually from the child devices.
You can continue using this driver, or you can go back to the HE stock driver, it should be working OK as well.
Dude, you're a rock star.
Without you on this form, it would fall apart. and nothing would ever get done. LOL.
You're fixed worked perfectly and now everything is awesome.!
Thank you so much for taking the time to look into this. It's gonna be very cool for my garage doors to be able to open and close What I want them to. Thanks again. You rock!
I am wondering if the preferences set in the command area are supposed to be retained? I am specifically looking at power on state. I assume this means that if there is a power failure when the device is depowered that it will go to the state selected there. I can select "OFF" but when I save the preferences it resets it to "select" and does not behave as expected.
Is there something else I need to do to get that preference to stick?
UPDATE: the preferences while not reflected in the selection window do now seem to be sticking. I follow this process to get it to stick
Select the desired state: OFF
Press the Power On State button
Save preferences.
That seems to save the preference when saving them alone did not work.
I have a use case where I really really really need the mode setting to persist flawlessly. I need the interlock mode (one side on when the other goes off, etc) for an actuator switching polarities.
I suspect it is going to go back to default during a power failure but otherwise I hope there's no glitch that might disrupt how I physically set the mode. I guess this is not software controllable.
WarlockWeary, how did you pair the second relay? Mine is made by a different company, but functionally similar so I was hoping to use the same driver, however both relays work at the same time no mater what I do.
I have used this driver, but it is not finding the second switch no matter which one I pair first, I always can only pair one device. While pairing the second device, the first one shows up one the pairing screen along with a button to hide previously paired switches.
Update: I Managed to get this working like everyone else. Thanks kkossev!
Note: On my device, Changing the type on the child devices caused it not to work. I kept the defaulted Generic Component Switch type and they worked independently as expected.
Some Tuya devices require to be paired with the custom driver, so that they are 'unlocked' to work with a hub different than Tuya's. Once they pair and are configured properly (this configuration is effective only during a very short time period after the pairing), you can switch back to the HE inbuilt switch drivers, and the device will work properly.