Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install repository without removing localtuya #67

Open
zeduperes opened this issue May 22, 2023 · 3 comments
Open

How to install repository without removing localtuya #67

zeduperes opened this issue May 22, 2023 · 3 comments

Comments

@zeduperes
Copy link

How to install the repository (for testing purposes) without removing the local tuya main fork? Is any possibility to run more than one localtuya repository/version at the same time?

@caco3
Copy link

caco3 commented Jun 21, 2023

The easiest way might be to install HomeAssistant on a different PC just for testing.

@darth-aragoth
Copy link

Also interrested... I'd like to use this fork for controlling Zigbee / BT devices, which are not supported in main fork, and use main fork to control other devices like cover controllers (with time-based positioning), which are not supported in this fork (mentioned here #59).

@darth-aragoth
Copy link

darth-aragoth commented Aug 17, 2023

I managed to install this repository without removing main fork. I downloaded and replaced all 'localtuya' strings to 'localtuya2' (also 'Localtuya' to 'Localtuya2' and 'LocalTuya' to 'LocalTuya2') in all files inside 'custom_components' directory. Then I created 'localtuya2' in custom_components, after restarting I am able to use both integrations:
image

After adding some devices:
image

And finally I am able to use Zigbee devices (in localtuya2 integration) together with cover controllers (with time-based positioning, still not supported by this fork):
image

At the moment, I can't control the devices (e.g. turn off or on the sockets), but at least I can read parameters from temperature, humidity sensors, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants