{ "info": { "author": "jedmeng", "author_email": "jedm@jedm.cn", "bugtrack_url": null, "classifiers": [], "description": "This library (and its accompanying cli tool) is used to interface with\nopple mobile-control lights.\n\nSupported Devices\n=================\n\nAll opple light with WIFI support (mobile control)\n\nInstall\n=======\n\n.. code-block:: bash\n\n pip install pyoppleio\n\nAPI Reference\n=============\n\nclass **OppleLightDevice**\n\n*property:*\n\n- **is_onlinee** [True, False] Readonly\n\n- **power_on** [True, False] Read/Write\n\n- **brightness** [10-255] Read/Write\n\n- **color_temperature** [2700-6500] Read/Write\n\n*method:*\n\n- **__init__(ip)**\n\n- **update()**\n\nDemo:\n\n.. code-block:: python\n\n from pyoppleio.OppleLightDevice import OppleLightDevice\n\n light = OppleLightDevice('192.168.0.222')\n\n if not light.is_online:\n print('light is offline')\n elif not light.power_on:\n light.power_on = True\n else:\n light.brightness = 255\n\n\nCLI Command\n===========\n\n- search lights\n\n .. code-block:: bash\n\n oppleio search\n\n- get one light's status\n\n .. code-block:: bash\n\n oppleio get -a [light ip address]\n\n- turn on of turn off one light\n\n .. code-block:: bash\n\n oppleio set -a [device ip address] -p on\n oppleio set -a [device ip address] -p off\n\n- set light's brightness and color temperature\n\n .. code-block:: bash\n\n oppleio set -a [device ip address] -b 200 -c 4200", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jedmeng/python-oppleio", "keywords": "opple,iot", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyoppleio", "package_url": "https://pypi.org/project/pyoppleio/", "platform": "any", "project_url": "https://pypi.org/project/pyoppleio/", "project_urls": { "Homepage": "https://github.com/jedmeng/python-oppleio" }, "release_url": "https://pypi.org/project/pyoppleio/1.0.5/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Python library for interfacing with opple mobile control light", "version": "1.0.5" }, "last_serial": 3858525, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "5478d405f288733d5a0bdbc09d94c0f6", "sha256": "592a5896c1a3ae9a7b7857ce9093a50219466cba909fec1fd534739988a0f811" }, "downloads": -1, "filename": "pyoppleio-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5478d405f288733d5a0bdbc09d94c0f6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5064, "upload_time": "2018-05-13T13:23:15", "url": "https://files.pythonhosted.org/packages/aa/1f/98b613634b8b4fb8d0c319593d8a9db795283c34d6f5fe90f8d4cd5891b5/pyoppleio-1.0.0.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "7e6ff761155d6f4a6635ef9779d2eaba", "sha256": "4b978fb8a2fa1d18dc451126fc8d64c491c52de4f72e0b1394a56129a8fc67fc" }, "downloads": -1, "filename": "pyoppleio-1.0.4.tar.gz", "has_sig": false, "md5_digest": "7e6ff761155d6f4a6635ef9779d2eaba", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5025, "upload_time": "2018-05-13T13:23:16", "url": "https://files.pythonhosted.org/packages/1d/c1/335d850fd6356279b1eaba79af4a676a49b74ba645c53fcefa13d4e819e7/pyoppleio-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "8388fac9dfd913b60ced9c2c7c6ce46e", "sha256": "80062484384c70f678d8ecd43325798de6e135a954c00994cfde002928579a81" }, "downloads": -1, "filename": "pyoppleio-1.0.5.tar.gz", "has_sig": false, "md5_digest": "8388fac9dfd913b60ced9c2c7c6ce46e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5068, "upload_time": "2018-05-13T13:24:40", "url": "https://files.pythonhosted.org/packages/4e/52/e723ad613ecacd0bca34b2b6eed02d93a6a085985ab98e8c7ed2feafec25/pyoppleio-1.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8388fac9dfd913b60ced9c2c7c6ce46e", "sha256": "80062484384c70f678d8ecd43325798de6e135a954c00994cfde002928579a81" }, "downloads": -1, "filename": "pyoppleio-1.0.5.tar.gz", "has_sig": false, "md5_digest": "8388fac9dfd913b60ced9c2c7c6ce46e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5068, "upload_time": "2018-05-13T13:24:40", "url": "https://files.pythonhosted.org/packages/4e/52/e723ad613ecacd0bca34b2b6eed02d93a6a085985ab98e8c7ed2feafec25/pyoppleio-1.0.5.tar.gz" } ] }