rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.87k stars 551 forks source link

localtuya on 2 different homeassistant servers? #553

Open Yonny24 opened 3 years ago

Yonny24 commented 3 years ago

Hi.

I successfully installed localtuya on one of my HA servers.

Now I am trying to install it on a 2nd. Using the same API keys. I get to the stage where I input a device id to retrieve the local keys.

But it keeps saying 'there was an issue fetching that device. make sure your account is lined and the ID is correct'

Triple checked all keys and links - Don't see anything wrong.

Can it actually be installed on 2 HA servers or is there a limitation?

Thanks

AdmiralStipe commented 3 years ago

As far as I know some plugs only allow one local connection of the same type, so two simoultaneous localtuya instances most likely won't work on them.

kimmilde commented 3 years ago

you could use remote_homeassistant custom integrations to fetch your data(tuya devices) from your other HA instance