Skip to content

Releases: mihai-dinculescu/tapo

Tapo v0.8.0

07 Dec 14:21
27547aa
Compare
Choose a tag to compare

This marks the first unified release of the Rust and Python libraries. Moving forward, both libraries will be released simultaneously and will share the same version number.

Rust

Added

  • Added an example for the L900 light strips.

Changed

  • LightingEffect's fadeoff field has been renamed to fade_off, and its with_fadeoff method has been renamed to with_fade_off.
  • LightingEffect's new_with_random_id function has been removed. The new function now creates a LightingEffect instance with a random ID by default.

Python

Added

  • Added support for the L900 light strips.
  • Added support for the L920 and L930 light strips.
  • Added support for Python 3.13.

Tapo Python v0.7.0

07 Nov 21:00
73bd223
Compare
Choose a tag to compare

Added

  • Added support for the KE100 thermostatic radiator valve (TRV).

Tapo Rust v.0.7.17

23 Oct 20:49
db09765
Compare
Choose a tag to compare

Added

  • Added support for the P304 power strip.

Changed

  • The openssl dependency has been replaced with native Rust alternatives to expand cross-compilation options, such as for Android, and to decrease build times (thanks to @rbock44).
  • PlugPowerStripHandler has been renamed to PowerStripPlugHandler to be consistent with the rest of the library.
  • PlugPowerStripResult has been renamed to PowerStripPlugResult to be consistent with the rest of the library.
  • The UsageByPeriodResult fields today, past7, and past30 have been updated to Option<u64> to handle cases where the API returns negative values, which will be represented as None.

Fixed

  • Updated all comments referencing Watts to confirm the correct units are specified.

Tapo Python v0.6.0

23 Oct 20:48
29e3674
Compare
Choose a tag to compare

Added

  • Added support for the P300 and P304 power strips.
  • Python logs can now capture entries from the underlying Rust library.

Changed

  • The openssl dependency has been replaced with native Rust alternatives to expand cross-compilation options, such as for Android, and to decrease build times (thanks to @rbock44).
  • The UsageByPeriodResult fields today, past7, and past30 have been updated to Optional[int] to handle cases where the API returns negative values, which will be represented as null.

Fixed

  • Updated all comments referencing Watts to confirm the correct units are specified.

Tapo Rust v.0.7.16

27 Sep 21:14
47054e6
Compare
Choose a tag to compare

Added

  • Added support for the L535 light bulbs.

Fixed

  • Fixed an issue that prevented the color from being set properly for the L535 light bulbs.

Tapo Python v0.5.1

27 Sep 21:13
1c70dea
Compare
Choose a tag to compare

Added

  • Added support for the L535 light bulbs.

Fixed

  • Fixed an issue that prevented the color from being set properly for the L535 light bulbs.

Tapo Rust v.0.7.15

18 Sep 19:31
89ff179
Compare
Choose a tag to compare

Added

  • The LowBattery variant has been added to the S200BLog enum.

Changed

  • The t310 and t315 methods of HubHandler can now create T31XHandler handlers for either of the two device types.
  • The child device handlers for the H100 hub and the P300 power strip have been redesigned to eliminate the use of lifetimes, to facilitate FFI integrations.
  • The comments of start_timestamp and end_timestamp fields in EnergyDataResult have been updated to better describe their purpose.
  • S200BRotationParams's field degrees has been renamed to rotation_degrees.

Fixed

  • Fixed an issue with the Color presets that triggered a validation error when attempting to set the color to DarkRed.

Removed

  • The deprecated past24h, past7d, past30d and past1y fields have been removed from EnergyUsageResult. This data is now available exclusively through get_energy_data's EnergyDataResult response.

Tapo Python v0.5.0

18 Sep 19:30
4db3aab
Compare
Choose a tag to compare

Added

  • Added full support for the S200B switches through the S200BHandler handler.
  • Added full support for the T100 sensors through the T100Handler handler.
  • Added full support for the T110 sensors through the T110Handler handler.
  • Added full support for the T300 sensors through the T300Handler handler.
  • Added full support for the T310 and T315 sensors though the T31XHandler handler.

Changed

  • The comments of start_timestamp and end_timestamp fields in EnergyDataResult have been updated to better describe their purpose.

Fixed

  • Fixed an issue with the Color presets that triggered a validation error when attempting to set the color to DarkRed.

Tapo Rust v.0.7.14

31 Aug 18:11
4bcc3ec
Compare
Choose a tag to compare

Changed

  • DeviceInfoPlugEnergyMonitoringResult has been added to support the P110 and P115 devices, which have different responses compared to the P100 and P105 devices.

Fixed

  • DeviceInfoPlugResult has been updated to correctly support the P100 and P105 devices.

Tapo Python v0.4.0

31 Aug 18:09
91653fd
Compare
Choose a tag to compare

Changed

  • DeviceInfoPlugEnergyMonitoringResult has been added to support the P110 and P115 devices, which have different responses compared to the P100 and P105 devices.

Fixed

  • Resolved an issue that led to unrecoverable process hangs when a device request timed out.
  • The concurrency of device handlers has been significantly enhanced by replacing all Mutex instances with RwLock.
  • DeviceInfoPlugResult has been updated to correctly support the P100 and P105 devices.