Commit Graph

  • c59b748a06 Pin dependencies on major versions, add poetry.lock (#94) Teemu R 2020-07-29 19:28:00 +02:00
  • 1cd1e84f78 'Interface' parameter added to discovery process (#79) Dmitrii Eliuseev 2020-07-28 23:20:58 +02:00
  • c67bda8230 Release 0.4.0.dev1 (#93) 0.4.0.dev1 Teemu R 2020-07-28 16:55:56 +02:00
  • 6844166c0d add a small example script to show library usage (#90) Teemu R 2020-07-20 16:42:37 +02:00
  • d30d00a3ff Add support for lightstrips (KL430) (#74) Teemu R 2020-07-19 22:32:17 +02:00
  • 0edbb4301f add .readthedocs.yml required for poetry doc builds (#89) Teemu R 2020-07-12 23:28:20 +02:00
  • 713b443dd0 Add parse_pcap to devtools, improve readme on contributing (#84) Teemu R 2020-07-12 23:07:24 +02:00
  • fccb897a5b Improve installation instructions (#86) Teemu R 2020-07-12 22:46:21 +02:00
  • 96c15362c3 cli: Fix incorrect use of asyncio.run for temperature command (#85) Teemu R 2020-07-06 21:46:40 +02:00
  • 4d722e25c1 Add --transition to bulb-specific cli commands, fix turn_{on,off} signatures (#81) Teemu R 2020-07-06 16:10:28 +02:00
  • 44e2998705 Improve bulb API, force turn on for all light changes as offline changes are not supported (#76) Teemu R 2020-07-06 16:09:30 +02:00
  • f9a987ca18 Simplify API documentation by using doctests (#73) Teemu R 2020-06-30 02:29:52 +02:00
  • 99e0c4a418 Bulbs: allow specifying transition for state changes (#70) Teemu R 2020-06-14 20:21:55 +02:00
  • dd073fa8c8 Add transition support for SmartDimmer (#69) Connor Proctor 2020-06-14 09:09:28 -07:00
  • 9dc0cbaece Add retries to protocol queries (#65) 0.4.0.pre0 0.4.0.dev0 Teemu R 2020-05-27 19:02:09 +02:00
  • 644a10a0d1 General cleanups all around (janitoring) (#63) Teemu R 2020-05-27 16:55:18 +02:00
  • 836f1701b9 Optimize I/O access (#59) Teemu R 2020-05-24 17:57:54 +02:00
  • 012436c494 Improve dimmer support (#62) Teemu R 2020-05-20 21:17:33 +02:00
  • e37244de0f Remove unnecessary f-string definition to make tests pass (#58) Teemu R 2020-05-13 14:50:45 +02:00
  • ed57563e8b Convert to use poetry & pyproject.toml for dep & build management (#54) Teemu R 2020-05-12 12:11:47 +02:00
  • c6d76836d7 Add fixture for KL60 (#52) Teemu R 2020-04-26 17:44:16 +02:00
  • 51af7809ec Ignore D202 where necessary (#50) Teemu R 2020-04-25 21:21:39 +02:00
  • 28c1811aef Support wifi scan & join for bulbs using a different interface (#49) Teemu R 2020-04-24 16:57:04 +02:00
  • 0c71957aa8 Return on_since only when its available and the device is on (#48) Teemu R 2020-04-24 16:47:57 +02:00
  • fd560442a2 Allow 0 brightness for smartdimmer (#47) Teemu R 2020-04-22 09:48:28 +02:00
  • 3fe578cf26 async++, small powerstrip improvements (#46) Teemu R 2020-04-21 20:46:13 +02:00
  • 852ae494af Add (some) tests to the cli tool (#22) Teemu R 2020-04-20 19:26:20 +02:00
  • 7f625cd1c2 Add commands to control the wifi settings (#45) Teemu R 2020-04-20 18:57:33 +02:00
  • b73c0d222e Move dimmer support to its own class (#34) Teemu R 2020-04-18 23:35:39 +02:00
  • b6c3a7c54b Move has_emeter to device level for multiple plug outlets (#41) Andrew May 2020-04-12 07:00:15 -07:00
  • c90465c5dd Remove unnecessary cache (#40) Teemu R 2020-04-12 15:57:49 +02:00
  • 5ff299664e Add in some new device types (#39) Andrew May 2020-04-10 18:08:59 -07:00
  • 18d58388c1 Add test fixture for KL130 (#35) J. Nick Koston 2020-04-10 09:16:50 -05:00
  • f4e5afa20b Depend on py3.7+ for tox, add python 3.8 to azure pipeline targets (#29) Teemu R 2020-03-18 12:50:42 +01:00
  • bc153b3bb9 Fix azure pipeline badge (#32) Teemu R 2020-03-18 12:17:12 +01:00
  • e9b0acaaa7 Enable Windows & OSX builds (#31) Teemu R 2020-03-18 00:40:06 +01:00
  • 00276e34b7 Move child socket handling to its own SmartStripPlug class (#26) Teemu R 2020-03-16 14:52:40 +01:00
  • 489a550582 Add KP303 to the list of powerstrips (#28) Teemu R 2020-03-16 14:52:24 +01:00
  • 15b0c8c0e6 Adding KP303 to supported devices (#25) Alex Cragg 2020-01-28 13:58:20 +00:00
  • 3337c574ce Remove unused save option and add scrubbing (#19) Angelo Gagliano 2020-01-15 08:46:35 -05:00
  • 80f097b5b3 use pytestmark to avoid repeating asyncio mark (#24) Teemu R 2020-01-15 07:49:31 +01:00
  • 72d6205ad2 Cleanup constructors by removing ioloop and protocol arguments (#23) Teemu R 2020-01-15 07:46:21 +01:00
  • 7eea21f2dd test the newly added device fixtures (#21) Teemu R 2020-01-14 19:16:30 +01:00
  • 4a4b9c655a move testing requirements to requirements_test.txt, add pytest-asyncio for azure pipelines (#20) Teemu R 2020-01-14 18:58:39 +01:00
  • 87c0dab8c8 Add real kasa device dumps (#18) Angelo Gagliano 2020-01-14 07:34:57 -05:00
  • 822ab3f8ac Fix dump-discover to use asyncio.run (#16) Teemu R 2020-01-13 08:52:52 +01:00
  • 0f0df481a0 Add device_id property, rename context to child_id (#15) Teemu R 2020-01-13 00:17:45 +01:00
  • 524d28abbc Remove sync interface, add asyncio discovery (#14) Teemu R 2020-01-12 22:44:19 +01:00
  • 3c68d295da Remove --ip which was just an alias to --host (#6) Teemu R 2020-01-12 20:29:19 +01:00
  • 4a25cbfff7 Set minimum requirement to python 3.7 (#5) Teemu R 2020-01-12 20:27:53 +01:00
  • 161c3eb53b change ID of Azure Pipeline (#3) Bas Nijholt 2019-12-18 12:33:32 +01:00
  • 3ef5086ffb mass rename to (python-)kasa (#1) Teemu R 2019-12-18 09:11:18 +01:00
  • 624c44c27f multiply by 1000 instead of 10^3 Bas Nijholt 2019-12-12 11:13:18 +01:00
  • 8d1e0acbba remove Travis CI Bas Nijholt 2019-12-12 11:09:53 +01:00
  • ad209de268 fix mympy's error "Decorated property not supported" (mypy bug) Bas Nijholt 2019-12-12 10:46:40 +01:00
  • 122cd4c19f run pre-commit run --all Bas Nijholt 2019-12-12 10:41:52 +01:00
  • 338e6ce743 add more pre-commit hooks Bas Nijholt 2019-12-12 10:41:36 +01:00
  • a96af31116 replace Travis badge with Azure pipelines Bas Nijholt 2019-12-12 10:34:13 +01:00
  • 72d5443f1a implement methods that depend on sys_info as properties and add update Bas Nijholt 2019-11-15 17:48:36 +01:00
  • 8c25590186 simplify loop in __init__ in smartstrip.py Bas Nijholt 2019-11-15 16:51:01 +01:00
  • b2ca20edf0 use f-strings or format Bas Nijholt 2019-11-15 16:35:42 +01:00
  • e39c6dbfa2 fix pre-commit issues Bas Nijholt 2019-11-15 16:28:02 +01:00
  • 1779e6e122 fix bug in cli.state Bas Nijholt 2019-11-15 16:07:04 +01:00
  • 2976c453ac improve doc-strings Bas Nijholt 2019-11-15 16:05:46 +01:00
  • a7cb2cebed use tox.ini in hound Bas Nijholt 2019-11-15 14:29:33 +01:00
  • 09d620df01 Merge remote-tracking branch 'upstream/azure_pipelines' into asyncio Bas Nijholt 2019-11-15 14:08:49 +01:00
  • 190a800e77 only support >= 3.6 Bas Nijholt 2019-11-11 23:15:57 +01:00
  • cc900ae491 tmp: comment out 2 failing tests Bas Nijholt 2019-11-11 23:10:57 +01:00
  • b2973cda6c fix the tests Bas Nijholt 2019-11-11 20:44:12 +01:00
  • b5e585e1f8 export __version__ under the main module Teemu Rytilahti 2019-11-11 22:33:13 +01:00
  • 751c2445c2 add missing version.py Teemu Rytilahti 2019-11-11 22:30:37 +01:00
  • 8a131e1eeb Add precommit hooks & tox env to enforce code structure, add azure pipelines Teemu Rytilahti 2019-11-11 22:14:34 +01:00
  • 583c785611 prefer sync attribute over asyncio.run Bas Nijholt 2019-11-11 20:53:45 +01:00
  • 9907c6416b isort and black on the tests Bas Nijholt 2019-11-11 20:31:56 +01:00
  • 55d898b547 use absolute imports Bas Nijholt 2019-11-11 20:29:50 +01:00
  • 8a7d955eb7 use the "sync" attribute to call methods in the CLI Bas Nijholt 2019-11-11 19:53:17 +01:00
  • e6faf9dd05 change cli.py message in according with setup.py Bas Nijholt 2019-11-11 19:40:57 +01:00
  • 0c1d8b6efe implement SyncSmartDevice and sort imports and use absolute imports Bas Nijholt 2019-11-11 19:39:43 +01:00
  • 30677b2af0 black setup.py Bas Nijholt 2019-11-11 19:27:16 +01:00
  • b2d0a511a5 define __all__ ( also gets rid of flake8 issues) Bas Nijholt 2019-11-11 19:26:06 +01:00
  • 533c6b5ca2 pass an ioloop Bas Nijholt 2019-11-11 19:16:55 +01:00
  • 7d3d105e47 remove unused imports Bas Nijholt 2019-11-11 17:59:16 +01:00
  • ba2600cb93 make SmartStrip use asyncio Bas Nijholt 2019-11-11 17:55:56 +01:00
  • b6a0542f43 make SmartPlug use asyncio Bas Nijholt 2019-11-11 17:42:12 +01:00
  • 7c69d3c03a make SmartBulb use asyncio Bas Nijholt 2019-11-11 17:32:44 +01:00
  • 904bbe5c1a make SmartDevice use asyncio Bas Nijholt 2019-11-11 17:21:23 +01:00
  • af0a1d61b1 use asyncio.run in tests instead of awaiting Bas Nijholt 2019-11-11 17:03:45 +01:00
  • 3b27f7d7e7 use asyncio.run on coroutines in cli.py Bas Nijholt 2019-11-11 17:01:42 +01:00
  • 0e0ab1dfc9 change functions that use query to await Bas Nijholt 2019-11-11 16:56:39 +01:00
  • 8f59d74e29 implement TPLinkSmartHomeProtocol.query with asyncio Bas Nijholt 2019-11-11 16:52:13 +01:00
  • 59424d2738 Fix cli status reporting, blackify cli.py (#182) Teemu R 2019-10-26 14:21:08 +02:00
  • 752b24c4ec Python < 3.5 cleanups (#180) Ville Skyttä 2019-08-13 23:55:18 +03:00
  • c9280c70c0 Fix __repr__ function of SmartDevice (#178) Christopher Fricke 2019-07-26 15:21:25 -04:00
  • 2c79febae4 Allow specifying broadcast address for discovery (#176) kochinc 2019-07-25 00:21:24 -04:00
  • fa0c2d82e8 Fix CLI for HS300 (#177) Daniel Berlin 2019-07-24 21:17:13 -07:00
  • 2d60467bea API and tests cleanup (#151) Teemu R 2019-06-16 17:05:00 -04:00
  • e82746da24 Fix temperature range for KL120, the device can only do up to 5000 k (#174) Teemu R 2019-06-09 18:28:51 -04:00
  • a475233464 Check for errors also in the command payload (#173) Teemu R 2019-06-03 09:58:03 -04:00
  • 60add6fa66 Improve discovery by sending multiple UDP datagrams (#172) Teemu R 2019-05-20 21:56:01 -04:00
  • 29f75d9566 Prepare 0.3.5 (#170) 0.3.5 Teemu R 2019-04-13 01:12:37 -04:00