sdb9696 30f217b8ab
Add klap protocol (#509)
* Add support for the new encryption protocol

This adds support for the new TP-Link discovery and encryption
protocols. It is currently incomplete - only devices without
username and password are current supported, and single device
discovery is not implemented.

Discovery should find both old and new devices. When accessing
a device by IP the --klap option can be specified on the command
line to active the new connection protocol.

sdb9696 - This commit also contains 16 later commits from Simon Wilkinson
squashed into the original

* Update klap changes 2023 to fix encryption, deal with kasa credential switching and work with new discovery changes

* Move from aiohttp to httpx

* Changes following review comments

---------

Co-authored-by: Simon Wilkinson <simon@sxw.org.uk>
2023-11-20 14:17:10 +01:00
..
2023-08-03 13:20:09 +02:00
2019-12-18 09:11:18 +01:00
2023-10-07 20:58:00 +02:00
2023-10-29 23:15:42 +01:00
2023-10-29 23:15:42 +01:00
2023-11-20 14:17:10 +01:00
2023-11-20 14:17:10 +01:00