AMoo-Miki / homebridge-tuya-lan

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

Found device on tuya-cli list-app but homebridge failed to discover 3 gangs switch #48

Closed haepiyang closed 5 years ago

haepiyang commented 5 years ago

As the title said, I had used tuya-cli to get the id and key of my devices then add the config. My previous tuya smart breaker work well without any problem and it's still working now. I've just bought a 3 gangs wall switch form Aliexpress and do the samething but homebridge can not discover it. I've tried SimpleLight, MultiOutlet or CustomMultiOutlet and neither of them work.

Link to device: https://aliexpress.com/item/Tuya-Smart-home-WiFi-Touch-Schalter-Drahtlose-Wand-Touch-Telefon-APP-control-UNS-typ-1-2/32980592592.html

AMoo-Miki commented 5 years ago

Can you please define it as a SimpleLight and post some logs?

Please use the latest stable release (currently v1.4.0) or, even better, the rc by doing npm i -g homebridge-tuya-lan@rc. The latter includes logic to understand this newer API.

haepiyang commented 5 years ago

Yeah I've updated to rc and it's working now. Thank you very much!

AMoo-Miki commented 5 years ago

That is great news. Best of luck.