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 can I control Tuya BLE devices using Arduino instead of ha_tuya_ble? #138

Open
mrSilkie opened this issue Sep 17, 2024 · 0 comments
Open

Comments

@mrSilkie
Copy link

Hi there, I have been stuck on this problem for a while.

The tuya water valves for typical garden hoses are exceptional value but can't be controlled with arduino. I have sniffed the tuya app to device ble communications and they are definitely encrypted. This is pretty sad if you intend to use the project as a means of watering your garden.

This project is the closest as it actually uses your local device to talk with the device. The workflow has the pi grab the local key and from that point on it communicates with the device. LocalTuya works on TCP and it stores the local key to allow for it to communicate with wifi devices without tuya involved.

Does this mean that if an Arduino contains the local key, and uses code similar to whats in this project, that it could pair to the device and start to toggle the device on and off? Are the local keys valid forever?

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

1 participant