Tuyapower Versions Save

Python module to read status and energy monitoring data from Tuya based WiFi smart devices. This includes state (on/off), current (mA), voltage (V), and power (wattage).

v0.2.0

1 year ago
  • PyPI 0.2.0
  • Add support for Tuya protocols 3.2, 3.4 and 3.5 devices

Full Changelog: https://github.com/jasonacox/tuyapower/compare/v0.1.0...v0.2.0

v0.1.0

2 years ago

v0.1.0

Full Changelog: https://github.com/jasonacox/tuyapower/compare/v0.0.25...v0.1.0

v0.0.25

3 years ago
  • Bug fix in deviceRaw() not honoring timeout settings
  • Set sw response variable to False as default

v0.0.24

3 years ago

Release Updates:

  • deviceInfo() - Added better error handling for devices without expect outlet/power data in their dps response.
  • deviceRaw() - Added new function to return raw device data response.
  • test.py & plugpower.py - Updated to add device raw data to output.

v0.0.23

3 years ago

Added support to use tinytuya, replacing pytuya:

  • Adds support for Device IDs that are 22 characters long (pytuya only supports 20)
  • Removed misleading productKey (product SKU identity, not local Key) from scan() output
  • Attempts to import tinytuya but falls back to pytuya if unavailable

v0.0.21

3 years ago
  • Added option to allow users to specify maximum retries for scan functions:
# specify 50 retries via command line
python3 -m tuyapower 50
# invoke verbose interactive scan
tuyapower.scan(50)

# return payload of devices
devices = tuyapower.deviceScan(false, 50)