{ "info": { "author": "Michael Aquilina", "author_email": "michaelaquilina@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "=====================\nLifX Command Utility\n=====================\n\nLifX command line utility to change the state of your lifx bulb. Essentially a wrapper for the `pylifx` python module.\n\nSupports powering on/off, changing RGB/HSB color and temperature.\n\n* Free software: BSD license\n\nInstallation\n------------\n\nThe easiest way to install this utility is using pip:\n\n.. code-block:: bash\n\n $ pip install lifx-cmd\n\nAlternatively you can install by downloading this github repo and installing it manually:\n\n.. code-block:: bash\n\n $ git clone https://github.com/MichaelAquilina/lifx-cmd\n $ cd lifx-cmd\n $ python setup.py install\n\nSetup\n-----\n\nAssuming you've already connected your lifx bulb to your home network, you need to specify the master bulb you are\ncommunicating with.\n\nThe easiest way to do this is by first running the `lifx-discover` utility command that comes with this package:\n\n.. code-block:: bash\n\n $ lifx-discover\n 'wlan0' interface (broadcast address 192.168.0.255)\n IP Address: 192.168.0.38\n MAC Address: 03-1F-7B-7B-64-F6\n\nEnter the discovered MAC address to a `.lifx` file in your home directory:\n\n.. code-block:: bash\n\n $ echo \"03-1F-7B-7B-64-F6\" > \"~/.lifx\"\n\nThe command utility will automatically search for this file on execution. Alternatively you can specify the MAC address from\nthe environment variable LIFXBULB:\n\n.. code-block:: bash\n\n $ export LIFXBULB=\"03-1F-7B-7B-64-F6\"\n\nFinally, you can simply specify the mac address as a command line parameter:\n\n.. code-block:: bash\n\n $ lifx --bulb \"03-1F-7B-7B-64-F6\" power on\n\nFeatures\n--------\n\nPower your bulb on and off:\n\n.. code-block:: bash\n\n $ lifx power on\n $ lifx power off\n\nChange its RGB state:\n\n.. code-block:: bash\n\n $ lifx rgb 1 0 0 # Red light\n $ lifx rgb 0 1 0 # Green light\n $ lifx rgb 0 0 1 # Blue light\n $ lifx rgb 1 0 1 # Magenta light\n\netc...\n\nSame approach can be taken with HSB. For example:\n\n.. code-block:: bash\n\n $ lifx hsb 0 1 1\n\nThe temperature of the bulb can also be set to yellow tinge or pure white LED:\n\n.. code-block:: bash\n\n $ lifx temperature 65535 # bright white\n $ lifx temperature 0 # classic yellow\n\nBy default the bulb is set to fade in changes sent over a period of 1 second. You can change this with the -f flag:\n\n.. code-block:: bash\n\n $ lifx -f 0 rgb 0 1 0 # Immediately change to green\n $ lifx -f 10 temperature 65535 # Change to white over a period of 10 seconds\n\n\n\n\nHistory\n-------\n\n0.2.3 (2016-02-16)\n--------------------\n* Add lifx-discover command to discover bulbs\n* Add better help and description fields\n* Other minor improvements\n\n0.2.0 (2015-06-21)\n--------------------\n\n* Add lifx-discover command for an easy way of discovering master bulbs on your network\n\n\n0.1.2 (2015-06-21)\n--------------------\n\n* Don't fail if only ~/.lifx is available\n\n\n0.1.1 (2015-06-20)\n---------------------\n\n* Add missing read from ~/.lifx file functionality\n\n0.1.0 (2015-06-20)\n---------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MichaelAquilina/lifx-cmd", "keywords": "lifx-cmd", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "lifx-cmd", "package_url": "https://pypi.org/project/lifx-cmd/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lifx-cmd/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/MichaelAquilina/lifx-cmd" }, "release_url": "https://pypi.org/project/lifx-cmd/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "LifX command line utility to change the state of your lifx bulb. Supports powering on/off, changing RGB/HSB color and temperature.", "version": "0.2.3" }, "last_serial": 1959622, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "c60b140f640fbfa37215115b22c595c7", "sha256": "54b20bc98d000fb8699c3f2769d6e75c6ff375d8d3e85d5de1eada57438543dc" }, "downloads": -1, "filename": "lifx-cmd-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c60b140f640fbfa37215115b22c595c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5721, "upload_time": "2015-06-21T19:25:11", "url": "https://files.pythonhosted.org/packages/2f/8f/82d89e528681571ae046832180b65ca381a1c5e359c811ae156a482de00a/lifx-cmd-0.1.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "9a79ccf271a95e7804261b3cd820bd76", "sha256": "342d5e01befd40acfe0714b0abbf077a0fef4ab6e017c0207a6b51b7fa14e571" }, "downloads": -1, "filename": "lifx-cmd-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9a79ccf271a95e7804261b3cd820bd76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6803, "upload_time": "2015-06-24T22:23:34", "url": "https://files.pythonhosted.org/packages/fa/e5/862dbf44a90335e3584a390b054677a89dbf1aa54183fe7394411942662e/lifx-cmd-0.2.1.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "69203cfd7cdb7d1190ddaf7012be7d54", "sha256": "f66f6ef838b75ac9694f099dc766a913669ce018172b10191a2fca86056b3210" }, "downloads": -1, "filename": "lifx-cmd-0.2.3.tar.gz", "has_sig": false, "md5_digest": "69203cfd7cdb7d1190ddaf7012be7d54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6991, "upload_time": "2016-02-16T15:54:09", "url": "https://files.pythonhosted.org/packages/0b/54/88c452980bffa9b96db78572a6e95f9432b320c6a9d02e33f77e7ed9ada0/lifx-cmd-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "69203cfd7cdb7d1190ddaf7012be7d54", "sha256": "f66f6ef838b75ac9694f099dc766a913669ce018172b10191a2fca86056b3210" }, "downloads": -1, "filename": "lifx-cmd-0.2.3.tar.gz", "has_sig": false, "md5_digest": "69203cfd7cdb7d1190ddaf7012be7d54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6991, "upload_time": "2016-02-16T15:54:09", "url": "https://files.pythonhosted.org/packages/0b/54/88c452980bffa9b96db78572a6e95f9432b320c6a9d02e33f77e7ed9ada0/lifx-cmd-0.2.3.tar.gz" } ] }