OzturkAlperen / homebridge-tuya-switch

homebridge-tuya-switch is a homebridge plugin that lets you control your Tuya based switch devices with HomeKit.
MIT License
10 stars 4 forks source link

homebridge-tuya-switch and homebridge-tuya #3

Closed Cerg1102 closed 3 years ago

Cerg1102 commented 3 years ago

I have several smart plugs and smart swiches and try to install homebridge-tuya-switch together with homebridge-tuya, to get wortking all, but is not possible, I get this error in homebridge log:

[4/17/2021, 8:00:28 PM] The requested platform 'TuyaLan' has been registered multiple times. Please be more specific by writing one of: homebridge-tuya.TuyaLan, homebridge-tuya-switch.TuyaLan

Any solution,

Regards,

OzturkAlperen commented 3 years ago

Sorry, you can’t use these two plugins at the same time.

However as far as i know @iRayanKhan has implemented the functionality of this plugin to his plugin. At least i know that he merged my pull request. Try to use his plugin for switches the same way you use this plugin. If it doesn’t work. Go ahead and open an issue there.

Hope this helps.

iRayanKhan commented 3 years ago

Thought I added it in, I must have merged into the wrong branch.

I'll have it added Friday. Thanks!

iRayanKhan commented 3 years ago

I see it in the plugin, under lib/switchAccessory.js, is it not working for you?

Make sure you're on 2.0.1

Cerg1102 commented 3 years ago

I see it in the plugin, under lib/switchAccessory.js, is it not working for you?

Make sure you're on 2.0.1

Not is not working!

Captura de pantalla 2021-04-22 a las 20 20 59

Yes I have 2.0.1 version

Captura de pantalla 2021-04-22 a las 20 23 39
Cerg1102 commented 3 years ago

any news about!

iRayanKhan commented 3 years ago

It exists in the plugin, I just have to update the schema. Please wait for the next update :)

Cerg1102 commented 3 years ago

Perfect! Thanks a lot! :-)