{ "info": { "author": "Klaudiusz Staniek", "author_email": "klaudiusz@staniek.name", "bugtrack_url": null, "classifiers": [], "description": "Fiblary Project\n===============\n\nIntroduction\n------------\n\nFiblary is a Python module wrapping Fibaro Home Center REST API. \nThis allows Python programs to make calls directly to Home Center and\ncontrol the Z-wave devices and run scenes managed by HC. \nIt also provides access and methods to variables, users, room\nand sections defined on Home Center.\n\nInstallation\n------------\n\nCurrent fiblary module is provided as PyPi package. To install on a unix based system use pip::\n \n pip install fiblary\n\n\nBasic usage\n-----------\n\nThe main client object contains several managers controlling a basic\nfunctions of HC:\n\n* Sections,\n* Rooms,\n* Info,\n* Weather, \n* Variables,\n* Scenes,\n* Devices,\n* Events\n \nand more.\n\nIt's easiest to to get some basic information about the Home Center::\n\n from fiblary.client import Client\n \n # Connect to Home Center\n hc = Client('v3', 'http://192.168.1.1/api/', 'admin', 'admin')\n \n # Retrieve the basic info as returned by /api/info\n info = hc.info.get()\n \n print(info)\n \nwill produce the similar output as below::\n\n {u'batteryLowNotification': True, u'temperatureUnit': u'C', u'updateStableAvailable': False, u'sunsetHour': u'16:29',\n u'softVersion': u'3.580', u'newestBetaVersion': u'3.581', u'serialNumber': u'HC2-000666', u'sunriseHour': u'07:24',\n u'beta': False, u'defaultLanguage': u'pl', u'mac': u'38:60:77:92:bf:a5', u'serverStatus': 1390148753, u'hotelMode': True,\n u'updateBetaAvailable': True, u'zwaveVersion': u'3.42'}\n \n \nThe returned ``info`` behaves like a dictionary::\n \n print info['softVersion']\n \nbut also like a property::\n\n print info.softVersion\n\nEasy, eh?\n\nFor the managers that ``Client`` supports the full set of options is implemented.\n\nPlease refer to the example code attached to the project.\n\n\nLicense\n-------\n\nCopyright (c) 2014 Klaudiusz Staniek\n\nApache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0", "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/kstaniek/fiblary", "keywords": null, "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "fiblary", "package_url": "https://pypi.org/project/fiblary/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fiblary/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kstaniek/fiblary" }, "release_url": "https://pypi.org/project/fiblary/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Home Center 2 API Python Library", "version": "0.1.3" }, "last_serial": 1119782, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "7aa6812f21ec254ad8492340ad177aee", "sha256": "a085ee56165d4fa43ece3c9605222f0c683165267ef9aa6f44681709a7d5d1e9" }, "downloads": -1, "filename": "fiblary-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7aa6812f21ec254ad8492340ad177aee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32639, "upload_time": "2014-06-06T23:16:11", "url": "https://files.pythonhosted.org/packages/6b/6a/29d5ffff18094dc5dfc9364e140143fd457c1d3fef7cebd25c6d3a5bf706/fiblary-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1edd12e9b55994c5c07cdd13264535a9", "sha256": "db0ce33365c53f324ddebc98936b336585ea0982713868327bec1672f0a51d03" }, "downloads": -1, "filename": "fiblary-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1edd12e9b55994c5c07cdd13264535a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32645, "upload_time": "2014-06-09T22:23:45", "url": "https://files.pythonhosted.org/packages/5b/4b/d9ed56e5eab791a77908449b65b180c51608732dc62c84808517d5d82f54/fiblary-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1edd12e9b55994c5c07cdd13264535a9", "sha256": "db0ce33365c53f324ddebc98936b336585ea0982713868327bec1672f0a51d03" }, "downloads": -1, "filename": "fiblary-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1edd12e9b55994c5c07cdd13264535a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32645, "upload_time": "2014-06-09T22:23:45", "url": "https://files.pythonhosted.org/packages/5b/4b/d9ed56e5eab791a77908449b65b180c51608732dc62c84808517d5d82f54/fiblary-0.1.3.tar.gz" } ] }