Tuya / eWeLink Zigbee PC Power Switch [ZHA]

Hi,

I’m considering buying this PC power switch card with Zigbee support.
I guess it’s pretty new as there’s nothing about ZHA support, just some people who use it with MQTT. Is there anyone here who has this card or a similar one and can confirm it’s possible to use it with ZHA?

https://de.aliexpress.com/item/1005006090821609.html

Thanks :slight_smile:

Is there any reason a WoL switch wont do?

Yes, WOL is not option for my usecase.

Why not?

Because its an Server that will be online on demand. And some applications that tries to reach this server would wake it up even if you not want to. (for example when the application is just launchend in background)
So i disabled WOL and switched to an eWelink wifi PCI Card, but now want to switch to the zigbee version to get rid of the cloud.

I have one. I can pair it with ZHA but the device is recognized as a light bulb…

It seems to work with zigbee2mqtt (didnt test)

1 Like

I have bought one too and realised just in this moment the same issue :smiley:
Do you still use the card even if its detected as an lightbulb?

You can change it to a switch

in configuration.yaml

zha:
  device_config:
    00:12:4b:00:22:ed:55:37-1:    
      type: "switch"              
    00:12:4b:00:22:ed:55:37-2:    
      type: "switch"`

ah, i see. i guess i have to check if the card is proper working until i only need on and off function…big question if its correctly recognize the state of the pc and set the switch properly. we will see.

if not, i need to setup a second network and work in mqtt or i write a custom quirk. (got python experience but never wrote a quik by myself, maybe the is something like a guide?)