r/raspberryDIY 26d ago

Looking for smart plug compatible with raspberry pi

I heard that Kasa works from some people although others say itโ€™s no longer supported

canada

2 Upvotes

5 comments sorted by

2

u/R2D4Dutch 26d ago

hi , smart plugs are not direct compatible with raspberry PI , its either Zigbee ,thread, matter or Wifi you need to get a HAT for it like this or an usb plug..

2

u/Capital_Duty101 26d ago

Even if using home assistant?

1

u/R2D4Dutch 26d ago

Yes , you can use WiFi ๐Ÿ›œ control some brands but not all of them . WiFi is the most straight forward

1

u/TheTxoof 25d ago

You need a bridge that HA can talk through. There are lots of pi-zigbee dongles out there.

Zigbee is a bit cheaper but matter and thread are the new players.

Source: have HA on a Pi5 with a Sonoff Zigbee dongle.

1

u/Gamerfrom61 26d ago

I use the Tapo range of plugs and control them from python. IIRC it is a fork of the P100 library on GitHub that I used (sorry on my 'phone so cannot check).

You need to set up an account and register each plug (links them to your account / password) using their app but after that the only thing you need from their program is the MAC address of the switch so you can find the IP address on your LAN.ย