Releases: mihai-dinculescu/tapo
Releases · mihai-dinculescu/tapo
Tapo Rust v.0.7.16
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
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
Added
- The
LowBattery
variant has been added to theS200BLog
enum.
Changed
- The
t310
andt315
methods ofHubHandler
can now createT31XHandler
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
andend_timestamp
fields inEnergyDataResult
have been updated to better describe their purpose. S200BRotationParams
's fielddegrees
has been renamed torotation_degrees
.
Fixed
- Fixed an issue with the
Color
presets that triggered a validation error when attempting to set thecolor
toDarkRed
.
Removed
- The deprecated
past24h
,past7d
,past30d
andpast1y
fields have been removed fromEnergyUsageResult
. This data is now available exclusively throughget_energy_data
'sEnergyDataResult
response.
Tapo Python v0.5.0
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
andend_timestamp
fields inEnergyDataResult
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 thecolor
toDarkRed
.
Tapo Rust v.0.7.14
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
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 withRwLock
. DeviceInfoPlugResult
has been updated to correctly support the P100 and P105 devices.
Tapo Rust v.0.7.13
Changed
- To align with the latest API updates, the
overheated
field for plugs has been replaced by three enums:overcurrent_status
,overheat_status
, andpower_protection_status
(thanks to @padenot).
Tapo Python v0.3.2
Changed
- To align with the latest API updates, the
overheated
field for plugs has been replaced by three enums:overcurrent_status
,overheat_status
, andpower_protection_status
.
Tapo Rust v.0.7.12
Changed
- H100's create child device handler methods now take a
HubDevice
enum
instead of aString
and are nowasync
to allow for more flexibility. This enables the caller to find child devices by either device ID or nickname. PlugIdentifier
has been renamed toPlug
.Plug::ByDeviceId
now verifies that the provided device ID is found and returns anError::DeviceNotFound
error when it's not.HubDevice
variants now take aString
instead of a&str
to allow for more flexibility.Plug
variants now take aString
instead of a&str
to allow for more flexibility.
Fixed
ColorLightSetDeviceInfoParams
hue
field validation has been changed frombetween 1 and 360
tobetween 0 and 360
to match the device's expected range.- Fixed an issue where the
EnergyDataResult's
start_timestampand
end_timestamp` did not correctly adjust for timezone offsets. - The
chrono
dependency has been updated to0.4.34
to fix the minimum version requirement.
Removed
- The
overheated
property has been removed fromDeviceInfoGenericResult
because it's not present in the response of all devices.
Tapo Python v0.3.1
Fixed
ColorLightSetDeviceInfoParams
hue
field validation has been changed frombetween 1 and 360
tobetween 0 and 360
to match the device's expected range.- Fixed an issue where the
EnergyDataResult's
start_timestampand
end_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 fromDeviceInfoGenericResult
because it's not present in the response of all devices.