{ "info": { "author": "David-Leon Pohl", "author_email": "David-Leon.Pohl@rub.de", "bugtrack_url": null, "classifiers": [], "description": "# A pure python client to connect to a pilight daemon\n[![Build Status](https://travis-ci.org/DavidLP/pilight.svg?branch=master)](https://travis-ci.org/DavidLP/pilight)\n[![Coverage Status](https://coveralls.io/repos/github/DavidLP/pilight/badge.svg?branch=master)](https://coveralls.io/github/DavidLP/pilight?branch=master)\n\nThis client interfaces with the `pilight-daemon` to send and receive RF codes (https://www.pilight.org/).\n\nSending and receiving is implemented in an asychronous way. A callback function can be defined \nthat reacts on received data. Automatic acknowledge if the send data was transmitted by the pilight-daemon\nis implemented.\n\nAll `pilight-send` commands can be used by this client (https://wiki.pilight.org/doku.php/psend). \nThe API is mentioned here: https://manual.pilight.org/en/api.\n\n# Installation\n\nThe latest release is hosted on PyPi. Thus for installation type:\n```\npip install pilight\n```\n\nOtherwise download the code and\n\n```\npython setup.py install\n```\n\nYou can run the unit tests to check the installation\n\n```\nnosetests pilight\n```\n\n# Usage\n```\nfrom pilight import pilight\npilight_connection = pilight.Client() # Connect to the pilight-daemon at localhost:5000\npilight_connection.send_code(data={\"protocol\": [ \"kaku_switch\" ], # https://manual.pilight.org/en/api\n \"id\": 1,\n \"unit\": 0,\n \"off\": 1\n })\n``` \n\nAlso check the examples folder.\n\n", "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/DavidLP/pilight", "keywords": "pilight,433,light", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "pilight", "package_url": "https://pypi.org/project/pilight/", "platform": "any", "project_url": "https://pypi.org/project/pilight/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/DavidLP/pilight" }, "release_url": "https://pypi.org/project/pilight/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A pure python module to connect to a pilight daemon to send and receive commands.", "version": "0.1.1" }, "last_serial": 2410050, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8632e0c8cc189fe856a1860fb40ae893", "sha256": "333fb0ee834fecd6ce86e7d89eb7857bdbf20a38a21c3f277ed88a121d430781" }, "downloads": -1, "filename": "pilight-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8632e0c8cc189fe856a1860fb40ae893", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11318, "upload_time": "2016-08-06T17:34:16", "url": "https://files.pythonhosted.org/packages/1e/e3/420415e3bc64d8aa804a87a63d886e45898b69507cb1b8d69d11c7af4cd2/pilight-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eef899cd49134f76e107ea4d2d7350ae", "sha256": "04fa23f19e7a9c011083a4aeed1d6c0cb944fef209ded677dd9a803b05456078" }, "downloads": -1, "filename": "pilight-0.0.1.tar.gz", "has_sig": false, "md5_digest": "eef899cd49134f76e107ea4d2d7350ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8666, "upload_time": "2016-08-06T17:34:13", "url": "https://files.pythonhosted.org/packages/eb/da/e2ec59fdf7f81b846793ab29d2b776a6f525aae047171da214c31065e455/pilight-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7a630050fb1f4a634acd8657ce8ac7d3", "sha256": "c752ea166c495ecd4c38d9c31aa6ebf70c8cfe2b6599b74d0944c2d3f524b8fa" }, "downloads": -1, "filename": "pilight-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7a630050fb1f4a634acd8657ce8ac7d3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11528, "upload_time": "2016-08-07T12:17:51", "url": "https://files.pythonhosted.org/packages/77/86/881da49347e34b0a58ea08f400fcf9ed525b9ccea9db431d77bfa267ca52/pilight-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "53a5257e5be3510ee3ce4b1d47ec6eed", "sha256": "068621f693d53e15a7d6cba324a57455673df2c48f6097a0ba387f5e648594fb" }, "downloads": -1, "filename": "pilight-0.0.2.tar.gz", "has_sig": false, "md5_digest": "53a5257e5be3510ee3ce4b1d47ec6eed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8912, "upload_time": "2016-08-07T12:17:48", "url": "https://files.pythonhosted.org/packages/41/5f/0a9d62f6d1e60cb419020d0afee0e650dee733a9fb47105f8d558c66c234/pilight-0.0.2.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bb8b52e379d00e3e1635fe33316d7db2", "sha256": "a13b6a96439f2d4be632cd76442f45c418df25412b927bf43c997fb865adaa87" }, "downloads": -1, "filename": "pilight-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bb8b52e379d00e3e1635fe33316d7db2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19497, "upload_time": "2016-10-19T09:59:05", "url": "https://files.pythonhosted.org/packages/be/24/bee3980c42d5f82f1cb86e7661fce1acbc19e506a6327f993e12fb98378a/pilight-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bb8b52e379d00e3e1635fe33316d7db2", "sha256": "a13b6a96439f2d4be632cd76442f45c418df25412b927bf43c997fb865adaa87" }, "downloads": -1, "filename": "pilight-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bb8b52e379d00e3e1635fe33316d7db2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19497, "upload_time": "2016-10-19T09:59:05", "url": "https://files.pythonhosted.org/packages/be/24/bee3980c42d5f82f1cb86e7661fce1acbc19e506a6327f993e12fb98378a/pilight-0.1.1.tar.gz" } ] }