Skip to main content

Library to access Energenie MiHome devices via the web API.

Project description

===============================

version number: 0.0.6

author: Neil Griffin

Overview
--------

Library to access Energenie MiHome devices via the web API.

Work in progress. Currently has some functionality, but limited and not
properly tested. Use with care.

Installation / Usage
--------------------

To install use pip:

$ pip install pymihome


Or clone the repo:

$ git clone https://github.com/ng110/pymihome.git
$ python setup.py install

Contributing
------------

Offers welcome, as I don't have much time to work on this!

License
-------

Not decided yet.

Example
-------

$ from pymihome import Connection, EnergenieSwitch

$ mihome = Connection([username], [key|password])
$ switches = [EnergenieSwitch(mihome, dev) for dev in mihome.subdevices if dev['is_switch']]
$ for switch in switches:
$ print(switch.name)


Keywords: energenie mihome
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Topic :: Utilities
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymihome-0.0.6.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file pymihome-0.0.6.tar.gz.

File metadata

  • Download URL: pymihome-0.0.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.1

File hashes

Hashes for pymihome-0.0.6.tar.gz
Algorithm Hash digest
SHA256 e39b7e296ced809dbb77ba18373ce096c3bd484bd5309f566a6ffe8eeadabde1
MD5 73572c19758642c991de5a505f5377f0
BLAKE2b-256 6690f0d8db8671e3adad803c2ffa99034a1c41d7ef13d6a40111332ca12d0ada

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page