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

3.7.0 #84

Open
wants to merge 3 commits into
base: 3.7.0
Choose a base branch
from
Open

3.7.0 #84

wants to merge 3 commits into from

Conversation

alexualbu
Copy link

Fix subdevice control for protocol versions 3.4 (and above) as well as 3.3 (and below?). 3.3 Fix needs a better solution - more research needed to understand why (and if it works) without this hack in tinytuya or other localtuya forks.

This should fix #81 #80 #77 #70

Technical changes:

  • remove gwId, devId, uid from payload for subdevices (devId causes the device to ignore the command, but removing all)
  • add cid to data field in payload and ensure it's not lost when adding the actual dps data

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

Successfully merging this pull request may close these issues.

1 participant