7.1.0 🔍🎥🔎
Performance & Architecture improvements
- Refactored the way library communicates with cameras, there are now transport layers that are isolated and handle communication on their own
- New transport layer (Default): pytapo - supports communication with Tapo Camera and Hub devices. The original transport layer, now isolated into its own class. Enhanced automatic retry capability. Enhanced stability. Introduced locks to prevent issues when running concurrrent requests.
- New transport layer: python-kasa (currently unused) - supports communication with Tapo Camera and Hub devices using python-kasa library. Additional direct method possibility added. Additional fallback to no certificate with warning added.
- Isolated transport layer: python-kasa (Klap protocol) - supports communication with chimes. Isolated into its own class now.
Dual / Triple / Quadruple / n-tuple support!
Following entities now work with devices that have multiple lenses and control the individual lens:
Camera: Direct stream for secondary lenses
Camera: Motion Detection attribute
Number: Motion Detection digital sensitivity
Number: Spotlight Intensity
Select: Night Vision
Select: Night Vision Switching
Select: Person Detection
Select: Vehicle Detection
Select: Pet Detection
Select: Tamper Detection
Select: Spotlight on/off for
Select: Spotlight intensity
Fixes
- Fix #1170: 7.0.14b5 (unreleased integration version): Failure to setup C120 device
- Fix #1163: Entities Unavailable After 3 Minutes, HTTP 401 Error C100
- Inability to add a chime directly
- Inability to add hub devices having no devices
Solves
- #1141: Control of options for additional PT lens on C246D
- You can now add multiple devices under the same ip/host but different ports
Breaking Changes
If you were already using dual lenses camera with this integration, some of your entity ids will change (see above) in order to support individual lens control.
Thank you
- @GaryParr for sharing his devices with me allowing me to quickly test all the changes
Notes
There are more features that are coming for dual lenses cameras, but I wanted to get these out already ;)