{ "info": { "author": "Richard Orr", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Other Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Home Automation", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "LifeSOSpy\n=========\n\nA Python library to communicate with `LifeSOS`_ alarm systems. In some\nmarkets, they may also be labelled under the name of the distributor;\neg. SecurePro in Australia, WeBeHome in northern Europe.\n\nIt was written for & tested with the LS-30 model, though it should also\nwork on the LS-10/LS-20 models.\n\nThe base unit must be connected to your network in order for this\nlibrary to communicate with it; serial connections are not currently\nsupported.\n\nNote: This library is intended for developer use. If you\u00e2\u20ac\u2122re just looking\nto access your LifeSOS alarm system, devices and switches from other\napplications, I\u00e2\u20ac\u2122d suggest taking a look at `LifeSOSpy_MQTT`_ instead. It\nprovides an MQTT Client implementation that easily integrates with\napplications that support MQTT (eg. Home Assistant, OpenHAB).\n\n--------------\n\nWhen using this library in your app there are three main classes to\nchoose from:\n\nBaseUnit\n~~~~~~~~\n\nProvides higher level access to the alarm system, managing the Client /\nServer connection for you. It will automatically enumerate all attached\ndevices on connection, monitor the state of the base unit & devices with\nnotification when they change, and automatically attempt reconnection\n(when running as client).\n\nThis class was created to simplify integration into home automation\nsoftware.\n\nClient / Server\n~~~~~~~~~~~~~~~\n\nThese two classes allow you to directly issue commands to the alarm\nsystem, and attach callbacks to handle any events if needed.\n\nSimple Client Examples\n''''''''''''''''''''''\n\nDisplay the current mode\n\n\n.. code:: python\n\n from lifesospy.client import Client\n from lifesospy.command import GetOpModeCommand\n\n client = Client('192.168.1.100', 1680)\n await client.async_open()\n response = await client.async_execute(GetOpModeCommand())\n print(\"Operation mode is {}\".format(str(response.operation_mode)))\n client.close()\n\n..\n\n Operation mode is Disarm\n\nArm the system\n\n\n.. code:: python\n\n from lifesospy.client import Client\n from lifesospy.command import SetOpModeCommand\n from lifesospy.enums import OperationMode\n\n client = Client('192.168.1.100', 1680)\n await client.async_open()\n await client.async_execute(SetOpModeCommand(OperationMode.Away))\n client.close()\n\n.. _LifeSOS: http://lifesos.com.tw\n.. _LifeSOSpy_MQTT: https://github.com/rorr73/LifeSOSpy_MQTT\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rorr73/lifesospy", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "lifesospy", "package_url": "https://pypi.org/project/lifesospy/", "platform": "", "project_url": "https://pypi.org/project/lifesospy/", "project_urls": { "Homepage": "https://github.com/rorr73/lifesospy" }, "release_url": "https://pypi.org/project/lifesospy/0.10.1/", "requires_dist": [ "aenum" ], "requires_python": ">=3.5.3", "summary": "Provides an interface to LifeSOS alarm systems.", "version": "0.10.1" }, "last_serial": 4690756, "releases": { "0.10.0": [ { "comment_text": "", "digests": { "md5": "8fc6823b0bdade16b495c7d4708d7612", "sha256": "759a9b6f097e528caa8cfe8c9affc9e66f8b58475338571219c4de0c7f28071d" }, "downloads": -1, "filename": "lifesospy-0.10.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8fc6823b0bdade16b495c7d4708d7612", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 45963, "upload_time": "2018-07-21T10:30:47", "url": "https://files.pythonhosted.org/packages/0d/89/28b61e85dd5c80142d80054b1232d319e80c58c57ebcdbfa1ae5f441da88/lifesospy-0.10.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8033b35d42c4d32701e4aa12fce8d705", "sha256": "8d26d53817007b6bb51e62c4da4943053c4ae07f21e345aee0019c7d15611673" }, "downloads": -1, "filename": "lifesospy-0.10.0.tar.gz", "has_sig": false, "md5_digest": "8033b35d42c4d32701e4aa12fce8d705", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 38425, "upload_time": "2018-07-21T10:30:48", "url": "https://files.pythonhosted.org/packages/ac/af/c5ab8aa57b4d44e10686fcc141f7d03e253a212c215f5a5869e45f5c9b6c/lifesospy-0.10.0.tar.gz" } ], "0.10.1": [ { "comment_text": "", "digests": { "md5": "93e7a2e0ea73889844fc8668b371edd4", "sha256": "0fe7723c7a262a184177d62e1a3ccb110d35cf0338ff9b6d6c97997c7faedd29" }, "downloads": -1, "filename": "lifesospy-0.10.1-py3-none-any.whl", "has_sig": false, "md5_digest": "93e7a2e0ea73889844fc8668b371edd4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 46131, "upload_time": "2019-01-13T13:47:24", "url": "https://files.pythonhosted.org/packages/00/27/ca6e2cbab9dbdfa67d446cb44b15d417c607f83f5d55a7998852390fc981/lifesospy-0.10.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "32d6a083b53803cdc2ca1c95a8f7166f", "sha256": "19ff611bfe9370bcb94d1d836904938b6c8f0c6fa0abe5358fa577436c74e161" }, "downloads": -1, "filename": "lifesospy-0.10.1.tar.gz", "has_sig": false, "md5_digest": "32d6a083b53803cdc2ca1c95a8f7166f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 38625, "upload_time": "2019-01-13T13:47:26", "url": "https://files.pythonhosted.org/packages/e4/05/b6a90c4d9334423445eabe4e0fdbb8631d8cae4f6f6cac75c9dc279fbdbc/lifesospy-0.10.1.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "5d2f7451f0fb30b9b28ab405cdc0a3ae", "sha256": "7342636078da2ffb048d9b735fd300b804a784a01f1ae91826989779213f3991" }, "downloads": -1, "filename": "lifesospy-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5d2f7451f0fb30b9b28ab405cdc0a3ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 42567, "upload_time": "2018-07-01T15:24:40", "url": "https://files.pythonhosted.org/packages/d6/c6/126e7dab8e17bfaa754675c47def3db4fba5a7fef49cffa94765eaf15a0e/lifesospy-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ef1efa592bc7f82a1923674a1187a0c", "sha256": "07a46b9869ceab7092e6494572fa517703bf31bec25b9beb2d107b5d6cf928a3" }, "downloads": -1, "filename": "lifesospy-0.7.0.tar.gz", "has_sig": false, "md5_digest": "2ef1efa592bc7f82a1923674a1187a0c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 35191, "upload_time": "2018-07-01T15:24:41", "url": "https://files.pythonhosted.org/packages/84/7f/8b9e31586657ddc24524292a909927de4a3b7c00102b66055acc92fcabf8/lifesospy-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "ce10e999428ad21753443c19b5bd799d", "sha256": "ef3068cf70b13511da08601f94dbb32c042908ae948907694fd917dce4986701" }, "downloads": -1, "filename": "lifesospy-0.7.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ce10e999428ad21753443c19b5bd799d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 42527, "upload_time": "2018-07-06T15:41:04", "url": "https://files.pythonhosted.org/packages/2f/a3/5e143858591838d4bb3619967dff3997fb228f6033a9a75e0f2cdb50ea23/lifesospy-0.7.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "033c0ee4dd1689dc9818987b8d2ea387", "sha256": "e72f4002a10c800e30d7c040685d47ab8b99186ad7e0629ed42ed84f83e20cf9" }, "downloads": -1, "filename": "lifesospy-0.7.1.tar.gz", "has_sig": false, "md5_digest": "033c0ee4dd1689dc9818987b8d2ea387", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 35170, "upload_time": "2018-07-06T15:41:05", "url": "https://files.pythonhosted.org/packages/80/08/ee075eab07bf6dbf2fe71fc3b477f18d8458b8cd71dc62159844ba5d2083/lifesospy-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "9b851f6f40b90069a635b4c313966054", "sha256": "40f6c09503a09bc03e374123f176402ebfac98f814ac3d9f30a8c4b847c8b066" }, "downloads": -1, "filename": "lifesospy-0.7.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9b851f6f40b90069a635b4c313966054", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 43601, "upload_time": "2018-07-11T13:10:06", "url": "https://files.pythonhosted.org/packages/d7/1a/4661269ae3470de6bb9e74b39450fdd521d4281b87bc27a19e99edda2856/lifesospy-0.7.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "df75d614118b48d997f761212ae7d2ab", "sha256": "79f02428d5efcd08f494ad8babb63add988ca760f24d04d99d032ad8c135b68f" }, "downloads": -1, "filename": "lifesospy-0.7.2.tar.gz", "has_sig": false, "md5_digest": "df75d614118b48d997f761212ae7d2ab", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 36182, "upload_time": "2018-07-11T13:10:27", "url": "https://files.pythonhosted.org/packages/1d/74/e02ac8157f1a84b6a3a20e713cc27aa9541c0c0787caf69f3d17e5bbedf1/lifesospy-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "64c231e6a248ca6bbd85cf54e2009191", "sha256": "c85e8425c136ffa298a47ea53ad11e41f55100413bfc1d8e05bc0f4e47d0e175" }, "downloads": -1, "filename": "lifesospy-0.7.3-py3-none-any.whl", "has_sig": false, "md5_digest": "64c231e6a248ca6bbd85cf54e2009191", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 45606, "upload_time": "2018-07-12T06:03:34", "url": "https://files.pythonhosted.org/packages/f1/3c/84fb0d55f8839fffd70a09865fc9d370631a568dc15e9d966406958e25da/lifesospy-0.7.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0cf7b619ea472302e0b3d26aa12f964", "sha256": "eec017f4d59199ae7bce97dd9f7572b2af50a872a1ff7116520cf17a7d2f062c" }, "downloads": -1, "filename": "lifesospy-0.7.3.tar.gz", "has_sig": false, "md5_digest": "a0cf7b619ea472302e0b3d26aa12f964", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 37930, "upload_time": "2018-07-12T06:03:35", "url": "https://files.pythonhosted.org/packages/c2/b8/78b13be8607195339ebbfa055634099d58cca6738e95bc52f3b361286ac0/lifesospy-0.7.3.tar.gz" } ], "0.7.4": [ { "comment_text": "", "digests": { "md5": "8f62863692c2228c8465034089f38016", "sha256": "e96498c28f271f0764963bd100ae4dbdfc6ceb7d5bd063c87d026fc7680ec224" }, "downloads": -1, "filename": "lifesospy-0.7.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8f62863692c2228c8465034089f38016", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 45634, "upload_time": "2018-07-14T14:07:45", "url": "https://files.pythonhosted.org/packages/f8/8c/94f83144fd3190082a8466c326f483908d6310a823573f424f8cca8a84a3/lifesospy-0.7.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "007fff3608538b44d08d8580e226c90d", "sha256": "75b709a58bab5e0dc6a7cf139cb665928650ef6f60070fc5edf385cfa52772f7" }, "downloads": -1, "filename": "lifesospy-0.7.4.tar.gz", "has_sig": false, "md5_digest": "007fff3608538b44d08d8580e226c90d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 37956, "upload_time": "2018-07-14T14:07:46", "url": "https://files.pythonhosted.org/packages/bf/08/71915eace0fab4a0a2f6676c12befece3d9689d436da4ea9ef3f13bed781/lifesospy-0.7.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "93e7a2e0ea73889844fc8668b371edd4", "sha256": "0fe7723c7a262a184177d62e1a3ccb110d35cf0338ff9b6d6c97997c7faedd29" }, "downloads": -1, "filename": "lifesospy-0.10.1-py3-none-any.whl", "has_sig": false, "md5_digest": "93e7a2e0ea73889844fc8668b371edd4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 46131, "upload_time": "2019-01-13T13:47:24", "url": "https://files.pythonhosted.org/packages/00/27/ca6e2cbab9dbdfa67d446cb44b15d417c607f83f5d55a7998852390fc981/lifesospy-0.10.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "32d6a083b53803cdc2ca1c95a8f7166f", "sha256": "19ff611bfe9370bcb94d1d836904938b6c8f0c6fa0abe5358fa577436c74e161" }, "downloads": -1, "filename": "lifesospy-0.10.1.tar.gz", "has_sig": false, "md5_digest": "32d6a083b53803cdc2ca1c95a8f7166f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 38625, "upload_time": "2019-01-13T13:47:26", "url": "https://files.pythonhosted.org/packages/e4/05/b6a90c4d9334423445eabe4e0fdbb8631d8cae4f6f6cac75c9dc279fbdbc/lifesospy-0.10.1.tar.gz" } ] }