Skip to main content

Library to access Energenie MiHome devices via the web API.

Project description

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

version number: 0.0.7

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
-------

LGPLv3

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)
Requires-Python: >3.5

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.7.tar.gz (6.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pymihome-0.0.7.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.8

File hashes

Hashes for pymihome-0.0.7.tar.gz
Algorithm Hash digest
SHA256 2d32bd28be03554d4a0a9bd33b213a52ffe7bb26be3998d09787a3e9a9be360c
MD5 aadf9d0db7a0afcc1cc4298fab8428e2
BLAKE2b-256 a5449b004c307843db62357e59bf5310c7e82f83c4fde28c4d43de9ec2a2fd5d

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