tuyapi icon indicating copy to clipboard operation
tuyapi copied to clipboard

Zigbee smart plug

Open matodi423 opened this issue 2 years ago • 1 comments

Hi, I just started few weeks ago with homebridge. So I just tried to connect a smart plug working with Zigbee working with a zigbee bridge. The plug was added too homebridge but when I click on the bulb nothing happen.

My question was. Can I add a smart plug on Zigbee or only Wi-Fi accessories can be added with LAN Tuya ?

Thanks, sorry for my bad english :)

matodi423 avatar Nov 01 '22 12:11 matodi423

Hi, you could try to query the Zigbee smart plug DPS by creating a TuyAPI object for the Zigbee gateway and passing the cid property to the options parameter of TuyAPI.get(), where the cid would be the device ID for the Zigbee smart plug.

kardoka avatar Nov 21 '22 08:11 kardoka