Commit Graph

  • c61f2e931c Add --child option to feature command (#789) Teemu R 2024-02-23 23:32:17 +01:00
  • 7884436679 Add updated L530 fixture 1.1.6 (#792) Teemu R 2024-02-23 17:13:11 +01:00
  • 9e5d2e5938 Add KS240 fixture ks240_fixture J. Nick Koston 2024-02-22 13:10:10 -10:00
  • bc65f96f85 Add initial support for H100 and T315 (#776) Teemu R 2024-02-22 23:09:38 +01:00
  • 951d41a628 Fix auto update switch (#786) Teemu R 2024-02-22 20:57:42 +01:00
  • 2b0721aea9 Generalize smartdevice child support (#775) Teemu R 2024-02-22 20:46:19 +01:00
  • f965b14021 Add feature for ambient light sensor (#787) Benjamin Ness 2024-02-22 12:11:30 -06:00
  • a87fc3b766 Retry query on 403 after succesful handshake (#785) Steven B 2024-02-22 17:02:03 +00:00
  • d9d2f1a430 Remove SmartPlug in favor of SmartDevice (#781) Teemu R 2024-02-22 14:34:55 +01:00
  • 8c39e81a40 Rename and deprecate exception classes (#739) Steven B 2024-02-21 15:52:55 +00:00
  • 4beff228c9 Enable shell extra for installing ptpython and rich (#782) Steven B 2024-02-20 18:40:28 +00:00
  • 5ba3676422 Raise CLI errors in debug mode (#771) Steven B 2024-02-20 11:21:04 +00:00
  • 29e6b92b1e Add missing firmware module import (#774) Teemu R 2024-02-20 01:00:26 +01:00
  • 66da963ff0 Add initial support for H100 and T315 feat/h100_and_children Teemu Rytilahti 2024-02-20 00:32:29 +01:00
  • bced5e40c5 Generalize smartdevice child support Teemu Rytilahti 2024-02-20 00:26:47 +01:00
  • 3de04f320a Add firmware module for smartdevice (#766) Teemu R 2024-02-19 21:29:09 +01:00
  • efb4a0f31f Auto auto-off module for smartdevice (#760) Teemu R 2024-02-19 21:11:11 +01:00
  • 44b59efbb2 Add smartdevice module for led controls (#761) Teemu R 2024-02-19 20:59:09 +01:00
  • f5175c5632 Add cloud module for smartdevice (#767) Teemu R 2024-02-19 20:48:46 +01:00
  • 520b6bbae3 Add smartdevice module for smooth transitions (#759) Teemu R 2024-02-19 20:39:20 +01:00
  • 11719991c0 Initial implementation for modularized smartdevice (#757) Teemu R 2024-02-19 18:01:31 +01:00
  • e86dcb6bf5 Fix dump_devinfo scrubbing for ks240 (#765) Teemu R 2024-02-19 00:08:39 +01:00
  • e27d5a3dec Use dict as store for child devices janitor/children_dict Teemu Rytilahti 2024-02-18 18:47:39 +01:00
  • 9ab9420ad6 Let caller handle SMART errors on multi-requests (#754) Steven B 2024-02-15 18:10:34 +00:00
  • 64da736717 Add generic interface for accessing device features (#741) Teemu R 2024-02-15 16:25:08 +01:00
  • ff7be987d8 Fix type hints for older python versions feat/dev_descriptors Teemu Rytilahti 2024-02-15 15:24:30 +01:00
  • 5baaa84a1d Merge remote-tracking branch 'upstream/master' into feat/dev_descriptors Teemu Rytilahti 2024-02-15 15:17:48 +01:00
  • 3e25c79f39 Fix tests Teemu Rytilahti 2024-02-15 15:12:51 +01:00
  • 57835276e3 Fix devtools for P100 and add fixture (#753) Steven B 2024-02-14 19:43:10 +00:00
  • 20ec2f5c90 Make iotmodule's _add_feature private, too Teemu Rytilahti 2024-02-14 20:40:25 +01:00
  • 69108cea7d Simplify impl by removing featurecategory and show_in_hass Teemu Rytilahti 2024-02-14 20:18:01 +01:00
  • 13d8d94bd5 Fix for P100 on fw 1.1.3 login_version none (#751) Steven B 2024-02-14 19:13:28 +00:00
  • 231a3e4dc5 Make add_feature private Teemu Rytilahti 2024-02-14 20:00:37 +01:00
  • fc29d2456e Remove last remnants from 'descriptor' Teemu Rytilahti 2024-02-14 19:14:35 +01:00
  • 5dc190837c Rename descriptor to feature Teemu Rytilahti 2024-02-14 18:59:11 +01:00
  • 45f251e57e Ensure connections are closed when cli is finished (#752) Steven B 2024-02-14 17:03:50 +00:00
  • 288b5cacce Use correct key for chjecking if on since should be added Teemu Rytilahti 2024-02-09 00:17:47 +01:00
  • 5d81e9f94c Pass timeout parameters to discover_single (#744) Steven B 2024-02-08 19:03:06 +00:00
  • 72372fb254 Add rssi for smartdevices Teemu Rytilahti 2024-02-08 15:33:39 +01:00
  • f0f1e478c4 Add generic interface (descriptors) for obtaining device features Teemu Rytilahti 2024-02-03 19:42:08 +01:00
  • 458949157a Add 'shell' command to cli (#738) Teemu R 2024-02-06 14:48:19 +01:00
  • 6ab17d823c Reduce AuthenticationExceptions raising from transports (#740) Steven B 2024-02-05 20:49:26 +00:00
  • 215b8d4e4f Fix discovery cli to print devices not printed during discovery timeout (#670) Steven B 2024-02-05 17:53:09 +00:00
  • 0d119e63d0 Refactor devices into subpackages and deprecate old names (#716) Steven B 2024-02-04 15:20:08 +00:00
  • 6afd05be59 Do not crash cli on missing discovery info (#735) Teemu R 2024-02-03 15:28:51 +01:00
  • fae071f0df Fix port-override for aes&klap transports (#734) Teemu R 2024-02-03 15:28:20 +01:00
  • 414489ff18 Prepare 0.6.2.1 (#736) 0.6.2.1 Teemu R 2024-02-02 20:18:46 +01:00
  • 1f15bcda7c Avoid crashing on childdevice property accesses (#732) Teemu R 2024-02-02 17:29:14 +01:00
  • 1f62aee7b6 Add TP25 fixtures (#729) J. Nick Koston 2024-02-01 12:52:57 -06:00
  • 1acf4e86da Retain last two chars for children device_id (#733) Teemu R 2024-02-01 19:27:01 +01:00
  • 8657959ace Add TP15 fixture (#730) J. Nick Koston 2024-01-31 07:30:19 -10:00
  • 55525fc58b Unignore F401 for tests (#724) Teemu R 2024-01-30 00:15:58 +01:00
  • 9e6896a08f Various test code cleanups (#725) Teemu R 2024-01-29 20:26:39 +01:00
  • 1e26434205 Prepare 0.6.2 (#728) 0.6.2 Teemu R 2024-01-29 19:58:30 +01:00
  • bc1503c40e Fix TapoBulb state information for non-dimmable SMARTSWITCH (#726) Steven B 2024-01-29 18:52:22 +00:00
  • f8e273981c Add P300 fixture (#717) Teemu R 2024-01-29 18:14:30 +01:00
  • 1ad2a05b65 Initial support for tapos with child devices (#720) Teemu R 2024-01-29 17:11:29 +01:00
  • b479b6d84d Avoid rebuilding urls for every request (#715) J. Nick Koston 2024-01-29 05:26:00 -10:00
  • 69dcc0d8bb Implement alias set for tapodevice (#721) Teemu R 2024-01-29 11:57:32 +01:00
  • 9c0a831027 Enable batching of multiple requests (#662) Steven B 2024-01-29 10:55:54 +00:00
  • cedffc5c9f Update L510E(US) fixture with mac prefix (#722) Steven B 2024-01-29 09:25:36 +00:00
  • 7e2be35e4b Reduce the number of times creating the cipher in klap (#712) J. Nick Koston 2024-01-26 07:44:41 -10:00
  • dd38225f51 Use hashlib in place of hashes.Hash (#714) J. Nick Koston 2024-01-26 06:57:56 -10:00
  • c3894ab880 Merge branch 'klap_cipher' into hashlib_plus_encrypt hashlib_plus_encrypt J. Nick Koston 2024-01-26 06:41:20 -10:00
  • 0291edca2b Use hashlib in place of hashes.Hash J. Nick Koston 2024-01-26 06:38:04 -10:00
  • db1e3b2145 no need to do in init J. Nick Koston 2024-01-26 06:32:10 -10:00
  • 26d1fcf208 no need to do in init J. Nick Koston 2024-01-26 06:24:58 -10:00
  • 8120bf0724 Merge branch 'master' into klap_cipher J. Nick Koston 2024-01-26 06:24:12 -10:00
  • fcd4883645 Use hashlib for klap since its faster (#711) J. Nick Koston 2024-01-25 23:33:18 -10:00
  • 0d0f56414c Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) Steven B 2024-01-26 09:11:31 +00:00
  • 8c8b97f69d Merge branch 'hashlib_faster' into intint intint J. Nick Koston 2024-01-25 22:25:02 -10:00
  • dcd9322cfe Reduce the number of times we recreate the cipher in klap J. Nick Koston 2024-01-25 22:23:09 -10:00
  • 85eed20966 Use hashlib for klap since its faster J. Nick Koston 2024-01-25 21:56:43 -10:00
  • 48763aa77e Use hashlib for klap since its faster hashlib J. Nick Koston 2024-01-25 21:56:43 -10:00
  • 018af9eca3 Add test sdb9696 2024-01-26 07:42:59 +00:00
  • 0f3e4fc675 Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport sdb9696 2024-01-25 18:55:13 +00:00
  • c318303255 Add concrete XorTransport class with full implementation (#646) Steven B 2024-01-25 17:37:19 +00:00
  • c01c3c679c Prepare 0.6.1 (#709) 0.6.1 Teemu R 2024-01-25 09:32:45 +01:00
  • 716b1f82d9 Add support for the S500 (#705) J. Nick Koston 2024-01-24 22:07:01 -10:00
  • cba073ebde Add support for tapo wall switches (S500D) (#704) J. Nick Koston 2024-01-24 21:54:56 -10:00
  • fa94548723 Add additional L900-10 fixture (#707) J. Nick Koston 2024-01-24 21:53:43 -10:00
  • fa6bc59b29 Replace rich formatting stripper (#706) J. Nick Koston 2024-01-24 21:49:26 -10:00
  • 8947ffbc94 Add L930-5 fixture (#694) J. Nick Koston 2024-01-24 12:31:01 -10:00
  • 3235ba620d Add updated L920 fixture (#680) J. Nick Koston 2024-01-24 12:29:55 -10:00
  • 2d8b966e5b Document authenticated provisioning (#634) Teemu R 2024-01-24 23:09:27 +01:00
  • ae6a31463e Fix overly greedy _strip_rich_formatting (#703) J. Nick Koston 2024-01-24 11:53:28 -10:00
  • 3df837cc82 Ensure login token is only sent if aes state is ESTABLISHED (#702) J. Nick Koston 2024-01-24 09:43:42 -10:00
  • aecf0ecd8a Do not crash on missing geolocation (#701) Teemu R 2024-01-24 13:21:37 +01:00
  • f7c04bcef8 Add --batch-size hint to timeout errors in dump_devinfo (#696) Steven B 2024-01-24 09:40:36 +00:00
  • bab40d43e6 Renew the handshake session 20 minutes before we think it will expire (#697) J. Nick Koston 2024-01-23 23:11:27 -10:00
  • 24c645746e Refactor aestransport to use a state enum (#691) J. Nick Koston 2024-01-23 22:50:25 -10:00
  • 3f40410db3 Update readme fixture checker and readme (#699) Teemu R 2024-01-24 09:36:45 +01:00
  • eb217a748c Fix test_klapprotocol test duration (#698) Steven B 2024-01-24 08:20:44 +00:00
  • 8b566757c3 Add new cli command 'command' to execute arbitrary commands (#692) Teemu R 2024-01-24 09:10:55 +01:00
  • 5907dc763a Add fixtures for L510E (#693) J. Nick Koston 2024-01-23 20:59:39 -10:00
  • 52c3fb4d52 Add 1003 (TRANSPORT_UNKNOWN_CREDENTIALS_ERROR) (#667) Teemu R 2024-01-24 00:12:01 +01:00
  • 1788c50146 Update transport close/reset behaviour (#689) Steven B 2024-01-23 22:15:18 +00:00
  • e576fcdb46 Allow raw-command and wifi without update (#688) Teemu R 2024-01-23 22:58:57 +01:00
  • f045696ebe Fix P100 error getting conn closed when trying default login after login failure (#690) Steven B 2024-01-23 21:51:07 +00:00
  • 129cb035d7 Revert "Try default tapo credentials for klap and aes (#685)" res J. Nick Koston 2024-01-23 08:15:38 -10:00