AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
196 stars 50 forks source link

SMATRUL Tuya WiFi Breaker compatibility with Tuya-LAN Plugin #277

Open tzeyong123 opened 1 year ago

tzeyong123 commented 1 year ago

I bought this 2 gang breaker (link: https://s.lazada.com.my/s.4SNRa) recently and tried to use it locally but wasn't able to get it to work. I've tried setting it up as MultiOutlet, CustomMultiOutlet, Outlet but none of them seems to work.

Tried adding "ip": "xxx.xxx.xxx.xxx", saw device_name connected and followed by device_name disconnected immediately.

Managed to obtain local_key and device_id through tuya-cli wizard, only one device available so pretty sure the details are correct.

Tried using homebridge-tuya platform plugin and it worked but looking forward to control the devices locally.

Found out through Tuya IoT Platform the device type is: tdq, unsure what does that mean exactly.