Commit Graph

  • 1db955b05e Make request batch size configurable and avoid multiRequest if 1 (#681) Steven B 2024-01-23 10:33:07 +00:00
  • c1f2f8fe67 Check README for supported models (#684) Teemu R 2024-01-23 11:14:59 +01:00
  • d5fdf05ed2 Add P100 test fixture (#683) J. Nick Koston 2024-01-23 00:12:24 -10:00
  • abd3ee0768 Add P135 fixture (#673) J. Nick Koston 2024-01-22 21:31:19 -10:00
  • 65c47a9373 Update fixtures from test devices (#679) J. Nick Koston 2024-01-22 21:12:54 -10:00
  • 37f522c763 Add L530E(US) fixture (#674) J. Nick Koston 2024-01-22 19:24:08 -10:00
  • ee487ad837 Sleep between discovery packets (#656) Steven B 2024-01-22 17:25:23 +00:00
  • 6b0a72d5a7 Add protocol and transport documentation (#663) Steven B 2024-01-22 16:45:19 +00:00
  • 14acc8550e Rename base TPLinkProtocol to BaseProtocol (#669) Steven B 2024-01-22 15:28:30 +00:00
  • b784d891ff Release 0.6.0.1 (#666) 0.6.0.1 Teemu R 2024-01-21 01:55:24 +01:00
  • df59791829 Add l900-5 1.1.0 fixture (#664) Teemu R 2024-01-21 01:41:13 +01:00
  • f77e87dc5d dump_devinfo improvements (#657) Teemu R 2024-01-20 14:20:08 +01:00
  • 49cfef087c Make close behaviour consistent across new protocols and transports (#660) Steven B 2024-01-20 12:35:05 +00:00
  • e94cd118a4 Add fixtures with new MAC mask (#661) Steven B 2024-01-20 12:22:54 +00:00
  • 8523800b23 Fix minor typos in docstrings (#659) J. Nick Koston 2024-01-19 15:40:21 -10:00
  • d62b5a55cc Improve and document close behavior (#654) J. Nick Koston 2024-01-19 10:30:01 -10:00
  • 38159140fb Fix httpclient exceptions on read and improve error info (#655) Steven B 2024-01-19 20:06:50 +00:00
  • 0647adaba0 Release 0.6.0 (#653) 0.6.0 Teemu R 2024-01-19 01:36:57 +01:00
  • bedf05ce3b Remove time logging in debug message (#645) Steven B 2024-01-18 18:32:58 +00:00
  • 24fc2820f3 Merge branch 'master' into defer_expensive_log_formatting defer_expensive_log_formatting J. Nick Koston 2024-01-18 07:52:14 -10:00
  • c3329155c8 Raise SmartDeviceException on invalid config dicts (#640) Steven B 2024-01-18 17:51:50 +00:00
  • 00fc137a45 preen J. Nick Koston 2024-01-18 07:45:45 -10:00
  • 7d754be952 Avoid fetching time in the klap send success path J. Nick Koston 2024-01-18 07:44:51 -10:00
  • 642e9a1f5b Migrate http client to use aiohttp instead of httpx (#643) Steven B 2024-01-18 17:32:26 +00:00
  • 3b1b0a3c21 Encapsulate http client dependency (#642) Steven B 2024-01-18 09:57:33 +00:00
  • 4623434eb4 Fix broken docs due to applehelp dependency (#641) Steven B 2024-01-18 08:21:52 +00:00
  • eadf1203fc Add fixture for L920 (#638) J. Nick Koston 2024-01-14 12:49:31 -10:00
  • aed67dad16 Fix connection indeterminate state on cancellation (#636) J. Nick Koston 2024-01-13 07:37:24 -10:00
  • d0b4fe3fc6 handle cancellation debug_logging J. Nick Koston 2024-01-12 16:17:53 -10:00
  • 84dd2984ea handle cancellation J. Nick Koston 2024-01-12 16:17:02 -10:00
  • 8868c9b70d handle cancellation J. Nick Koston 2024-01-12 16:06:34 -10:00
  • e0c614cf62 handle cancellation J. Nick Koston 2024-01-12 15:59:47 -10:00
  • bd285a9fb0 handle cancellation J. Nick Koston 2024-01-12 15:56:22 -10:00
  • 8e51fa7d31 Add additional debug logging J. Nick Koston 2024-01-12 15:33:24 -10:00
  • 816053fc6e Release 0.6.0.dev2 (#633) 0.6.0.dev2 Teemu R 2024-01-11 16:29:15 +01:00
  • fbce755544 Raise TimeoutException on discover_single timeout (#632) Steven B 2024-01-11 15:13:44 +00:00
  • 5b8280a8d9 Return alias as None for new discovery devices before update (#627) Steven B 2024-01-11 15:12:02 +00:00
  • fd2170c82c Update config to_dict to exclude credentials if the hash is empty string (#626) Steven B 2024-01-10 19:47:30 +00:00
  • d5a6fd8e73 Improve test coverage (#625) Steven B 2024-01-10 19:37:43 +00:00
  • 3e0cd07b7c Update docs for newer devices and DeviceConfig (#614) Steven B 2024-01-10 19:13:14 +00:00
  • 897db674c2 Add L900-10 fixture and it's additional component requests (#629) Steven B 2024-01-10 18:40:36 +00:00
  • 460054ced7 Avoid recreating struct each request in legacy protocol (#628) J. Nick Koston 2024-01-09 13:51:04 -10:00
  • 510aea7207 Release 0.6.0.dev1 (#624) 0.6.0.dev1 Teemu R 2024-01-05 02:34:56 +01:00
  • cfe694e5de Get child emeters with CLI (#623) Nathan Wreggit 2024-01-04 17:25:24 -08:00
  • 2d8a8d9511 Add update-credentials command (#620) Teemu R 2024-01-05 02:25:15 +01:00
  • 554fe0a96e Avoid linear search for emeter realtime and emeter_today (#622) J. Nick Koston 2024-01-04 15:01:00 -10:00
  • efd67b9261 Add P125M and update EP25 fixtures (#621) J. Nick Koston 2024-01-04 13:01:34 -10:00
  • 17d96064c2 Mark L900-5 as supported (#617) Teemu R 2024-01-04 19:52:11 +01:00
  • 7e6eaf4ab2 Use consistent envvars for dump_devinfo credentials (#618) Teemu R 2024-01-04 19:28:59 +01:00
  • 7a3eedeee9 Check the ct range for color temp support (#619) Teemu R 2024-01-04 19:28:48 +01:00
  • b156defc3c Fix cli discover bug with None username/password (#615) sdb9696 2024-01-04 18:17:48 +00:00
  • 1bb930b096 Ship CHANGELOG only in sdist (#610) Teemu R 2024-01-04 19:14:14 +01:00
  • 047a84b60a Release 0.6.0.dev0 (#609) 0.6.0.dev0 Teemu R 2024-01-04 00:28:29 +01:00
  • e9bf9f58ee Allow serializing and passing of credentials_hashes in DeviceConfig (#607) sdb9696 2024-01-03 21:46:08 +00:00
  • 3692e4812f Implement wifi interface for tapodevice (#606) Teemu R 2024-01-03 22:45:16 +01:00
  • c810298b04 Add support for KS205 and KS225 wall switches (#594) gimpy88 2024-01-03 13:31:42 -05:00
  • 30c4e6a6a3 Cleanup credentials handling (#605) Teemu R 2024-01-03 19:26:52 +01:00
  • 10fc2c3c54 Pull up emeter handling to tapodevice base class (#601) Teemu R 2024-01-03 19:04:34 +01:00
  • 864ea92ece Update P110(EU) fixture (#604) Teemu R 2024-01-02 19:34:39 +01:00
  • 9a2b513e6a Update L530 aes fixture (#603) Teemu R 2024-01-02 18:49:52 +01:00
  • ae5ad3e8c6 Add known smart requests to dump_devinfo (#597) sdb9696 2024-01-02 17:20:53 +00:00
  • 5dafc1d1ed Cleanup custom exception kwarg handling (#602) Teemu R 2024-01-02 16:24:09 +01:00
  • 7646bc4542 Update P110(UK) fixture (#596) sdb9696 2023-12-31 14:36:15 +00:00
  • fd9b3cd04c Add L530(EU) klap fixture (#598) sdb9696 2023-12-31 14:35:43 +00:00
  • 1b7914277d Fix dump_devinfo for unauthenticated (#593) sdb9696 2023-12-29 19:42:02 +00:00
  • f6fd898faf Add DeviceConfig to allow specifying configuration parameters (#569) sdb9696 2023-12-29 19:17:15 +00:00
  • ec3ea39a37 Fix typo in cli.rst (#581) alanblake 2023-12-30 02:05:47 +11:00
  • 1d5a9c35f4 Elevate --verbose to top-level option (#590) Teemu R 2023-12-29 16:04:41 +01:00
  • b66347116f Add optional error code to exceptions (#585) sdb9696 2023-12-20 19:16:23 +00:00
  • 6819c746d7 Enable multiple requests in smartprotocol (#584) sdb9696 2023-12-20 17:08:04 +00:00
  • 20ea6700a5 Do login entirely within AesTransport (#580) sdb9696 2023-12-19 14:11:59 +00:00
  • 209391c422 Improve CLI Discovery output (#583) sdb9696 2023-12-19 12:50:33 +00:00
  • 2e6c41d039 Improve smartprotocol error handling and retries (#578) sdb9696 2023-12-10 15:41:53 +00:00
  • a77af5fb3b Request component_nego only once for tapodevice (#576) Teemu R 2023-12-10 00:32:30 +01:00
  • 35a452168a Log smartprotocol requests (#575) Teemu R 2023-12-08 15:22:58 +01:00
  • 1e2241ee95 Fix hsv setting for tapobulb (#573) Teemu R 2023-12-08 15:16:45 +01:00
  • 16ba87378d Add EP25 smart fixture and improve test framework for SMART devices (#572) sdb9696 2023-12-08 13:55:14 +00:00
  • b27a31a8a9 Add new methods to dump_devinfo and mask aliases (#574) sdb9696 2023-12-08 13:29:07 +00:00
  • be289a5751 Add KP125M fixture and allow passing credentials for tests (#567) Steven Bytnar 2023-12-07 17:04:50 -06:00
  • bd23d61687 Update readme with clearer instructions, tapo support (#571) Teemu R 2023-12-06 22:54:14 +01:00
  • 8cdd4f59f8 Use consistent naming for cli envvars (#570) Teemu R 2023-12-05 23:20:29 +01:00
  • f9b5003da2 Add support for tapo bulbs (#558) Teemu R 2023-12-05 20:07:10 +01:00
  • 5febd300ca Add P110 fixture (#562) Teemu R 2023-12-05 16:58:25 +01:00
  • 5e2fcd2cca Re-add regional suffix to TAPO/SMART fixtures (#566) sdb9696 2023-12-05 15:45:09 +00:00
  • 01f3827d73 Fix transport retries after close (#568) sdb9696 2023-12-05 14:56:29 +00:00
  • 4a00199506 Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) sdb9696 2023-12-04 18:50:05 +00:00
  • 347cbfe3bd Make timeout configurable for cli (#564) Teemu R 2023-12-04 16:44:27 +01:00
  • bfd1d6ae0a Kasa KP125M basic emeter support (#560) Steven Bytnar 2023-12-03 08:41:46 -06:00
  • a6b7d73d79 Update dump_devinfo to produce new TAPO/SMART fixtures (#561) sdb9696 2023-12-02 16:33:35 +00:00
  • 63d64ad920 Add support for the protocol used by TAPO devices and some newer KASA devices. (#552) sdb9696 2023-11-30 12:10:49 +00:00
  • 9de3f69033 Update dump_devinfo to include 20002 discovery results (#556) sdb9696 2023-11-29 19:01:20 +00:00
  • 9728866afb Re-add protocol_class parameter to connect (#551) sdb9696 2023-11-28 19:13:15 +00:00
  • d3c2861e4a Set TCP_NODELAY to avoid needless buffering (#554) J. Nick Koston 2023-11-27 09:25:49 -06:00
  • e98252ff17 Move connect_single to SmartDevice.connect (#538) J. Nick Koston 2023-11-21 23:48:53 +01:00
  • 27c4799adc Do not do update() in discover_single (#542) sdb9696 2023-11-21 20:58:41 +00:00
  • 624baa0196 Merge branch 'master' into connect_single_device_type connect_single_device_type J. Nick Koston 2023-11-20 15:22:48 +01:00
  • 30f217b8ab Add klap protocol (#509) sdb9696 2023-11-20 13:17:10 +00:00
  • 911ea4ed8e strip unused J. Nick Koston 2023-11-19 11:12:05 -06:00
  • 38f21946ae strip unused J. Nick Koston 2023-11-19 11:11:17 -06:00
  • 6f821707a0 strip unused J. Nick Koston 2023-11-19 11:10:01 -06:00