Commit Graph

16 Commits

Author SHA1 Message Date
Teemu R
af90a36153 add typing hints to make it easier for 3rd party developers to use the library (#90)
* add typing hints to make it easier for 3rd party developers to use the library

* remove unused devicetype enum to support python3.3

* add python 3.3 to travis and tox, install typing module in setup.py
2017-09-18 18:13:06 +02:00
Teemu R
86f14642c8 Refactor and drop py2 support (#49)
* move is_off property to SmartDevice, implement is_on for bulb and use it

* refactor by moving smartbulb and smartplug to their own classes

* drop python2 compatibility, make flake8 happy

* travis: remove 2.7, add 3.6
2017-04-14 14:24:58 +02:00
Teemu R
c9662fcb7b add future requirement (#47)
bump the version & add future requirement
2017-04-08 01:58:20 +02:00
Teemu Rytilahti
23e51a8686 cli: display an error if no ip is given
also bump the version to 0.2.4.1 with this fix.
2017-03-26 03:22:18 +02:00
Teemu R
b1cc0fd3f6 Release 0.2.4 preparations (#43) 2017-03-25 23:04:32 +01:00
Teemu R
d253b55d41 Add new client tool (#42)
* Add new client tool

After installing the package pyhs100 command-line tool can be used
to control the plug.

See --help for its usage, most of the features for plugs are implemented,
some of the shared functionality works for bulbs too.

* Add discover command

* Delete old examples, the cli works as an example well enough
2017-03-20 19:03:19 +01:00
GadgetReactor
04185706f8 Version bump 2017-01-11 16:20:04 +08:00
Georgi Kirichkov
45fc354888 Version bump (#16) 2016-12-13 14:50:40 +08:00
GadgetReactor
53c06ca784 HS200 support
Update version to reflect latest changes
2016-11-14 09:56:11 +08:00
GadgetReactor
1f771b7d80 Merge pull request #2 from kirichkov/energy-monitoring
Adds energy monitoring functionality available in the HS110 plugs
2016-10-19 16:10:00 +08:00
GadgetReactor
d4be10ff26 Update setup.py 2016-10-18 09:41:13 +08:00
Georgi Kirichkov
3744a075c3 Bumps the module version to 0.2.0 2016-10-17 15:36:07 +03:00
GadgetReactor
4653e60de0 0.1.2 2016-07-09 20:27:58 +08:00
GadgetReactor
25a5ede746 Update setup.py 2016-07-09 20:24:50 +08:00
GadgetReactor
358ca42f48 Update setup.py 2016-07-09 19:55:10 +08:00
GadgetReactor
4ef443da0f Create setup.py 2016-07-09 19:32:16 +08:00