ZHA with TS0044 4-way switch

I have a Tuya 4 way switch, model TS0044, which I can connect to ZHA via my Sonoff Zigbee Bridge, but it doesn’t automatically add all the buttons. It looks like they’re there under clusters, but I don’t really know my way around. Can anyone help me get started please?

5 Likes

I’ll reply to myself in case it’s useful for anyone else.

This was the first time I’d used a Zigbee switch and didn’t realise that it simply shows up as a device in the automation section, whereupon you can easily create actions that are triggered by it. Nothing to do with clusters at all!

2 Likes

How have you got on with this please? I bought one and added the device, but it shows 4 switches and these don’t change state when pressed. I would have also thought they should show as binary sensors rather than switches.

Cheers

It’s working fine for me. I’m not using State for triggers. Here’s a screenshot.

Cheers.

I’m still only seeing switch on / off or battery level.

I’m using ZHA. Are you using zigbee to mqtt?

Cheers

Yes. I’m using the ZHA integration. Screenshot below. I’m using a Sonoff Zigbee Bridge flashed with Tasmota for hardware. Perhaps try removing it and adding it again?

Thanks, done all that a few times with no change.

If you have time could you post your code from the device signature link, be interesting to compare it with mine.

Thanks again

Sure. I’m on mobile so it’ll have to be screenshots.

Hi, have you managed to solve the problem with your switch?
I have the exact same problem you mentioned with mine.

Thanks in advance :slight_smile:

1 Like

Yes. Just kept removing and re adding. It took about 30 tries. Once you getting only showing a battery level sensor you’ve cracked it. See pictures of entities and when you create an automation you get all the button options even though you still only have the battery as an entity.

1 Like

Thanks for the reply!
I found out my problem was probably using Home Assistant on a VM. My conbee2-stick didn’t generate complete cluster infos of the device.
Therefore zigpy could not match the device to an appropriate quirk -> custom/not standard zigbee functions were not available.

My solution:
Don’t use a VM.
Installed HA on Debian and now the switches are recognized correctly while adding them to ZHA.
The quirk that should be used here is this:
zhaquirks.tuya.ts0044.ZemiSmartRemote0044
If one could match a quirk manually the switch should work on a VM with conbee2-stick, too. But I didn’t find that option.

Interesting. I use a virtual machine without any issues but I use a Sonoff Zigbee Bridge rather than a USB stick.