{ "info": { "author": "Baptiste Candellier", "author_email": "outadoc@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Topic :: Home Automation" ], "description": "# python-smarthab\nThis Python library allows you to programmatically control your SmartHab-powered\nhome.\n\n## Security warning!\nSmartHab currently offers no secure connection to their API. The credentials are sent in clear-text. **You've been warned.**\n\n## What is SmartHab?\n[SmartHab](http://www.smarthab.fr) is a company that installs their home \nautomation solution in new buildings, and offers a mobile application for \nhome owners or renters to control their home over the Internet.\n\nMobile App \u2192 API \u2192 SmartHab box (1 at each floor) \u2192 Z-Wave devices\n\n## What does this library do?\n`python-smarthab` connects to the SmartHab API and allows you to automate your\nhome without having to use the mobile application.\n\nIt might prove particularly useful if integrated into a home automation box or\nsoftware. Feel free to use it, it's under the GPL!\n\n## How do I use it?\n```bash\npip3 install SmartHab\n```\n\n```python\nimport pysmarthab\n\nhub = pysmarthab.SmartHab()\n\n# Login\nhub.login('smarthab.user@example.com', '1234567')\n\nif not hub.is_logged_in:\n # Bad credentials :(\n raise SystemExit\n\n# Get the list of available devices\ndevices = hub.get_device_list()\n\n# Close all roller shutters and turn on all lights\nfor device in devices:\n if isinstance(device, pysmarthab.Light):\n device.turn_on()\n\n if isinstance(device, pysmarthab.Shutter):\n device.close()\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/outadoc/python-smarthab/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "SmartHab", "package_url": "https://pypi.org/project/SmartHab/", "platform": "", "project_url": "https://pypi.org/project/SmartHab/", "project_urls": { "Homepage": "https://gitlab.com/outadoc/python-smarthab/" }, "release_url": "https://pypi.org/project/SmartHab/0.20/", "requires_dist": null, "requires_python": "", "summary": "This package allows controlling devices in a SmartHab-powered home.", "version": "0.20" }, "last_serial": 5249153, "releases": { "0.10": [ { "comment_text": "", "digests": { "md5": "127e3086c9ddff55373c9d331767c3d0", "sha256": "43698dfeee1be33e51f7fae248d473bc994487ddfc8a28cbc16d62d07059747d" }, "downloads": -1, "filename": "SmartHab-0.10.tar.gz", "has_sig": false, "md5_digest": "127e3086c9ddff55373c9d331767c3d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5670, "upload_time": "2019-02-14T19:36:29", "url": "https://files.pythonhosted.org/packages/78/33/2502d3919eb30bbe5309d53e1ce7f7f46cb278b7af01797d19cd06389554/SmartHab-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "bc9dc7b041ceed27354aa830f19ee89c", "sha256": "425925e7eb7869948b42d8270a620966c2dffbc8cc073d5e9245b21ac9f2d21a" }, "downloads": -1, "filename": "SmartHab-0.11.tar.gz", "has_sig": false, "md5_digest": "bc9dc7b041ceed27354aa830f19ee89c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5703, "upload_time": "2019-02-19T19:42:26", "url": "https://files.pythonhosted.org/packages/5d/96/d8e6bb2fae399dc3f79859faf5f3fd326d2aa19bbd61b24fa130bb117c8c/SmartHab-0.11.tar.gz" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "737cce749bbf188e9c928f4fbce40cee", "sha256": "f8620ac535d0c98d748d0e853214d1223bf4fa21d7e4e4abbb7e6aa503d2d7dc" }, "downloads": -1, "filename": "SmartHab-0.12.tar.gz", "has_sig": false, "md5_digest": "737cce749bbf188e9c928f4fbce40cee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5720, "upload_time": "2019-02-23T10:10:08", "url": "https://files.pythonhosted.org/packages/48/fa/8ad6cbc7c364a6582d94e3849296aabfd1a5f55b0194421f823c404c8ebe/SmartHab-0.12.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "a41cbd24be7121b127e15036afaa3719", "sha256": "6328e9d9fcb73c49c426b4786ff202085e8b50560040deb7b35ced5f6b79e869" }, "downloads": -1, "filename": "SmartHab-0.13.tar.gz", "has_sig": false, "md5_digest": "a41cbd24be7121b127e15036afaa3719", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5698, "upload_time": "2019-02-23T21:47:12", "url": "https://files.pythonhosted.org/packages/d6/79/7b08f4c3137ae5353949111fbf48f9f53390eda7d79ced2cfba3656b50de/SmartHab-0.13.tar.gz" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "bfb613553e8519c9c04d11fbfbbc6288", "sha256": "9d2de657b4ea26c4065a36947899ca469248fe32ec03833260f9031c795af187" }, "downloads": -1, "filename": "SmartHab-0.14.tar.gz", "has_sig": false, "md5_digest": "bfb613553e8519c9c04d11fbfbbc6288", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5698, "upload_time": "2019-02-23T22:23:53", "url": "https://files.pythonhosted.org/packages/26/63/a99daeef78fa5e840838a4e12904d5ba466454c2d31b39576708f3717cab/SmartHab-0.14.tar.gz" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "b86c4b97380edf7c232b8f81e158b286", "sha256": "ed7b3cf179d681ef67e4b555922369b80df85c577946cc7387189f4ffd13a0b4" }, "downloads": -1, "filename": "SmartHab-0.15.tar.gz", "has_sig": false, "md5_digest": "b86c4b97380edf7c232b8f81e158b286", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6270, "upload_time": "2019-03-01T07:02:59", "url": "https://files.pythonhosted.org/packages/eb/93/541d9d5fa935ecfab54af358229eea6c0b9c7a5c91ea7e39c9803a8899a8/SmartHab-0.15.tar.gz" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "1468b6664d21d5cef4460e8bdf31fd43", "sha256": "a523e438b7a566590f07f676870d9e7a422b89287708fbedfc467dd0e05ba3f4" }, "downloads": -1, "filename": "SmartHab-0.16.tar.gz", "has_sig": false, "md5_digest": "1468b6664d21d5cef4460e8bdf31fd43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6495, "upload_time": "2019-03-01T18:52:59", "url": "https://files.pythonhosted.org/packages/3a/47/0972f18e56e37bfa13f3979786c2d2ed1783664bf610b3aea861201f8608/SmartHab-0.16.tar.gz" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "c9e1620633f565d919b9edab6f610566", "sha256": "ead9e745d60ee232462def71c983d77211af711bfd31c57cddb48a0632bdded2" }, "downloads": -1, "filename": "SmartHab-0.17.tar.gz", "has_sig": false, "md5_digest": "c9e1620633f565d919b9edab6f610566", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6489, "upload_time": "2019-03-01T19:16:29", "url": "https://files.pythonhosted.org/packages/28/14/3ad47dd19edd791b0311808eb590b6a79ac6e0e693a939634e807c31a114/SmartHab-0.17.tar.gz" } ], "0.18": [ { "comment_text": "", "digests": { "md5": "6de4af0bcae3dd8dcec80014badb55a7", "sha256": "137330e77e1d62a549d2129465ddda72563824d21d0e7f2e3c3c4845b456f4be" }, "downloads": -1, "filename": "SmartHab-0.18.tar.gz", "has_sig": false, "md5_digest": "6de4af0bcae3dd8dcec80014badb55a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6418, "upload_time": "2019-03-15T18:28:00", "url": "https://files.pythonhosted.org/packages/f6/9e/546c2c29ea6f210ef8c73a73c564fb989c0f24d8f1a1f4492eb6c14dea18/SmartHab-0.18.tar.gz" } ], "0.19": [ { "comment_text": "", "digests": { "md5": "0a6a222aad1e4022650b95baf2a447b5", "sha256": "b2cb5416273d37d85012ef75573743e434be4ead2f014c080f45d855c1acfdb8" }, "downloads": -1, "filename": "SmartHab-0.19.tar.gz", "has_sig": false, "md5_digest": "0a6a222aad1e4022650b95baf2a447b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6409, "upload_time": "2019-04-09T19:17:46", "url": "https://files.pythonhosted.org/packages/36/da/230f6a72cb385a75e2333d1c264555abc80ba0da9230c1182f3a5f6b9f78/SmartHab-0.19.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b5d61979cd6e6ebd08247a5e6b0b8d9e", "sha256": "2ef3450e55764591e9e85c9f37fed6b999a61816cb1318ff22c883af17ba6b66" }, "downloads": -1, "filename": "SmartHab-0.2.tar.gz", "has_sig": false, "md5_digest": "b5d61979cd6e6ebd08247a5e6b0b8d9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5117, "upload_time": "2019-02-12T21:05:25", "url": "https://files.pythonhosted.org/packages/c6/92/1ea84a5f2386dfdf67efcedb5bf2305613d16a6266862889bff4ecc421da/SmartHab-0.2.tar.gz" } ], "0.20": [ { "comment_text": "", "digests": { "md5": "1b99ade1b27e4ab0da19243f3804e51d", "sha256": "cbd32b96cf236bf24df8ecb21a3608edb20d53fab3109f829bb242f605ceff2f" }, "downloads": -1, "filename": "SmartHab-0.20.tar.gz", "has_sig": false, "md5_digest": "1b99ade1b27e4ab0da19243f3804e51d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6424, "upload_time": "2019-05-09T19:28:15", "url": "https://files.pythonhosted.org/packages/a1/93/d34bc95882a44e7c6f5a1dce570599bbbf796a2640b5119ce3ee93eb1e38/SmartHab-0.20.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "abda2d85db18526d16e65473aff72756", "sha256": "c0b9ffc66b353211191efe191365b8f0605da767568dd750ee339299cd23409b" }, "downloads": -1, "filename": "SmartHab-0.3.tar.gz", "has_sig": false, "md5_digest": "abda2d85db18526d16e65473aff72756", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5124, "upload_time": "2019-02-12T21:42:49", "url": "https://files.pythonhosted.org/packages/ab/52/65125ae44fe002768e741148474dfa1470516a3261a4e0736a018493bbd2/SmartHab-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "9617454589d1ccb3a0e78838b6c9972c", "sha256": "7b8a2dd5cb79c24daf6a629706cb0acbf99c962ed05f2224e666b8db917bff10" }, "downloads": -1, "filename": "SmartHab-0.4.tar.gz", "has_sig": false, "md5_digest": "9617454589d1ccb3a0e78838b6c9972c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5164, "upload_time": "2019-02-12T22:19:30", "url": "https://files.pythonhosted.org/packages/2a/c3/8d6d93d0d9ae4e081637d008e735387799be7588b5b2e83d8e31f7ec9464/SmartHab-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "d6205083fc86b7402832bef6bacbcfd9", "sha256": "4e29c9414dc9a85f9cfbf7edacc8ae9b762e38c5948a34712d9f1e409228d49d" }, "downloads": -1, "filename": "SmartHab-0.5.tar.gz", "has_sig": false, "md5_digest": "d6205083fc86b7402832bef6bacbcfd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5207, "upload_time": "2019-02-12T23:01:29", "url": "https://files.pythonhosted.org/packages/f7/2b/332d25324770b098c2265d3eb2b591768faa025379d4fd2882696b7fa381/SmartHab-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "03591daaa46cd369a55bfa665547cb5a", "sha256": "ac82e9639212649a9526959433f159cf4712d17b7bd04dc39291d480ad8d4186" }, "downloads": -1, "filename": "SmartHab-0.6.tar.gz", "has_sig": false, "md5_digest": "03591daaa46cd369a55bfa665547cb5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5199, "upload_time": "2019-02-13T00:12:51", "url": "https://files.pythonhosted.org/packages/29/71/86eeaa95a2dc067ff441173156fb1441f9f327155bea056944086547aa2c/SmartHab-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "c115d0480bc8f6d21c49b9cb70a351c1", "sha256": "09cba4cce179bbbdf56c1d746633e53f76878eeb70ea001aac858434262ff7cb" }, "downloads": -1, "filename": "SmartHab-0.7.tar.gz", "has_sig": false, "md5_digest": "c115d0480bc8f6d21c49b9cb70a351c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5219, "upload_time": "2019-02-13T18:29:09", "url": "https://files.pythonhosted.org/packages/fa/35/9770c19ab0ea59e0d6be3cf27cb93d14670c533d4265b7405f4e36ffd6a3/SmartHab-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "39aa8565a302fb61fb280ca8ad55ff3f", "sha256": "467d5877ff5df8146ee14b65740c19b7f47268ac24e462d7b7298cfdbcb0279b" }, "downloads": -1, "filename": "SmartHab-0.8.tar.gz", "has_sig": false, "md5_digest": "39aa8565a302fb61fb280ca8ad55ff3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5207, "upload_time": "2019-02-13T19:10:10", "url": "https://files.pythonhosted.org/packages/a8/ad/dc176c328e0eb8a354301bfc1b80762b142349a9d65abf54001fbdfb14f9/SmartHab-0.8.tar.gz" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "21565fe44b61a3cca0be99ef8064ffdd", "sha256": "a6052ee21f6bd6523273e4434cab09a0d5969e752db8335af902f65de7138bd4" }, "downloads": -1, "filename": "SmartHab-0.8.1.tar.gz", "has_sig": false, "md5_digest": "21565fe44b61a3cca0be99ef8064ffdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5618, "upload_time": "2019-02-13T19:45:37", "url": "https://files.pythonhosted.org/packages/58/ab/32395c3eac55d6269439f40fa1c0838e213c2029aebcc0e3847cf128ddc9/SmartHab-0.8.1.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "822b47e9e04a3bcade64855b659a8d69", "sha256": "ec694508b84334cddb93ff3737c2aafa5edc622496b6e15037e55ccd758ec84c" }, "downloads": -1, "filename": "SmartHab-0.9.tar.gz", "has_sig": false, "md5_digest": "822b47e9e04a3bcade64855b659a8d69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5628, "upload_time": "2019-02-13T19:58:32", "url": "https://files.pythonhosted.org/packages/ff/de/6c4e4c31c97ff9bfca8249d777d26f5d866cbe11466fa78c9319f379c27f/SmartHab-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b99ade1b27e4ab0da19243f3804e51d", "sha256": "cbd32b96cf236bf24df8ecb21a3608edb20d53fab3109f829bb242f605ceff2f" }, "downloads": -1, "filename": "SmartHab-0.20.tar.gz", "has_sig": false, "md5_digest": "1b99ade1b27e4ab0da19243f3804e51d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6424, "upload_time": "2019-05-09T19:28:15", "url": "https://files.pythonhosted.org/packages/a1/93/d34bc95882a44e7c6f5a1dce570599bbbf796a2640b5119ce3ee93eb1e38/SmartHab-0.20.tar.gz" } ] }