{
"info": {
"author": "Lars Michelsen",
"author_email": "lm@larsmichelsen.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Embedded Systems",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "pmatic\n======\n\n.. image:: https://badge.fury.io/py/pmatic.svg\n :target: https://badge.fury.io/py/pmatic\n.. image:: https://travis-ci.org/LarsMichelsen/pmatic.svg?branch=master\n :target: https://travis-ci.org/LarsMichelsen/pmatic\n.. image:: https://coveralls.io/repos/github/LarsMichelsen/pmatic/badge.svg?branch=master\n :target: https://coveralls.io/github/LarsMichelsen/pmatic?branch=master\n.. image:: https://api.codacy.com/project/badge/grade/0b6d7874a5e248a2af685761cccc131c\n :target: https://www.codacy.com/app/lm/pmatic\n.. image:: https://landscape.io/github/LarsMichelsen/pmatic/master/landscape.svg?style=flat\n :target: https://landscape.io/github/LarsMichelsen/pmatic/master\n\n\nPython API for Homematic. Easy to use.\n\nThe `pmatic `__ module provides\naccess to the Homematic CCU which operates as the central unit in\nHomematic based home automation setups. You can use pmatic directly on\nthe CCU or another system having Python installed. With pmatic you can\nwrite your own Python scripts to communicate with your CCU device.\n\nWhat to do with pmatic?\n-----------------------\n\n- Create even small (one line) scripts to read info or trigger actions.\n- Execute scripts on any linux system or directly on the CCU.\n- Edit scripts in your favorite editor, test on your workstation,\n deploy on another device, for example the CCU, later.\n- Code in a very beginner friendly language: Python.\n- Organize and control your scripts on the CCU using the pmatic manager\n\nWhy pmatic?\n-----------\n\nBefore I built this API I tried to create a small script to *just* check\nall my window sensors, record the time they are opened and then alarm me\nto close the window if it was open for too long. No problem I thought.\nLesson learned: It is possible. But only while having a huuuuge pain.\nThe scripting language is crapy, the web GUI editor misses basic things\nlike syntax highlighting, undo/redo, auto saving and so on which make\nprogramming comfortable. Last but not least the debugging was a pain or\nnot possible at all.\n\nShould be possible to make this a lot easier.\n\nI found several other middlewares and libraries for accessing the CCU2\nAPIs, but most of them required to be executed in somehow specific\nenvironments, were not platform independet or implemented in other crapy\nprogramming languages.\n\nI know sure there is still much room for improvement and cleaner APIs,\nbut for the moment I think even this small API wrapper is an\nimprovement.\n\nSo how does it work?\n--------------------\n\npmatic has been implemented in Python. What? Python is not available on\nthe CCU2, do I need to run it remotely on a separate device now? Yes,\nyou can. But it is also possible to use it on the CCU2 by installing a\npython interpreter with the necessary modules on the device. We'll get\nback to it later.\n\nSo you have the option to run your pmatic scripts remotely and on the\nCCU2. The code stays the same. This means you can develop your scripts\non your workstation, test and debug it using a remote connection to your\nCCU2.\n\nYou can use all the API methods provided by the CCU2. The data is parsed\nand available as python lists or dicts. You can then process the data in\nyour Python code and use the editor of your choice, use all possible\ndebugging and profiling features you can imagine with Python.\n\nIt's so much fun :-).\n\nEven if you write pmatic in Python, you can also execute custom ReGa\n(Homematic Script) through pmatic and also process the output of these\nscripts, if you like.\n\nThe pmatic manager provides you with a web GUI on your CCU which you can\nuse to manage (upload, delete, test) your pmatic scripts with. You can\nalso create scheduling plans in which situations your scripts should be\nexecuted automatically. This can currently be on manager startup, based\non time or based on device events reported by the CCU. Take a look at\nthe documentation for screenshots and more details.\n\nRequirements\n------------\n\nPmatic is currently not expecting any special Python modules. pmatic is\nsupported with Python 2.7, 3.4 and newer. Older versions of Python are\nnot supported.\n\nThe pmatic package can be installed and used on the Homematic CCU2 device\nwithout any other requirements. The package ships whole Python installation\nand pmatic with it. Please note that pmatic will not work on the CCU1,\nbecause the ressources on the CCU1 are too limited.\n\nThere are some which are already use pmatic on Windows systems which\nhave a Python interpreter installed. But I did not test it and I am\npretty sure there are some changes needed to make it completely work. At\nleast the pmatic Manager will not work without some changes.\n\nAt least the basic functionality of Pmatic has also been tested on OS X\nusing Python 2.7 and 3.4 from MacPorts. But as for Windows the pmatic\nManager has not been tested on OS X yet.\n\nI am always open to support more platforms. So if one likes to add\nsupport for more, please let me know.\n\nInstallation\n------------\n\nTake a look at the `installation\ndocumentation `__.\n\nDocumentation\n-------------\n\nThe current\n`documentation `__\ncan be found on the official web site of pmatic.\n\nUsage\n-----\n\nYou can find several usage examples in the ``examples``. I'll try to add\nmore in the near future. Some more examples can be found in the\n`documentation `__.\n\nJust a short example:\n\n::\n\n #!/usr/bin/python\n\n import pmatic\n ccu = pmatic.CCU()\n\n for device in ccu.devices.query(device_type=\"HM-Sec-SC\"):\n print(\"%-20s %6s\" % (device.name, device.is_open and \"open\" or \"closed\"))\n\nWhat is planned?\n----------------\n\nPlease take a look at the issue tracker and the TODO file.\n\nWhat really is needed is specific support for the different Homematic\ndevices. I added some specific classes for devices I have to the\n``pmatic/devices.py`` but have not added properties and methods to\nreflect their individual features. And there are also a lot of devices I\ndon't own. It would be really helpful if you could help out adding more\ndevices to pmatic.\n\nThis will make it a lot easier to use pmatic. Because, for example\ncalling ``device.is_battery_low`` is a lot more comfortable than digging\ninto the details of a device and find out you have to call\n``self.channels[4].values[\"FAULT_REPORTING\"].formated() == \"LOWBAT\"``.\n\nSo please help adding more devices!\n\nChanges\n-------\n\nPlease take a look at the `changelog\n`__\nfor a detailed list of changes.\n\nReporting Bugs, Feature Requests\n--------------------------------\n\nPlease use the issue tracker on the `pmatic GitHub\npage `__.\n\nLicensing\n---------\n\nCopyright \u00a9 2016 Lars Michelsen lm@larsmichelsen.com. All rights\nreserved.\n\nAll outcome of the project is licensed under the terms of the GNU GPL\nv2. Take a look at the LICENSE file for details.",
"description_content_type": null,
"docs_url": null,
"download_url": "https://pypi.python.org/pypi/pmatic",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://larsmichelsen.github.io/pmatic/",
"keywords": "Homematic,Python,CCU,Automating,Scripting,Home Automation",
"license": "GPLv2",
"maintainer": "",
"maintainer_email": "",
"name": "pmatic",
"package_url": "https://pypi.org/project/pmatic/",
"platform": "Linux,Windows,OS X,CCU2",
"project_url": "https://pypi.org/project/pmatic/",
"project_urls": {
"Download": "https://pypi.python.org/pypi/pmatic",
"Homepage": "https://larsmichelsen.github.io/pmatic/"
},
"release_url": "https://pypi.org/project/pmatic/0.6/",
"requires_dist": null,
"requires_python": "",
"summary": "Python API for Homematic. Easy to use.",
"version": "0.6"
},
"last_serial": 2561084,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "97d920e966198ab2fdc1aca0f7d5e52b",
"sha256": "0d06634e399930b51cb175da5e6371e345a20701fdab618186069221678d838b"
},
"downloads": -1,
"filename": "pmatic-0.1_ccu.tar.gz",
"has_sig": false,
"md5_digest": "97d920e966198ab2fdc1aca0f7d5e52b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2388221,
"upload_time": "2016-03-13T10:01:08",
"url": "https://files.pythonhosted.org/packages/d2/bd/f2d73db0bea522b391ae98bf6e25a73b26717ba348ce0d1f9dbaf0f7ac27/pmatic-0.1_ccu.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "15627d2d11a50beac487762f27a396c1",
"sha256": "0e7efff427f83a6807f0506ccc3af86663e4d513a69d016d5086137939c2f603"
},
"downloads": -1,
"filename": "pmatic-0.1-py2.7.egg",
"has_sig": false,
"md5_digest": "15627d2d11a50beac487762f27a396c1",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 137177,
"upload_time": "2016-03-13T09:43:47",
"url": "https://files.pythonhosted.org/packages/ff/98/b5c260ee86943b368ab04faa1981b525f768d256c11e7e8c1880ed1008cd/pmatic-0.1-py2.7.egg"
},
{
"comment_text": "",
"digests": {
"md5": "424f50d4aaf76f64aa2f2352b5d2c68b",
"sha256": "537a269a59d82d4eda7c19b8dcc70a80e4330b4e9d639e35c186fe6878de7e8a"
},
"downloads": -1,
"filename": "pmatic-0.1-py3.4.egg",
"has_sig": false,
"md5_digest": "424f50d4aaf76f64aa2f2352b5d2c68b",
"packagetype": "bdist_egg",
"python_version": "3.4",
"requires_python": null,
"size": 140135,
"upload_time": "2016-03-13T09:44:17",
"url": "https://files.pythonhosted.org/packages/91/0c/8e9f9eb8b2da2fa1abba2bf68a22fc38101113baa4ee3882eb63183b36f4/pmatic-0.1-py3.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "a7423376ef9854baf1c287d4b3b36518",
"sha256": "d7734cb763ce376f569138a24e23042c7fafebfa44622cc7abcdaa01377df1e0"
},
"downloads": -1,
"filename": "pmatic-0.1.tar.gz",
"has_sig": false,
"md5_digest": "a7423376ef9854baf1c287d4b3b36518",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 61679,
"upload_time": "2016-03-13T09:44:40",
"url": "https://files.pythonhosted.org/packages/4d/4d/652f4a6dc61db1e8ae194a6c34b603467e8139adf3889b2560948760b8b5/pmatic-0.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "01dcfd7443a189035b9699a5d4bc4f55",
"sha256": "c094299d7eb01fda770b96f23983645f27dd211a2418898a96cc3d093024ad32"
},
"downloads": -1,
"filename": "pmatic-0.2_ccu.tar.gz",
"has_sig": false,
"md5_digest": "01dcfd7443a189035b9699a5d4bc4f55",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3304404,
"upload_time": "2016-04-06T20:11:15",
"url": "https://files.pythonhosted.org/packages/19/91/52df25726829b8a5bf54462765958de46cb533855f4a2f5d7230bf355021/pmatic-0.2_ccu.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "94495018be35ce6808e1f972cfb6ae8d",
"sha256": "46c97dcaff4d6a111ff93a4151f4475089523f7659909e766f4e9101123324df"
},
"downloads": -1,
"filename": "pmatic-0.2-py2.7.egg",
"has_sig": false,
"md5_digest": "94495018be35ce6808e1f972cfb6ae8d",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 180251,
"upload_time": "2016-04-06T20:10:25",
"url": "https://files.pythonhosted.org/packages/b3/14/8f9c55ae817ff1ce42c423f2fc248ccb77fdd99bac38a874e17a577b5814/pmatic-0.2-py2.7.egg"
},
{
"comment_text": "",
"digests": {
"md5": "9d2f8bd521e85605565e0fa55f9c2cf0",
"sha256": "4afc9c9acc4ca2d3d07226311fae1d89dabbfdb1e2e3f38f56d00f584f315a7a"
},
"downloads": -1,
"filename": "pmatic-0.2-py3.4.egg",
"has_sig": false,
"md5_digest": "9d2f8bd521e85605565e0fa55f9c2cf0",
"packagetype": "bdist_egg",
"python_version": "3.4",
"requires_python": null,
"size": 184376,
"upload_time": "2016-04-06T20:10:34",
"url": "https://files.pythonhosted.org/packages/08/ae/6a20f5548fc949b34fe2c0fa554301114f55d2d991a64686aa0df70963ce/pmatic-0.2-py3.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "ba9bd02f158fe0a9157ad9775ee407e3",
"sha256": "f97c6d77767a972989b7edb9ded1d7d58ef7f21d284c53c56a83a3d4a4c18c7f"
},
"downloads": -1,
"filename": "pmatic-0.2.tar.gz",
"has_sig": false,
"md5_digest": "ba9bd02f158fe0a9157ad9775ee407e3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 74731,
"upload_time": "2016-04-06T20:10:51",
"url": "https://files.pythonhosted.org/packages/cb/05/39a4649a3d8202835be1a930f32ec967706a696daa787e00183be94280f3/pmatic-0.2.tar.gz"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "7235c79a711e8ecb5d8cfc4633df216f",
"sha256": "d8569bc99609d5d995fb70a2579169e8d329bdba0b201826ddd717801fb17c94"
},
"downloads": -1,
"filename": "pmatic-0.3_ccu.tar.gz",
"has_sig": false,
"md5_digest": "7235c79a711e8ecb5d8cfc4633df216f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5065216,
"upload_time": "2016-04-19T19:38:43",
"url": "https://files.pythonhosted.org/packages/f8/aa/9fbb80188486af179b35dcb817ac8f51ee2b043842a067e880de5d5ecf64/pmatic-0.3_ccu.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "451ad3d75304ac9c5b30ad6f9e38bfbd",
"sha256": "79c5acd52f2dea4fbb742e6170a95a70233a1be36b5944d5a88e1b6db54bbcc7"
},
"downloads": -1,
"filename": "pmatic-0.3-py2.7.egg",
"has_sig": false,
"md5_digest": "451ad3d75304ac9c5b30ad6f9e38bfbd",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 180023,
"upload_time": "2016-04-19T19:38:20",
"url": "https://files.pythonhosted.org/packages/5f/30/5e5440738f1281af0520845f0d277a6059805ee8d6ae93f7ff2ef7a75e4e/pmatic-0.3-py2.7.egg"
},
{
"comment_text": "",
"digests": {
"md5": "6e4394d2759dc566bc2a84c9dd205534",
"sha256": "7fb530cbf44d0f27c6e10043dd2a790d8f0c91257ce517aa04c207a62d641845"
},
"downloads": -1,
"filename": "pmatic-0.3-py3.4.egg",
"has_sig": false,
"md5_digest": "6e4394d2759dc566bc2a84c9dd205534",
"packagetype": "bdist_egg",
"python_version": "3.4",
"requires_python": null,
"size": 184044,
"upload_time": "2016-04-19T19:38:27",
"url": "https://files.pythonhosted.org/packages/43/d0/ed60d6a0818132e40da40d0f85c18a90f3970216a4b8cbf9272c7bdffd9a/pmatic-0.3-py3.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "b9d0dd09bf0e0b9d65fef4d246e3afe5",
"sha256": "c511e69a7bca7a7457c51afe8ba00b0afd4853f3ae7d089cd47c8d5e65eca866"
},
"downloads": -1,
"filename": "pmatic-0.3.tar.gz",
"has_sig": false,
"md5_digest": "b9d0dd09bf0e0b9d65fef4d246e3afe5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 77193,
"upload_time": "2016-04-19T19:38:33",
"url": "https://files.pythonhosted.org/packages/f7/76/9b3943e0404d72bc76ae60c070234b30b9b532197f1e28cab12d3eda68b1/pmatic-0.3.tar.gz"
}
],
"0.4": [
{
"comment_text": "",
"digests": {
"md5": "8967d89bb4e85518a0165c7ab2943f40",
"sha256": "ae73ddc3c9ba03c7260b0a900c87db998156c8003494fe8e88e8a03e47071dfb"
},
"downloads": -1,
"filename": "pmatic-0.4_ccu.tar.gz",
"has_sig": false,
"md5_digest": "8967d89bb4e85518a0165c7ab2943f40",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5080716,
"upload_time": "2016-07-14T17:47:08",
"url": "https://files.pythonhosted.org/packages/41/8b/20fde8e0fe212aa72f79af49bd8f0b05363ab04b26a39916632bc5c6e652/pmatic-0.4_ccu.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "7615064ac7dda31dc3ed43b39901b416",
"sha256": "5b67c0615569a5e2e18b5295c220befe52f390ef01220375a747c5256305f78f"
},
"downloads": -1,
"filename": "pmatic-0.4-py2.7.egg",
"has_sig": false,
"md5_digest": "7615064ac7dda31dc3ed43b39901b416",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 185979,
"upload_time": "2016-07-14T17:46:54",
"url": "https://files.pythonhosted.org/packages/b5/16/914da396295ef30c6fc0fa9b37b01b7c9d29bd188a4d45937df02cadf834/pmatic-0.4-py2.7.egg"
},
{
"comment_text": "",
"digests": {
"md5": "b9dfb78f846993b7385703ffc7de682a",
"sha256": "5c16dadea00935ea1525229b7b2d23bf215a91c85868826d39653ea2bf3c8555"
},
"downloads": -1,
"filename": "pmatic-0.4-py3.4.egg",
"has_sig": false,
"md5_digest": "b9dfb78f846993b7385703ffc7de682a",
"packagetype": "bdist_egg",
"python_version": "3.4",
"requires_python": null,
"size": 190209,
"upload_time": "2016-07-14T17:46:57",
"url": "https://files.pythonhosted.org/packages/b4/ff/b0ef8843779b18e7eec625f0e0a5f174af20b24440058d15d1ba3eed8deb/pmatic-0.4-py3.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "e3536615af130a323cf50cf5ce449477",
"sha256": "b854ba118039fd4b9e130f067f2b1805c06f4ba722a400f543b2854ccbeed998"
},
"downloads": -1,
"filename": "pmatic-0.4.tar.gz",
"has_sig": false,
"md5_digest": "e3536615af130a323cf50cf5ce449477",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 81603,
"upload_time": "2016-07-14T17:47:00",
"url": "https://files.pythonhosted.org/packages/6f/aa/29bb0c057f48723c8db73be672dc6a487ab3b687c11e286e1e0e5ef8e793/pmatic-0.4.tar.gz"
}
],
"0.5": [
{
"comment_text": "",
"digests": {
"md5": "13615c730b471c60915c41b0157a06e1",
"sha256": "7902c9b008c978279fe64188014a5e46c7a2ee835bebe2ec99f2fe5e3cd9aa83"
},
"downloads": -1,
"filename": "pmatic-0.5-py2.7.egg",
"has_sig": false,
"md5_digest": "13615c730b471c60915c41b0157a06e1",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 191951,
"upload_time": "2017-01-08T19:45:23",
"url": "https://files.pythonhosted.org/packages/08/15/5fe58e317a9e7b16245ebdc6a038c71c3d335e8afde6c61aab567604496a/pmatic-0.5-py2.7.egg"
},
{
"comment_text": "",
"digests": {
"md5": "fd273a3b3c7897762b402fc89c677a10",
"sha256": "af0fe14e44fdb7a9db824a454f0b01d54a05bd2c2e7bdb71952d499b93692ce9"
},
"downloads": -1,
"filename": "pmatic-0.5-py3.4.egg",
"has_sig": false,
"md5_digest": "fd273a3b3c7897762b402fc89c677a10",
"packagetype": "bdist_egg",
"python_version": "3.4",
"requires_python": null,
"size": 196306,
"upload_time": "2017-01-08T19:45:26",
"url": "https://files.pythonhosted.org/packages/59/b6/b5d500828c08a2910e78acee7595539d94643d6a70ce8f8aff2d3b1c54d4/pmatic-0.5-py3.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "e5acdcb9a80726a91b557495b51b6651",
"sha256": "21b80156310c4e93e67b790ce709aabbce9c1749ba23b311e494a5af5a9cba64"
},
"downloads": -1,
"filename": "pmatic-0.5.tar.gz",
"has_sig": false,
"md5_digest": "e5acdcb9a80726a91b557495b51b6651",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 82300,
"upload_time": "2017-01-08T19:45:28",
"url": "https://files.pythonhosted.org/packages/0e/ff/43e0bb750dde0167c1eec1051452bf6e65a302a8a5ac3aaed9d0692cea4c/pmatic-0.5.tar.gz"
}
],
"0.6": [
{
"comment_text": "",
"digests": {
"md5": "cdd3b44fd740a54906b2b8e6a8273ac3",
"sha256": "6d75e65b4d4a6cf55fddf2162a7142322c14aba7144b6e9d074093afec9c2a3b"
},
"downloads": -1,
"filename": "pmatic-0.6.tar.gz",
"has_sig": false,
"md5_digest": "cdd3b44fd740a54906b2b8e6a8273ac3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 82292,
"upload_time": "2017-01-08T19:57:25",
"url": "https://files.pythonhosted.org/packages/06/7d/544760bd82585cf4ae8b9945b8faa7f44593c6f2f57e37dc2a3c5b0d2cfc/pmatic-0.6.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "cdd3b44fd740a54906b2b8e6a8273ac3",
"sha256": "6d75e65b4d4a6cf55fddf2162a7142322c14aba7144b6e9d074093afec9c2a3b"
},
"downloads": -1,
"filename": "pmatic-0.6.tar.gz",
"has_sig": false,
"md5_digest": "cdd3b44fd740a54906b2b8e6a8273ac3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 82292,
"upload_time": "2017-01-08T19:57:25",
"url": "https://files.pythonhosted.org/packages/06/7d/544760bd82585cf4ae8b9945b8faa7f44593c6f2f57e37dc2a3c5b0d2cfc/pmatic-0.6.tar.gz"
}
]
}