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

Cause of unreachable devices while scanning #14

Closed
rvangundy opened this issue Dec 26, 2020 · 1 comment
Closed

Cause of unreachable devices while scanning #14

rvangundy opened this issue Dec 26, 2020 · 1 comment

Comments

@rvangundy
Copy link

I have about 20 dimmable tuya lights on a 2.4 Ghz network. I am attempting to control these using the localtuya project and Home Assistant, but I wanted to start here as I think I can determine my problem within tinytuya alone.

A couple observations:

  • All 20 of my lights are controllable using the Tuya app via Tuya cloud as the manufacturer intended
  • Immediately after configuring my lights in the Tuya app, they all appeared successfully when running python3 -m tinytuya scan
  • When I configure and begin communicating with the lights using localtuya and hass.io, most of the lights respond. These lights no longer appear when running python3 -m tinytuya scan
  • A handful of lights never respond via localtuya running on a hass.io machine, and these lights do respond when running python3 -m tinytuya scan

So there seems to be something mutually exclusive where lights controlled by localtuya can't be reached by tinytuya, and lights that can be reached by tintuya cannot be controlled by localtuya. All devices can be controlled from tuya cloud.

Note that I am putting all my devices on a common 2.4ghz network that I am connected to from my macbook, etc. when running scans. I can see all the devices assigned to respective static IPs on the network.

Any ideas?

@rvangundy
Copy link
Author

I'm experiencing the same issue as other folks which is covered here rospogrigio/localtuya#223

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