Skip to content

v1.6.6 - Updated Payload Dictionary and Command List

Compare
Choose a tag to compare
@jasonacox jasonacox released this 16 Aug 03:10
· 490 commits to master since this release

What's Changed

  • PyPI 1.6.6
  • Added support for 3.2 protocol Tuya devices
  • Added SocketDevice by @Felix-Pi in #167
  • Skip DPS detection for 3.2 protocol devices if it has already been set by @pawel-szopinski in #169
# Example usage of community contributed device modules
from tinytuya.Contrib import SocketDevice

socket = SocketDevice('abcdefghijklmnop123456', '172.28.321.475', '1234567890123abc', version=3.3)

print(socket.get_energy_consumption())
print(socket.get_state())

New Contributors

Full Changelog: v1.6.5...v1.6.6