Commit Graph

  • 461440e8b1 Fix for SmartStrip repr (#169) Alex 2019-04-08 21:19:42 -07:00
  • 960ec6a346 Smartstrip: return on_since state information only when the socket is on (#161) Teemu R 2019-03-16 21:32:59 +01:00
  • 8046c96b54 bulb: add the temperature range to state_information, inform the user if the info is missing when calling temperature (#163) Teemu R 2019-03-16 21:32:25 +01:00
  • 07b4eda7ae Fix Discover#discover incorrect documentation (#159) Georgi Kirichkov 2019-01-30 14:28:14 +02:00
  • df42f59ede Add kelvin range for KL130 (#156) dieselrabbit 2019-01-26 12:12:22 -08:00
  • f75e2cd9b7 Add LB230 Teemu R 2019-01-22 13:23:27 +01:00
  • 5a1300e3c9 add KL series of bulbs Teemu R 2019-01-22 13:19:04 +01:00
  • c4bb48979f Prepare 0.3.4 (#154) Teemu R 2019-01-17 11:39:51 +01:00
  • 4cb28a3b25 Updated valid range to 360 (with passing tests) (#153) Annika Jacobs 2019-01-16 20:50:48 +00:00
  • 6115d96c39 Add support for HS300 power strip (#137) jimboca 2019-01-08 11:13:25 -08:00
  • ae53e8de1e Add HS103 Teemu R 2019-01-08 19:28:16 +01:00
  • 8034c47b89 avoid 'referenced before assignment' exception (#150) Kevron Rees 2019-01-07 13:28:05 -08:00
  • 29c91151e3 cli: show an error for incorrect hsv values (#142) Annika Jacobs 2018-11-23 21:39:58 +00:00
  • 823612b32c Add a "Reviewed by Hound" badge (#139) Scott Albertson 2018-11-16 14:18:48 -08:00
  • c65d4c0b30 Change valid hue range to 0-359 (fixes #130), update README.md & test (#140) Annika Jacobs 2018-11-16 22:18:28 +00:00
  • 189029b199 Remove deprecated identify, this has been deprecated for long enough. (#136) Teemu R 2018-10-19 17:08:00 +02:00
  • ce318bf824 Merge pull request #135 from rytilahti/add_hs220_tests Georgi Kirichkov 2018-10-19 11:52:42 +03:00
  • 55fca7ed44 add missed test for invalid types Teemu Rytilahti 2018-10-18 20:16:40 +02:00
  • ab3993d63d update README to include mention about hs220 Teemu Rytilahti 2018-10-18 20:05:45 +02:00
  • 8d4f4a6de3 Add tests and pretty output for HS220, fix minor issues in tests Teemu Rytilahti 2018-10-18 19:57:44 +02:00
  • 345216e245 Add reboot command to restart the device (#129) Teemu R 2018-09-08 16:11:58 +02:00
  • d72b47c0b7 Prepare 0.3.3 (#128) Teemu R 2018-09-06 16:52:11 +02:00
  • df0a7f4c36 Fix bug that changed brightness at each HSV update (#124) Sebastian Templ 2018-09-05 22:44:44 +02:00
  • ce89c0d800 Allow using alias instead of IP address or hostname (#127) kwazel 2018-08-30 22:22:23 +02:00
  • ab103c3a1a add 'alias' command for querying and setting the alias (#126) Teemu R 2018-08-13 20:37:43 +02:00
  • a6d515b5cb Support Unicode strings in encrypt/decrypt (#125) Anders Melchiorsen 2018-08-08 16:52:03 +02:00
  • e612560b35 Bump for 0.3.2 (#123) Teemu R 2018-06-17 19:04:24 +02:00
  • c6739daacc Add bulb valid temperature range (#122) Thibault Cohen 2018-06-17 13:01:18 -04:00
  • caa01befd7 Release 0.3.1 (#121) Teemu R 2018-06-16 21:31:51 +02:00
  • ef2e21ff69 Fix emeter support for newer HS110 firmwares (#107) Teemu R 2018-06-16 21:16:35 +02:00
  • 11a7042a04 update pypi description (#102) Teemu R 2018-06-09 17:45:10 +02:00
  • 1aee353cbf Update smartplug.py to support dimming in HS220 (#115) JsChiSurf 2018-04-09 14:17:54 -05:00
  • c766e3594b Merge pull request #109 from rytilahti/require_py34 Georgi Kirichkov 2018-01-22 00:13:01 +02:00
  • 4c427a8413 Add python_requires for >= 3.4 Teemu Rytilahti 2018-01-21 00:48:48 +01:00
  • bda2ce0d89 add hs210 Teemu R 2018-01-19 22:49:29 +01:00
  • d40fff4f9e Add support for DNS host names (#104) K Henriksson 2018-01-17 13:03:19 -08:00
  • a426488449 Use direct device type discovery for devices (#106) K Henriksson 2018-01-14 10:10:53 -08:00
  • 34347e59ae cli: add 'time' command to get the current time from the device Teemu Rytilahti 2017-10-17 00:53:18 +02:00
  • 95b743f11d created a docker file to aid dev setup (#99) TheSmokingGnu 2017-10-13 22:27:05 +01:00
  • b80923061f Release 0.3.0 (#88) Teemu R 2017-10-07 17:51:10 +02:00
  • 44424c1182 Local test clean (#96) Sean Gollschewsky 2017-10-07 16:44:45 +01:00
  • 0b2e371e79 move SmartDeviceException to SmartDevice, and remove types.py complet… (#95) Teemu R 2017-10-07 17:41:51 +02:00
  • d22eceefae move has_emeter implementation from SmartDevice to SmartPlug, avoid using features() internally (#93) Teemu R 2017-10-07 17:36:49 +02:00
  • af90a36153 add typing hints to make it easier for 3rd party developers to use the library (#90) Teemu R 2017-09-18 18:13:06 +02:00
  • 3ddd31f3c1 execute coveralls only on travis, fixes #84 (#91) Teemu R 2017-09-16 19:00:17 +02:00
  • 281f236221 make flake8 pass by some rewording Teemu Rytilahti 2017-09-16 18:57:42 +02:00
  • 1457c4f533 make hound a bit more happier Teemu Rytilahti 2017-09-14 21:00:19 +02:00
  • a9c1d08d66 deprecate features and identify, use state_information in __repr__ instead of identify Teemu Rytilahti 2017-09-14 20:47:41 +02:00
  • 31b5b89d35 fix smartbulb hsv documentation, values are degrees and percentages instead of 0-255 Teemu Rytilahti 2017-09-14 20:47:06 +02:00
  • 79f3b447c8 call socket's close() even when shutdown causes an exception, fixes hopefully #65 for good Teemu Rytilahti 2017-09-14 21:21:34 +02:00
  • 25e550d3fe Fix brightness and temperature. (#89) Sean Gollschewsky 2017-09-15 13:23:06 +01:00
  • 3a14484d47 add lb120 sysinfo to test suite, thanks to githubbuh (#85) Teemu R 2017-08-30 03:35:34 +03:00
  • 8f83ca8784 add lb100 tests, thanks to kdschlosser (issue #58) (#82) Teemu R 2017-08-22 16:55:49 +02:00
  • 2d26e8cf35 make tox run pytest-cov, add coveralls (#81) Teemu R 2017-08-09 13:07:24 +02:00
  • a621f5329d Prevent failure if device's sysinfo does not have a "feature" attribute. (#77) Sean Gollschewsky 2017-08-06 14:42:33 +01:00
  • d851540380 Merge pull request #76 from rytilahti/extend_tests Georgi Kirichkov 2017-08-06 15:36:40 +03:00
  • 651331bb77 allow None for rssi, add a missing newline to fakes.py Teemu Rytilahti 2017-08-05 17:33:08 +02:00
  • d648c6bd2b add hs100 tests Teemu Rytilahti 2017-08-05 17:27:06 +02:00
  • 675f618777 make tests to test against all known device variants Teemu Rytilahti 2017-08-05 17:22:36 +02:00
  • 1d7e5fa73c remove unused tplinksmarthomeprotocol import Teemu Rytilahti 2017-08-05 17:21:54 +02:00
  • 5839c2d1de fix hs105 mac to pass the test, wrap sysinfo_lb110 properly inside 'system' Teemu Rytilahti 2017-08-05 17:21:23 +02:00
  • 92c9cddfd4 return None instead of False for emeter related actions Teemu Rytilahti 2017-08-05 17:20:20 +02:00
  • 0927930f41 wrap sysinfo to defaultdict to return None for keys which do not exist, makes unsupported keys not to fail hard (#72) Teemu R 2017-08-05 17:28:45 +02:00
  • d15e7be4f3 add hs100 example to fakes.py, thanks to Semant1ka on #67 (#74) Teemu R 2017-08-05 16:28:11 +02:00
  • 07af48e41a Discover refactoring, enhancements to the cli tool (#71) Teemu R 2017-08-05 15:49:56 +02:00
  • d7aade4e61 Add LB110 sysinfo (#75) Sean Gollschewsky 2017-08-05 14:47:41 +01:00
  • 10544004cc add @pass_dev to hsv, adjust ranges (#70) Teemu R 2017-08-03 22:13:56 +02:00
  • b7a7fdbfaf Merge pull request #61 from rytilahti/master Georgi Kirichkov 2017-05-27 09:21:16 +03:00
  • 7457ad48f8 extract shared types (exceptions, enums), add module level doc, rename exception to be generic Teemu Rytilahti 2017-05-26 16:11:03 +02:00
  • 93d24281c6 Add check to ensure devices with lat/lon with _i suffix are supported (#54) (#56) Matt LeBrun 2017-04-26 12:43:50 -04:00
  • 09e8948790 generalize smartdevice class and add bulb support for the cli tool (#50) Teemu R 2017-04-24 19:28:22 +02:00
  • 86f14642c8 Refactor and drop py2 support (#49) Teemu R 2017-04-14 14:24:58 +02:00
  • c9662fcb7b add future requirement (#47) Teemu R 2017-04-08 01:58:20 +02:00
  • 23e51a8686 cli: display an error if no ip is given Teemu Rytilahti 2017-03-26 03:19:44 +02:00
  • b1cc0fd3f6 Release 0.2.4 preparations (#43) Teemu R 2017-03-25 23:04:32 +01:00
  • d253b55d41 Add new client tool (#42) Teemu R 2017-03-20 19:03:19 +01:00
  • 900b5394f4 Merge pull request #41 from rytilahti/ignore_oserror_on_shutdown hexa- 2017-03-19 17:15:40 +01:00
  • 9d3fbfa975 Ignore OSError on socket.shutdown() Teemu Rytilahti 2017-03-19 15:53:40 +01:00
  • 72cbaa2839 set color temp to 0 when trying to change color (#36) pete1450 2017-03-17 08:40:48 -05:00
  • 09f915183b Add changelog & add .gitchangelog.rc (#28) Teemu R 2017-03-17 14:38:58 +01:00
  • 1bada16636 discover: Catch socket.timeout and debug log it (#34) Teemu R 2017-03-17 14:32:50 +01:00
  • 5dc94cd5c8 Add flake8 to tox, disable qa on pyHS100/__init__.py, fix py27 compatibility (#31) Teemu R 2017-01-17 14:38:44 +01:00
  • 2d6376b597 Add support for TP-Link smartbulbs (#30) Matthew Garrett 2017-01-17 05:38:23 -08:00
  • 04185706f8 Version bump GadgetReactor 2017-01-11 16:20:04 +08:00
  • 609b323a45 Initial steps to remove caching (#26) Teemu R 2017-01-11 09:17:48 +01:00
  • 76cc597c2a Make tests runnable without device (#24) Teemu R 2017-01-08 00:45:47 +02:00
  • 71ac1f043a Add device discovery (#25) Teemu R 2017-01-08 00:44:57 +02:00
  • 1e01530447 Add timeout to query (#19) Austin 2017-01-07 14:42:31 -08:00
  • fd4e363f56 Refactor & add unittests for almost all functionality, add tox for running tests on py27 and py35 (#17) Teemu R 2016-12-16 23:51:56 +01:00
  • 45fc354888 Version bump (#16) Georgi Kirichkov 2016-12-13 08:50:40 +02:00
  • 05a6bbb145 Read all data from the device, disable double-encoding, implement more APIs, refactor querying, update README (#11) Teemu R 2016-12-12 10:13:45 +01:00
  • 1ffdc7bc67 Merge pull request #15 from mweinelt/master GadgetReactor 2016-12-05 08:54:27 +08:00
  • 109caaf9f6 Constants will be static members of SmartPlug Martin Weinelt 2016-12-04 23:00:56 +01:00
  • 60dee92838 Merge pull request #13 from mweinelt/master GadgetReactor 2016-12-04 11:51:03 +08:00
  • 1a9da33c21 set up hound-ci Martin Weinelt 2016-12-04 03:52:53 +01:00
  • fadb76c5a0 Merge pull request #8 from mweinelt/master GadgetReactor 2016-11-22 21:29:19 +08:00
  • cb5899e3cc Normalize docstrings, address flake8 & pylint recommendations Martin Weinelt 2016-11-22 02:31:25 +01:00
  • 33b2800fe8 Properly detect advertised features, expose alias Martin Weinelt 2016-11-22 00:39:17 +01:00
  • 08fb487a06 Externalize the TP-Link Smart Home Protocol Martin Weinelt 2016-11-21 23:18:12 +01:00
  • 53c06ca784 HS200 support GadgetReactor 2016-11-14 09:56:11 +08:00