Commit Graph

  • d908a5ab2a Avoid retrying open_connection on unrecoverable errors (#340) J. Nick Koston 2022-04-24 07:38:42 -10:00
  • d2581bf077 Add fixtures for kl420 (#339) J. Nick Koston 2022-04-13 14:51:15 -10:00
  • 631762b50c Drop deprecated, type-specific options in favor of --type (#336) Teemu R 2022-04-06 03:39:50 +02:00
  • 6e988bd9a9 Avoid discovery on --help (#335) Teemu R 2022-04-06 02:25:47 +02:00
  • a39cef9a8c Export modules & make sphinx happy (#334) Teemu R 2022-04-06 01:41:08 +02:00
  • d848117384 Various documentation updates (#333) Teemu R 2022-04-06 01:13:27 +02:00
  • 68038c93df Bump version to 0.5.0.dev0 Teemu Rytilahti 2022-04-05 18:36:57 +02:00
  • 2a0919efd5 Fix linting Teemu Rytilahti 2022-04-05 18:25:41 +02:00
  • 1e4df7ec1b Fix modularize with strips (#326) J. Nick Koston 2022-04-05 06:16:36 -10:00
  • f0d66e4195 move get_time{zone} out from smartdevice + some minor cleanups Teemu Rytilahti 2022-01-29 20:36:08 +01:00
  • c8ad99abcb Use device time for on_since for smartstripplugs Teemu Rytilahti 2022-01-29 20:35:10 +01:00
  • bb013e75da Raise an exception when trying to access data prior updating Teemu Rytilahti 2022-01-29 20:33:35 +01:00
  • 3a7836cd33 Do not request unsupported modules after the initial update (#298) Teemu R 2022-01-29 18:15:59 +01:00
  • 8c7b1b4a68 Implement motion & ambient light sensor modules for dimmers (#278) Teemu R 2022-01-29 17:53:18 +01:00
  • e3588047fc Improve usage module, consolidate API with emeter (#249) Teemu R 2021-11-19 16:41:49 +01:00
  • 3926f3224f Add module support & query their information during update cycle (#243) Teemu R 2021-11-07 02:41:12 +01:00
  • 7b9e3aae8a Release 0.4.3 (#332) 0.4.3 Teemu R 2022-04-05 19:02:00 +02:00
  • 766819a2a4 Ensure bulb state is restored when turning back on (#330) J. Nick Koston 2022-04-05 06:51:36 -10:00
  • a744af46ab Update pre-commit deps to fix CI (#331) Teemu R 2022-04-05 17:48:24 +02:00
  • 2b05751aa7 Fix test_deprecated_type stalling (#325) J. Nick Koston 2022-03-24 12:59:53 -10:00
  • 6f5a60ad43 Release 0.4.2 (#321) 0.4.2 Teemu R 2022-03-21 22:34:44 +01:00
  • 58f6517445 Add effect support for light strips (#293) J. Nick Koston 2022-03-21 11:10:12 -10:00
  • b22f6b4eef Don't crash on devices not reporting features (#317) Teemu R 2022-03-02 16:29:20 +01:00
  • e3d76bea75 Add pyupgrade to CI runs (#314) Teemu R 2022-02-21 00:56:18 +01:00
  • db170cf1f5 Allow using environment variables for discovery target, device type and debug (#313) Teemu R 2022-02-15 16:59:36 +01:00
  • 15906ec232 Depend on asyncclick >= 8 (#312) Teemu R 2022-02-14 18:26:51 +01:00
  • b61c0feea9 Add 'internal_state' to return the results from the last update query (#306) Teemu R 2022-02-07 09:13:47 +01:00
  • 700f3859c2 Guard emeter accesses to avoid keyerrors (#304) Teemu R 2022-02-02 19:31:11 +01:00
  • 9ea83388ac cli: cleanup discover, fetch update prior device access (#303) Teemu R 2022-02-02 19:30:48 +01:00
  • c865d3f02c Fix unsafe __del__ in TPLinkSmartHomeProtocol (#300) J. Nick Koston 2022-01-30 16:00:00 -06:00
  • 5bf6fda7ee Added a fixture file for KS220M (#273) mrbetta 2022-01-29 10:28:14 -07:00
  • 6a31de5381 Drop microsecond precision for on_since (#296) Teemu R 2022-01-29 17:02:05 +01:00
  • bcb9fe18ab Improve typing for protocol class (#289) Teemu R 2022-01-14 23:08:25 +01:00
  • b4036e55ac Prepare 0.4.1 (#288) 0.4.1 Teemu R 2022-01-14 16:47:49 +01:00
  • 255c0c9a25 Publish to pypi on github release published (#287) Teemu R 2022-01-14 16:32:48 +01:00
  • 6ece506a3b Relax asyncclick version requirement (#286) Teemu R 2022-01-14 16:32:32 +01:00
  • 723fca9d08 Do not crash on discovery on WSL (#283) Teemu R 2022-01-08 17:48:01 +01:00
  • a817d9cab1 Add python 3.10 to CI (#279) Teemu R 2021-12-17 17:48:03 +01:00
  • d2efaf5090 Add --type option to cli (#269) Teemu R 2021-12-13 20:17:54 +01:00
  • cf98674c3a Use codecov-action@v2 for CI (#277) Teemu R 2021-12-13 18:58:46 +01:00
  • 62c9f0ae64 Add coverage[toml] dependency to fix coverage on CI (#271) Teemu R 2021-12-13 18:40:50 +01:00
  • 6aea09fc44 Minor improvements to onboarding doc (#264) Teemu R 2021-12-08 15:32:57 +01:00
  • 8554a1db29 Pin mistune to <2.0.0 to fix doc builds (#270) Teemu R 2021-12-08 15:31:55 +01:00
  • 6b18c5cd55 Add fixture file for KL135 (#263) ErikSGross 2021-12-06 07:31:27 -08:00
  • a468d520c0 Add KL135 color temperature range (#256) Teemu R 2021-11-19 18:08:20 +01:00
  • 351e86bfa3 Add py.typed to flag that the package is typed (#251) Teemu R 2021-11-15 18:21:24 +01:00
  • 5aaadaff39 Allow publish on test pypi workflow to fail (#248) Teemu R 2021-11-03 01:55:49 +01:00
  • 9cda529329 Catch exceptions raised on unknown devices during discovery (#240) Teemu R 2021-10-29 02:44:51 +02:00
  • 8a4068c623 Add script to check supported devices, update README (#242) Teemu R 2021-10-25 09:17:35 +02:00
  • d75e1adaba Add perftest to devtools (#236) Teemu R 2021-10-13 19:22:24 +02:00
  • 85a618f7c6 Add KP401 fixture (#234) J. Nick Koston 2021-10-11 05:13:00 -10:00
  • cf151ead4a Add KL60 US KP105 UK fixture (#233) J. Nick Koston 2021-10-09 04:44:32 -10:00
  • e06b9a71e5 Make cli interface more consistent (#232) Teemu R 2021-10-09 16:36:36 +02:00
  • c65705bbbf Add KL400, KL50 fixtures (#231) J. Nick Koston 2021-10-07 12:15:32 -10:00
  • 98b4155c11 Add fixture for newer KP400 firmware (#227) J. Nick Koston 2021-10-04 08:40:31 -10:00
  • 0bcab39e60 Add fixtures for LB110, KL110, EP40, KL430, KP115 (#224) J. Nick Koston 2021-10-02 08:41:14 -05:00
  • 7b99f7e9a4 Switch to poetry-core (#226) Fabian Affolter 2021-10-02 00:51:16 +02:00
  • 1a3c73e42f Release 0.4.0 (#221) 0.4.0 Teemu R 2021-09-27 19:10:05 +02:00
  • 194aa8607b Add github workflow for pypi publishing (#220) Teemu R 2021-09-26 19:56:40 +02:00
  • 33bc38b57f Fix lock being unexpectedly reset on close (#218) J. Nick Koston 2021-09-26 12:38:33 -05:00
  • 3cf549e32e Add host information to protocol debug logs (#219) Teemu R 2021-09-26 19:16:12 +02:00
  • 76c1264dc9 Avoid calling pformat unless debug logging is enabled (#217) J. Nick Koston 2021-09-26 09:50:58 -05:00
  • 85f17ab91c Release 0.4.0.dev5 (#215) 0.4.0.dev5 Teemu R 2021-09-24 23:38:30 +02:00
  • e31cc6662c Keep connection open and lock to prevent duplicate requests (#213) J. Nick Koston 2021-09-24 16:25:43 -05:00
  • f1b28e79b9 Add KL130 fixture, initial lightstrip tests (#214) Teemu R 2021-09-24 22:26:21 +02:00
  • acb221b1e0 Cleanup discovery & add tests (#212) Teemu R 2021-09-24 17:18:11 +02:00
  • bdb07a749c Release 0.4.0.dev4 (#210) 0.4.0.dev4 Teemu R 2021-09-24 01:44:22 +02:00
  • 94e5a90ac4 Add emeter support for strip sockets (#203) J. Nick Koston 2021-09-23 17:24:44 -05:00
  • d7202883e9 More CI fixes (#208) Teemu R 2021-09-23 19:09:19 +02:00
  • 202d107d39 Fix CI dep installation (#207) Teemu R 2021-09-23 18:29:45 +02:00
  • 41bed35e01 Use github actions instead of azure pipelines (#206) Teemu R 2021-09-23 18:25:41 +02:00
  • b3c8f9769c Avoid temp array during encrypt and decrypt (#204) J. Nick Koston 2021-09-23 11:11:16 -05:00
  • 36c412a9c2 Improve emeterstatus API, move into own module (#205) Teemu R 2021-09-23 17:58:19 +02:00
  • 47a1405bd2 Add KP115 fixture (#202) Teemu R 2021-09-21 19:20:59 +02:00
  • 151976bb04 Add own device type for smartstrip children (#201) Teemu R 2021-09-21 13:25:14 +02:00
  • 2c83d8ee6d bulb: allow set_hsv without v, add fallback ct range (#200) Teemu R 2021-09-21 13:23:56 +02:00
  • 7565d03c8e Add a note about using the discovery target parameter (#168) Leandro Reox 2021-09-19 19:01:06 -03:00
  • 016d030245 Improve bulb support (alias, time settings) (#198) Teemu R 2021-09-19 23:53:17 +02:00
  • 1803a83ae6 Improve testing harness to allow tests on real devices (#197) Teemu R 2021-09-19 23:45:48 +02:00
  • b088596205 Perform initial update only using the sysinfo query (#199) Teemu R 2021-09-19 23:43:17 +02:00
  • f8e7258b93 cli: add human-friendly printout when calling temperature on non-supported devices (#196) JaydenRA 2021-09-04 01:18:21 +01:00
  • 7c9d21af7a Add real kasa KL430(UN) device dump (#192) Ivan Prodanov 2021-08-16 21:16:29 +03:00
  • 4e8a3185fb Use less strict matcher for kl430 color temperature (#190) Teemu R 2021-08-16 16:49:28 +02:00
  • 6184c0c72e Add EP10(US) 1.0 1.0.2 fixture (#174) Nathan Hyde 2021-06-24 10:43:54 -07:00
  • 799032a8df dump_devinfo: handle latitude/longitude keys properly (#175) Teemu R 2021-06-19 21:46:36 +02:00
  • 0aa20f6cf9 Prepare 0.4.0.dev3 (#172) 0.4.0.dev3 Teemu R 2021-06-16 17:16:45 +02:00
  • 8a3ebbff6d Add HS220 hw 2.0 fixture (#107) Appleguru 2021-05-12 12:04:17 -04:00
  • c7a47ea1bf Simplify mac address handling (#162) Teemu R 2021-05-12 15:07:53 +02:00
  • 28a902c485 Added KL125 and HS200 fixture dumps and updated tests to run on new format (#160) Brian Davis 2021-05-11 09:47:52 -06:00
  • 0471e1a5a8 Simplify discovery query, refactor dump-devinfo (#147) Teemu R 2021-05-10 02:19:00 +02:00
  • 1ee4757fdb Return None instead of raising an exception on missing, valid emeter keys (#146) Teemu R 2021-03-18 19:22:10 +01:00
  • 2fe1b209d0 Add KL125 bulb definition (#143) mdarnol 2021-02-27 09:09:33 -05:00
  • 848c38117b README.md: Add link to MQTT interface for python-kasa (#140) Flaviof 2021-02-18 17:24:53 -05:00
  • 87730e6c4e Fix documentation on Smart strips (#136) Flaviof 2021-02-15 11:59:17 -05:00
  • 8a5c5507c8 add tapo link, fix tplink-smarthome-simulator link (#133) Teemu R 2021-02-07 22:25:42 +01:00
  • d4a361dd3e Leverage data from UDP discovery to initialize device structure (#132) dlee1j1 2021-02-06 07:14:36 -08:00
  • 98b40b5072 Improve cli documentation for bulbs and power strips (#123) Teemu R 2020-12-09 10:13:14 +01:00
  • a926ff5980 Release 0.4.0.dev2 (#118) 0.4.0.dev2 Teemu R 2020-11-21 22:52:13 +01:00
  • 56eb2cdcb5 Simplify device class detection, fix hardcoded timeout for discovery (#112) Teemu R 2020-11-08 14:32:27 +01:00
  • 70061cbe67 Update cli.py to addresss crash on year/month calls and improve output formatting (#103) BuongiornoTexas 2020-10-04 05:32:38 +11:00