python-kasa/kasa
J. Nick Koston bab40d43e6
Renew the handshake session 20 minutes before we think it will expire (#697)
* Renew the KLAP handshake session 20 minutes before we think it will expire

Currently we assumed the clocks were perfectly aligned and the handshake
session lasted 20 hours.  We now add a 20 minute buffer

* use timeout cookie when available
2024-01-24 10:11:27 +01:00
..
modules Add new cli command 'command' to execute arbitrary commands (#692) 2024-01-24 09:10:55 +01:00
tapo Add reboot and factory_reset to tapodevice (#686) 2024-01-23 14:26:47 +01:00
tests Refactor aestransport to use a state enum (#691) 2024-01-23 22:50:25 -10:00
__init__.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
aestransport.py Renew the handshake session 20 minutes before we think it will expire (#697) 2024-01-24 10:11:27 +01:00
cli.py Add new cli command 'command' to execute arbitrary commands (#692) 2024-01-24 09:10:55 +01:00
credentials.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
device_factory.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
device_type.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
deviceconfig.py Raise SmartDeviceException on invalid config dicts (#640) 2024-01-18 07:51:50 -10:00
discover.py Sleep between discovery packets (#656) 2024-01-22 18:25:23 +01:00
effects.py Add effect support for light strips (#293) 2022-03-21 22:10:12 +01:00
emeterstatus.py Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
exceptions.py Add 1003 (TRANSPORT_UNKNOWN_CREDENTIALS_ERROR) (#667) 2024-01-24 00:12:01 +01:00
httpclient.py Update transport close/reset behaviour (#689) 2024-01-23 12:15:18 -10:00
iotprotocol.py Update transport close/reset behaviour (#689) 2024-01-23 12:15:18 -10:00
json.py Generate AES KeyPair lazily (#687) 2024-01-23 15:29:27 +00:00
klaptransport.py Renew the handshake session 20 minutes before we think it will expire (#697) 2024-01-24 10:11:27 +01:00
protocol.py Update transport close/reset behaviour (#689) 2024-01-23 12:15:18 -10:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartbulb.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartdevice.py Update transport close/reset behaviour (#689) 2024-01-23 12:15:18 -10:00
smartdimmer.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartlightstrip.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartplug.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartprotocol.py Update transport close/reset behaviour (#689) 2024-01-23 12:15:18 -10:00
smartstrip.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00