{ "info": { "author": "Christian Juncker Br\u00e6dstrup", "author_email": "christian@junckerbraedstrup.dk", "bugtrack_url": null, "classifiers": [], "description": "pyW215\n======\n\npyW215 is a python3 library for interfacing with the d-link W215 Smart\nPlug.\n\nThe library is largely inspired by the javascript implementation by\n@bikerp `dsp-w215-hnap`_.\n\nInstalling\n==========\nInstall using the PyPI index\n\n.. code:: bash\n\n pip install pyW215\n\nUsage\n=====\n\n.. code:: python\n\n #!python3\n from pyW215.pyW215 import SmartPlug, ON, OFF\n\n sp = SmartPlug('192.168.1.110', '******')\n # Where ****** is the \"code pin\" printed on the setup card\n\n # Get values if available otherwise return N/A\n print(sp.current_consumption)\n print(sp.temperature)\n print(sp.total_consumption)\n\n # Turn switch on and off\n sp.state = ON\n sp.state = OFF\n\nNote: You need to know the IP and password of your device. The password is written on the side.\n\nWorking firmware versions\n=========================\n\n- v2.02\n- v2.03\n- v2.22\n\nNote: If you experience problems with the switch upgrade to the latest supported firmware through the D-Link app. If the problem persists feel free to open an issue about the problem.\n\nPartial support\n---------------\n\n- v1.24 and v1.25 (State changing and current consumption working, but no support for reading temperature)\n- D-Link W110 smart switch D-Link W110 smart switch (only state viewing and changing is supported)\n\nIf you have it working on other firmware or hardware versions please let me know.\n\n.. _dsp-w215-hnap: https://github.com/bikerp/dsp-w215-hnap\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/linuxchristian/pyW215", "keywords": "D-Link W215 W110 Smartplug", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyW215", "package_url": "https://pypi.org/project/pyW215/", "platform": "", "project_url": "https://pypi.org/project/pyW215/", "project_urls": { "Homepage": "https://github.com/linuxchristian/pyW215" }, "release_url": "https://pypi.org/project/pyW215/0.6.0/", "requires_dist": null, "requires_python": "", "summary": "Interface for d-link W215 Smart Plugs.", "version": "0.6.0" }, "last_serial": 3138666, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "95d615b31d4b544a28cff9952a9fc121", "sha256": "98cbbc7c146a100f0f5a081c17022491a128d9e882bd9023ebca0c5ff9277a25" }, "downloads": -1, "filename": "pyW215-0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "95d615b31d4b544a28cff9952a9fc121", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7072, "upload_time": "2017-07-11T08:33:01", "url": "https://files.pythonhosted.org/packages/31/84/d32068bba5bfd2fe0d66e7a7f765d12c468dc548124302cea9a71a3b749d/pyW215-0.5-py2.py3-none-any.whl" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "9c286b1f15eeb30028b3b856eeb98770", "sha256": "e83702d0d63b6bd1a1242919c2f2552cddfcde9fc437a6d275af576e5f7fe368" }, "downloads": -1, "filename": "pyW215-0.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9c286b1f15eeb30028b3b856eeb98770", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7049, "upload_time": "2017-07-11T08:56:22", "url": "https://files.pythonhosted.org/packages/ce/95/86a38ee6bcb15f136a04987389cd568119684adfbc9a142feb7c24879ee4/pyW215-0.5.1-py2.py3-none-any.whl" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "64cc1cb72dbb0f750daad04ea454a091", "sha256": "b1764bd3d688be8dda6aaa5dd930b09c48ee553ab1f5ad4716e8f7a6c2d70d52" }, "downloads": -1, "filename": "pyW215-0.5.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64cc1cb72dbb0f750daad04ea454a091", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7136, "upload_time": "2017-07-28T11:22:20", "url": "https://files.pythonhosted.org/packages/9d/33/ce5e6f3e2637d69fe7aba3f4c8f67b52a3f8c08efdb2c0dc1990ddc4f7b7/pyW215-0.5.2-py2.py3-none-any.whl" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "ba1b8222a4ee7c993c890c629273073b", "sha256": "c2c82e2ddd1cc3bf729e6227a54f009a679d962f579022898adcd2571e498847" }, "downloads": -1, "filename": "pyW215-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ba1b8222a4ee7c993c890c629273073b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7340, "upload_time": "2017-08-31T20:55:51", "url": "https://files.pythonhosted.org/packages/15/e9/6e29b49fb47fc0e84b700747ed5dd8cbf97723672c43c650a65ffeb52fef/pyW215-0.6.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba1b8222a4ee7c993c890c629273073b", "sha256": "c2c82e2ddd1cc3bf729e6227a54f009a679d962f579022898adcd2571e498847" }, "downloads": -1, "filename": "pyW215-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ba1b8222a4ee7c993c890c629273073b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7340, "upload_time": "2017-08-31T20:55:51", "url": "https://files.pythonhosted.org/packages/15/e9/6e29b49fb47fc0e84b700747ed5dd8cbf97723672c43c650a65ffeb52fef/pyW215-0.6.0-py2.py3-none-any.whl" } ] }