localtuya icon indicating copy to clipboard operation
localtuya copied to clipboard

3.7.0

Open alexualbu opened this issue 1 year ago • 0 comments

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

alexualbu avatar Dec 27 '23 12:12 alexualbu