Commit Graph

15 Commits

Author SHA1 Message Date
Martin Weinelt
cb5899e3cc
Normalize docstrings, address flake8 & pylint recommendations
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2016-11-22 02:32:11 +01:00
Martin Weinelt
33b2800fe8
Properly detect advertised features, expose alias
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2016-11-22 00:39:51 +01:00
Martin Weinelt
08fb487a06
Externalize the TP-Link Smart Home Protocol
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2016-11-21 23:18:12 +01:00
Stephen Maggard
1550b6cb2e Adding in support for the HS200 Wall switch referencing issues (#4), simplifying model determination 2016-10-26 10:33:08 -05:00
Stephen Maggard
fe00041130 Adding in support for the HS200 Wall switch referencing issues (#4), simplifying model determination 2016-10-26 10:32:46 -05:00
Stephen Maggard
225bf47ace Adding in support for the HS200 Wall switch referencing issues (#4) 2016-10-26 09:56:26 -05:00
Georgi Kirichkov
61714ac110 Refactors state property to use get_info() and removes hs100_status() 2016-10-19 11:02:32 +03:00
Georgi Kirichkov
dc3de3fa10 Adds model check to current_consumption() and removes whitespace 2016-10-19 10:28:48 +03:00
Georgi Kirichkov
605abfdebb Fixes indentation and removes extra whitespaces 2016-10-18 10:59:30 +03:00
Georgi Kirichkov
9cd61fdcc8 Adds additional comments, for better compliance with the Apache license 2016-10-17 15:17:28 +03:00
Georgi Kirichkov
093899c588 Makes the socket sending code compatible with both Python 2 and python 3
Adds a shutdown to the socket used to send commands
2016-10-15 11:18:31 +03:00
Georgi Kirichkov
77d524ecf2 Refactors state() to use turn_on() and turn_off() 2016-10-13 18:33:50 +03:00
Georgi Kirichkov
0eabf264e4 Adds Energy Meter commands available on the TP-Link HS110
Also adds turn_on() and turn_off() commands to supplement the state
2016-10-13 18:31:34 +03:00
GadgetReactor
ef85f939fd Update pyHS100.py 2016-07-09 20:36:33 +08:00
GadgetReactor
faad2f080f Create pyHS100.py 2016-07-09 19:34:27 +08:00