{ "info": { "author": "Dean Galvin", "author_email": "deangalvin3@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Topic :: Home Automation" ], "description": "# insteon-hub\nAn initial concept for a Python library for interfacing with the Insteon Hub2 Restful API http://docs.insteon.apiary.io/\n\nThis is mostly based off https://github.com/krkeegan/insteon-hub-python-lib which seems to be abandoned.\n\nIn order to use this, you'll need to register for an Insteon [API key](http://www.insteon.com/become-an-insteon-developer).\n\n## Installation\nInstall instructions can be found here https://pypi.python.org/pypi/insteon_hub\n\n## Usage\n\n### Initialize the object\n```python\n>>> import insteon\n>>> i = insteon.Insteon(\"insteon_userid\", \"insteon_password\", \"insteon_api_key\")\n```\n\n### Examine devices\n```python\n>>> i.devices\n>>> i.devices[0]\n>>> i.devices[0].DeviceName\n```\n\n*see [Devices](http://docs.insteon.apiary.io/#reference/devices) for other properties*\n\n### Send a command\n```python\n>>> i.devices[0].send_command('on')\n```\n*see [Commands](http://docs.insteon.apiary.io/#reference/commands/commands-collection)*\n\n### Streaming Data\n```python\n>>> i.houses[0].stream(auto_reconnect=True, devices_to_watch=i.devices)\n```\n\nThis will auto update a cached status on each device from the insteon streaming endpoint.\nIt will auto reconnect every 60 seconds or so, Insteon has informed me they are\nlooking to increase the timeout on that endpoint. This will *NOT* report information\nsent via API's you should either do a hard 'get_status' command every so often. It will\ncache commands sent via THIS API.\n\n*see [Streaming](http://docs.insteon.apiary.io/#reference/houses/house-device-activation-stream/retrieve-a-house-device-activation-stream)*\n\nYou can also add callbacks for a stream to get instant results.\n\n```python\n>>> i.houses[0].add_stream_callback(device, callback_method)\n>>> i.houses[0].stream(auto_reconnect=True, devices_to_watch=i.devices)\n```\n\nThis will send the parsed status to the `callback_method` as an argument.\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/FreekingDean/insteon-hub", "keywords": "insteon,hub,cloud", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "insteon-hub", "package_url": "https://pypi.org/project/insteon-hub/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/insteon-hub/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/FreekingDean/insteon-hub" }, "release_url": "https://pypi.org/project/insteon-hub/0.7.2/", "requires_dist": null, "requires_python": null, "summary": "A python package that interacts with the Insteon Hub Cloud API", "version": "0.7.2" }, "last_serial": 2528356, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "66af050efd893c0237e30004cd788a6a", "sha256": "a016c55150ef4d5fcf82c28f54500e6ae06fc72ece7b402465ea8256543bb82a" }, "downloads": -1, "filename": "insteon-hub-0.2.1.tar.gz", "has_sig": false, "md5_digest": "66af050efd893c0237e30004cd788a6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4761, "upload_time": "2016-01-19T05:18:17", "url": "https://files.pythonhosted.org/packages/d4/d8/8130c09d511890f9c08c5924f34cf92a2605978d8c889e4ecff341133089/insteon-hub-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "1ebd05f9a674880321371e2b1187a2cf", "sha256": "41d9b24825f42d1f55a200b2ae69260c591be30cf64902add600e9979acab442" }, "downloads": -1, "filename": "insteon-hub-0.2.2.tar.gz", "has_sig": false, "md5_digest": "1ebd05f9a674880321371e2b1187a2cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4762, "upload_time": "2016-01-19T05:27:08", "url": "https://files.pythonhosted.org/packages/4b/06/bc823055da5fff81b3e4ecff3ea22f06a7ce56caa02a596558e55fcfdf21/insteon-hub-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "e743ce674feae4161d7dc674b5032237", "sha256": "fde44d2673ce846148dae5fc23c281fea8458f3a3e71f7bd5f346c84cd674783" }, "downloads": -1, "filename": "insteon-hub-0.2.3.tar.gz", "has_sig": false, "md5_digest": "e743ce674feae4161d7dc674b5032237", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4760, "upload_time": "2016-01-19T05:29:37", "url": "https://files.pythonhosted.org/packages/ab/49/a30577317084318e897af9393732d7ddd902cb47f5c7a5c59e6a3141edfa/insteon-hub-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "657f10139838f269d8b15c490e3f5d01", "sha256": "0f95e87118289b977da824b0582d815f15023f99f505ef03c78bd404037f227a" }, "downloads": -1, "filename": "insteon-hub-0.2.4.tar.gz", "has_sig": false, "md5_digest": "657f10139838f269d8b15c490e3f5d01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4368, "upload_time": "2016-01-19T05:33:51", "url": "https://files.pythonhosted.org/packages/71/ec/b02a464d6184c39dd7090b9f67656736e267f9d85d1ca4522e64d9e88153/insteon-hub-0.2.4.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "16f8f7d905180993f5565bc51009112c", "sha256": "de8dec2c2bfd9a64407630fcc77fb0a4bcc80e5ae5190078d82b940efc457b52" }, "downloads": -1, "filename": "insteon-hub-0.3.0.tar.gz", "has_sig": false, "md5_digest": "16f8f7d905180993f5565bc51009112c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4694, "upload_time": "2016-01-22T02:31:04", "url": "https://files.pythonhosted.org/packages/0f/6f/3d8875529617981be7132768a3fbae62a3bf27c7908233058ebc424064e1/insteon-hub-0.3.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "c22cffecb84825ce9ecf1a9c244d7791", "sha256": "8309a3d61abee3ef73295230d6a564f7ec0d8acd9f5cfeab5b93c83fee8a8ca1" }, "downloads": -1, "filename": "insteon-hub-0.4.1.tar.gz", "has_sig": false, "md5_digest": "c22cffecb84825ce9ecf1a9c244d7791", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5085, "upload_time": "2016-01-22T03:29:40", "url": "https://files.pythonhosted.org/packages/9f/6b/86a532c98d14d6e0b704ab28d0739fbecb1785557491831bc08e4103a616/insteon-hub-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "6b27af53a40d62f0cafd7680b95320bb", "sha256": "6d3f8face0d5663e42f1d9f7441d5e0d67a067e34e39363965c78cbc56447a17" }, "downloads": -1, "filename": "insteon-hub-0.4.2.tar.gz", "has_sig": false, "md5_digest": "6b27af53a40d62f0cafd7680b95320bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4857, "upload_time": "2016-01-22T03:39:51", "url": "https://files.pythonhosted.org/packages/c5/ca/6138692119ab43927d1930c250fa982af821fc9583878cddc2c46129b311/insteon-hub-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "7ae1ae6fa888ef5065022688f33a032a", "sha256": "9fc708f6eb047718f400c91549501eb2ef544552bd18e0e6ca26cb549c75c315" }, "downloads": -1, "filename": "insteon-hub-0.4.3.tar.gz", "has_sig": false, "md5_digest": "7ae1ae6fa888ef5065022688f33a032a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6119, "upload_time": "2016-01-22T03:53:34", "url": "https://files.pythonhosted.org/packages/cc/a8/844b6ad99764b271fe7d0d0696cdbea7b01b4327b8dcc8b04057d1612248/insteon-hub-0.4.3.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "3d2e669f499eb2be8791661853651ba2", "sha256": "c837ab822cded10967929d87baa9f246ce91a99dca1cc03d6804c9dcc46a3f6d" }, "downloads": -1, "filename": "insteon-hub-0.4.4.tar.gz", "has_sig": false, "md5_digest": "3d2e669f499eb2be8791661853651ba2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6130, "upload_time": "2016-01-22T03:59:55", "url": "https://files.pythonhosted.org/packages/7a/77/10285c0d4f51d80c4d57e4af81e5840327eadabd19deabc690886138a2b0/insteon-hub-0.4.4.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "78211c2ff45da55d73aac9d4a4edec12", "sha256": "8bb3c6834ccdd7a4f9bcfad7fe87831b1c4be129c7c89ee8319b0850a93372a9" }, "downloads": -1, "filename": "insteon-hub-0.4.5.tar.gz", "has_sig": false, "md5_digest": "78211c2ff45da55d73aac9d4a4edec12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6261, "upload_time": "2016-01-22T07:07:20", "url": "https://files.pythonhosted.org/packages/2e/1a/f532728eee494d5da0d2ea85285160700659392a0be8cf2b83d6aaf92498/insteon-hub-0.4.5.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "db76b633e578c70756fc2d2a1856483a", "sha256": "efa946344b1b4f9d48cd6e44dd52862789e97bb4264eea2637d09ad1db768fa0" }, "downloads": -1, "filename": "insteon-hub-0.5.0.tar.gz", "has_sig": false, "md5_digest": "db76b633e578c70756fc2d2a1856483a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6780, "upload_time": "2016-06-27T00:51:03", "url": "https://files.pythonhosted.org/packages/0d/69/772f55ac62352e4c80f0b6269f0671b89e09b9fa12593793f319b25d840c/insteon-hub-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "5d626f1774b6a9ce6320957102b79732", "sha256": "96d7bc4ee02c0565b5e9f69bcc93f8e8b70089547fab64d54e332d16c178965e" }, "downloads": -1, "filename": "insteon-hub-0.5.1.tar.gz", "has_sig": false, "md5_digest": "5d626f1774b6a9ce6320957102b79732", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6791, "upload_time": "2016-08-30T16:59:12", "url": "https://files.pythonhosted.org/packages/42/d4/dcff9595c11d7f34da7089784ff729ef096a378af92d32fe869b3d225226/insteon-hub-0.5.1.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "2cf26cc68e2728df5c5c022a8d398f6c", "sha256": "13b822d8aaa940484345504550b009d6dd6f01adae17f9c0fee632ade8bc0895" }, "downloads": -1, "filename": "insteon-hub-0.6.0.tar.gz", "has_sig": false, "md5_digest": "2cf26cc68e2728df5c5c022a8d398f6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6537, "upload_time": "2016-09-01T14:23:53", "url": "https://files.pythonhosted.org/packages/fd/64/5644c69f78c101cdd8ed939697468540bc056bb46b8aa5d3d42ffd02b040/insteon-hub-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "59da8c05e815b48b5457b3627ba3c6d0", "sha256": "8e02cdc309a4f7cede48c7988aa410f1d67bbcb5376503507e3efeb806a78190" }, "downloads": -1, "filename": "insteon-hub-0.6.1.tar.gz", "has_sig": false, "md5_digest": "59da8c05e815b48b5457b3627ba3c6d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6617, "upload_time": "2016-09-28T16:05:59", "url": "https://files.pythonhosted.org/packages/ed/d7/ed5c4906c33afbd7a4ee9c25c2378ac010db0c9dd03e7ae00a6c5364e4ab/insteon-hub-0.6.1.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "1ddf1f38e694824741f3dab03e47ee11", "sha256": "d4fa153e47d533811e67f18773be345971aac35f1d2f9e96bfe30f2b84706f9e" }, "downloads": -1, "filename": "insteon-hub-0.7.0.tar.gz", "has_sig": false, "md5_digest": "1ddf1f38e694824741f3dab03e47ee11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7429, "upload_time": "2016-12-16T14:54:09", "url": "https://files.pythonhosted.org/packages/1c/b6/b2dfaa1c820c93d08bbe8ec7c33eb8fbfd7ba0bf681978171837787fc3ee/insteon-hub-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "da10d7c1a61899b65d8ebfea28141dd3", "sha256": "1f9a03cd496bdf7610d19ebdd424944a7dfb53318b3b312b511f913537b94f9f" }, "downloads": -1, "filename": "insteon-hub-0.7.1.tar.gz", "has_sig": false, "md5_digest": "da10d7c1a61899b65d8ebfea28141dd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7639, "upload_time": "2016-12-19T14:24:26", "url": "https://files.pythonhosted.org/packages/04/7e/23ee8d5f6a4346cb68e441f634cc4e92396ae860014524dddce75b89eb80/insteon-hub-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "5ffdfc2d947dfa24f3d99f26419ca6f2", "sha256": "2f31868bcf401e78dc0fa55f30ab5c8ff361608ae0028ba3e20864e6e7849b20" }, "downloads": -1, "filename": "insteon-hub-0.7.2.tar.gz", "has_sig": false, "md5_digest": "5ffdfc2d947dfa24f3d99f26419ca6f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7682, "upload_time": "2016-12-19T15:19:05", "url": "https://files.pythonhosted.org/packages/b1/65/df83ddad221772330ebdc728087da693810ef6eaf4f2232acc1682be4527/insteon-hub-0.7.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5ffdfc2d947dfa24f3d99f26419ca6f2", "sha256": "2f31868bcf401e78dc0fa55f30ab5c8ff361608ae0028ba3e20864e6e7849b20" }, "downloads": -1, "filename": "insteon-hub-0.7.2.tar.gz", "has_sig": false, "md5_digest": "5ffdfc2d947dfa24f3d99f26419ca6f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7682, "upload_time": "2016-12-19T15:19:05", "url": "https://files.pythonhosted.org/packages/b1/65/df83ddad221772330ebdc728087da693810ef6eaf4f2232acc1682be4527/insteon-hub-0.7.2.tar.gz" } ] }