Skip to content

Releases: mihai-dinculescu/tapo

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.

Tapo Rust v.0.7.13

26 Aug 10:47
a9cdd06
Compare
Choose a tag to compare

Changed

  • To align with the latest API updates, the overheated field for plugs has been replaced by three enums: overcurrent_status, overheat_status, and power_protection_status (thanks to @padenot).

Tapo Python v0.3.2

26 Aug 10:47
e2da22f
Compare
Choose a tag to compare

Changed

  • To align with the latest API updates, the overheated field for plugs has been replaced by three enums: overcurrent_status, overheat_status, and power_protection_status.

Tapo Rust v.0.7.12

27 Jun 22:00
878d5a6
Compare
Choose a tag to compare

Changed

  • H100's create child device handler methods now take a HubDevice enum instead of a String and are now async to allow for more flexibility. This enables the caller to find child devices by either device ID or nickname.
  • PlugIdentifier has been renamed to Plug.
  • Plug::ByDeviceId now verifies that the provided device ID is found and returns an Error::DeviceNotFound error when it's not.
  • HubDevice variants now take a String instead of a &str to allow for more flexibility.
  • Plug variants now take a String instead of a &str to allow for more flexibility.

Fixed

  • ColorLightSetDeviceInfoParams hue field validation has been changed from between 1 and 360 to between 0 and 360 to match the device's expected range.
  • Fixed an issue where the EnergyDataResult's start_timestampandend_timestamp` did not correctly adjust for timezone offsets.
  • The chrono dependency has been updated to 0.4.34 to fix the minimum version requirement.

Removed

  • The overheated property has been removed from DeviceInfoGenericResult because it's not present in the response of all devices.

Tapo Python v0.3.1

27 Jun 21:59
cba5ba5
Compare
Choose a tag to compare

Fixed

  • ColorLightSetDeviceInfoParams hue field validation has been changed from between 1 and 360 to between 0 and 360 to match the device's expected range.
  • Fixed an issue where the EnergyDataResult's start_timestampandend_timestamp` did not correctly adjust for timezone offsets.
  • All handlers are now correctly exported and can be imported from the tapo module.

Removed

  • The overheated property has been removed from DeviceInfoGenericResult because it's not present in the response of all devices.