{ "info": { "author": "Tobias Gawron-Deutsch", "author_email": "tobias@strix.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: No Input/Output (Daemon)", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Home Automation", "Topic :: Utilities" ], "description": "\u03a0\u03b7\u03b1\u03b1\u03bf\u03c2 [1]_ (Hippasos) plays preconfigured sound files upon reception of\npredefined mqtt messages.\n\n.. figure:: img/Microservice%20Overview.png\n :alt: Pelops Overview\n\n Pelops Overview\n\n``Hippasos`` is part of the collection of mqtt based microservices\n`pelops `__. An overview on the microservice\narchitecture and examples can be found at\n(http://gitlab.com/pelops/pelops).\n\nFor Users\n=========\n\nInstallation Core-Functionality\n-------------------------------\n\nPrerequisites for the core functionality are:\n\n::\n\n sudo apt install python3 python3-pip python3-pygame\n sudo pip3 install paho-mqtt pyyaml pygame pelops\n\nInstall via pip:\n\n::\n\n sudo pip3 install epidaurus\n\nTo update to the latest version add ``--upgrade`` as prefix to the\n``pip3`` line above.\n\nInstall via gitlab (might need additional packages):\n\n::\n\n git clone git@gitlab.com:pelops/hippasos.git\n cd hippasos\n sudo python3 setup.py install\n\nThis will install the following shell scripts: \\* ``hippasoss``\n\nThe script cli arguments are: \\* '-c'/'--config' - config file\n(mandatory) \\* '-v' - verbose output (optional) \\* '--version' - show\nthe version number and exit\n\nYAML-Config\n-----------\n\n| A yaml [2]_ file must contain four root blocks: \\* mqtt -\n mqtt-address, mqtt-port, and path to credentials file credentials-file\n (a file consisting of two entries: mqtt-user, mqtt-password) \\* logger\n - which log level and which file to be used\n| \\* sound-mappings - list of sound events\n\n::\n\n mqtt:\n mqtt-address: localhost\n mqtt-port: 1883\n credentials-file: ~/credentials.yaml\n log-level: WARNING\n\n logger:\n log-level: DEBUG\n log-file: hippasos.log\n\n sound-mappings:\n - name: bell_building # unique name for sound event\n sound-file: ../resources/church_bell.ogg # uri to sound file. must be ogg or wav.\n topic-sub: /test/button1 # react to published values on this channel\n message-value: PRESSED # react to this message content\n volume: 0.1 # 0..1 - volume relative to system volume\n active: True # entry ignored if set to False\n\nsystemd\n-------\n\n- add systemd example.\n\nFor Developers\n==============\n\nGetting Started\n---------------\n\nThe project consists of two main modules: \\* ``soundservice`` - Creates,\nstarts and stops sound events. \\* ``soundevent`` - Subscribes to a topic\nand plays a sound file upon reception of a specific message.\n\nTodos\n-----\n\n- Make maximum number of parallel playable sound configurable.\n- ...\n\nMisc\n----\n\nThe code is written for ``python3`` (and tested with python 3.5 on an\nRaspberry Pi Zero with Raspbian Stretch).\n\n`Merge requests `__ /\n`bug reports `__ are always\nwelcome.\n\n.. [1]\n The icon used for this project is not Hippasos, son of pelops but it\n depicts Hippasus of Metapontum.\n\n.. [2]\n Currently, pyyaml is yaml 1.1 compliant. In pyyaml On/Off and Yes/No\n are automatically converted to True/False. This is an unwanted\n behavior and deprecated in yaml 1.2. In copreus this autoconversion\n is removed. Thus, On/Off and Yes/No are read from the yaml file as\n strings (see module baseclasses.myconfigtools).\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/pelops/lysidike/", "keywords": "mqtt device driver rpi raspberry pi", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "Hippasos", "package_url": "https://pypi.org/project/Hippasos/", "platform": "", "project_url": "https://pypi.org/project/Hippasos/", "project_urls": { "Homepage": "https://gitlab.com/pelops/lysidike/" }, "release_url": "https://pypi.org/project/Hippasos/0.1.7/", "requires_dist": null, "requires_python": "", "summary": "Hippasos plays preconfigured sound files upon reception of predefined mqtt messages.", "version": "0.1.7" }, "last_serial": 5110868, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1d184649bb57abee4989a1cb2abc38a8", "sha256": "46a028247745c30fc0c16c33babc591472a5f49931680a8289324be0a463cf25" }, "downloads": -1, "filename": "Hippasos-0.1.tar.gz", "has_sig": false, "md5_digest": "1d184649bb57abee4989a1cb2abc38a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4952, "upload_time": "2018-05-24T13:40:41", "url": "https://files.pythonhosted.org/packages/c2/7d/d203fbfef7749260651c2a6e89d1b5b2c931c6f2be38706db4631994320c/Hippasos-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7102a3eb8d2c061ba85b77298957777c", "sha256": "98d5e1e37947c5b5a0b56e995bac036ff2f1d24efae04ca462256077eb917a84" }, "downloads": -1, "filename": "Hippasos-0.1.1-py3.5.egg", "has_sig": false, "md5_digest": "7102a3eb8d2c061ba85b77298957777c", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 10160, "upload_time": "2018-06-07T21:44:09", "url": "https://files.pythonhosted.org/packages/2d/8f/1ae1657c2565dbbb42edff369c86cc8e62a441eeb80100ba0190bcb630ab/Hippasos-0.1.1-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "ccdae33c52f43912291e180ac884ea89", "sha256": "4f078a9dd921615d22f2051f1a45d45f139d84fb629e9c29a29f64479c166132" }, "downloads": -1, "filename": "Hippasos-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ccdae33c52f43912291e180ac884ea89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4985, "upload_time": "2018-06-07T21:44:07", "url": "https://files.pythonhosted.org/packages/41/b2/fbd511526ab0649496e83e63d173cc5a1b80ee2bac373439c5b9b3859c41/Hippasos-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "bcbf9112b40cdf164fe14d11a71c3723", "sha256": "01055369c9c93d08e2e85aa75e53f1328d09cf1b04f31086af6380ca3a70856d" }, "downloads": -1, "filename": "Hippasos-0.1.2-py3.5.egg", "has_sig": false, "md5_digest": "bcbf9112b40cdf164fe14d11a71c3723", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 10164, "upload_time": "2018-06-07T21:52:42", "url": "https://files.pythonhosted.org/packages/83/1b/907e5f97506e960bc214dd63c6e30ff3623a88bfd5209ccf7ec030746d71/Hippasos-0.1.2-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "91002e1fab8fbd5eceab528273dd5cfd", "sha256": "b3a4b5924f02268ed1dfd29a30990a16f77dcf9ed9fccb73e1251e72dc2a0489" }, "downloads": -1, "filename": "Hippasos-0.1.2.tar.gz", "has_sig": false, "md5_digest": "91002e1fab8fbd5eceab528273dd5cfd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4991, "upload_time": "2018-06-07T21:52:40", "url": "https://files.pythonhosted.org/packages/bf/69/7b3bbfc68a38946598240a5cc9ad8a628a9082cb1ceb40fd664de5273222/Hippasos-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a3c1ede8e0fa5e92eebe65254befa10a", "sha256": "667897071bc054dda05fbfde77b7d2722fa3c47606d830fc015d8b1aaec84955" }, "downloads": -1, "filename": "Hippasos-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a3c1ede8e0fa5e92eebe65254befa10a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5124, "upload_time": "2018-08-08T21:07:34", "url": "https://files.pythonhosted.org/packages/af/0f/9a5e9c74e05fa02834bf6edd63a285bd8e02340bd94e1577d19c1bb757a3/Hippasos-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "797abb48ed312357edf1512bc53f24e6", "sha256": "7f81e3e47853d103c7364ac8e1b998875f5115de846c8afdf3d1b153cab11294" }, "downloads": -1, "filename": "Hippasos-0.1.4.tar.gz", "has_sig": false, "md5_digest": "797abb48ed312357edf1512bc53f24e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5280, "upload_time": "2018-11-22T20:34:57", "url": "https://files.pythonhosted.org/packages/41/f2/8bd3fd334fa398ac2d4099a539883716c807296386fb5db9c80e94b9c6b4/Hippasos-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "bcfc1d51a82e9569ae78574c3df05cc0", "sha256": "3f6f6a937c1a9c7c7c01f6c81e37ead15be58a0c8d92173bc42e82d29183955e" }, "downloads": -1, "filename": "Hippasos-0.1.5.tar.gz", "has_sig": false, "md5_digest": "bcfc1d51a82e9569ae78574c3df05cc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5412, "upload_time": "2019-03-09T22:38:45", "url": "https://files.pythonhosted.org/packages/51/7c/b76d2a7c623c5552b3bf7e5eb9f24ecc13cb73d83c88f0a410538c8e7b4d/Hippasos-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "3ac7d86a8751396eab60c66e4a3d8100", "sha256": "72ab7418e469ef61cfc046f54b0041aa296e8cef2fb72997e3215fa5bcefa77a" }, "downloads": -1, "filename": "Hippasos-0.1.6.tar.gz", "has_sig": false, "md5_digest": "3ac7d86a8751396eab60c66e4a3d8100", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5415, "upload_time": "2019-04-04T21:32:41", "url": "https://files.pythonhosted.org/packages/fe/36/ce0e37d97e75fa9b83ef51350877e415d5140b72326b11acc2e4d803bd5b/Hippasos-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "1436f8dd702083ea4cd5102d2709e648", "sha256": "66e7c0aead60b7d3f0eb619ea94db81c5cde3d3c84a475bdc837c1e557d1b050" }, "downloads": -1, "filename": "Hippasos-0.1.7.tar.gz", "has_sig": false, "md5_digest": "1436f8dd702083ea4cd5102d2709e648", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5408, "upload_time": "2019-04-07T20:18:09", "url": "https://files.pythonhosted.org/packages/bd/e1/c32fbc4cc6c495b901ba559d0dffbb941e9ef09c44c29868054f8e85ab88/Hippasos-0.1.7.tar.gz" } ], "0.1a0": [ { "comment_text": "", "digests": { "md5": "6f869d3ce70e9b87526888caef7d0ae5", "sha256": "b7efcc001039b7e67dbc670ac56e6afcde93a18026a2f67b8e3955b426ac2f9f" }, "downloads": -1, "filename": "Hippasos-0.1a0.tar.gz", "has_sig": false, "md5_digest": "6f869d3ce70e9b87526888caef7d0ae5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1499, "upload_time": "2018-04-15T16:55:06", "url": "https://files.pythonhosted.org/packages/ea/21/94b60f0b4e14cffb18eeb76c3f7271a015f083615657bc3f7ec9f2e664b3/Hippasos-0.1a0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1436f8dd702083ea4cd5102d2709e648", "sha256": "66e7c0aead60b7d3f0eb619ea94db81c5cde3d3c84a475bdc837c1e557d1b050" }, "downloads": -1, "filename": "Hippasos-0.1.7.tar.gz", "has_sig": false, "md5_digest": "1436f8dd702083ea4cd5102d2709e648", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5408, "upload_time": "2019-04-07T20:18:09", "url": "https://files.pythonhosted.org/packages/bd/e1/c32fbc4cc6c495b901ba559d0dffbb941e9ef09c44c29868054f8e85ab88/Hippasos-0.1.7.tar.gz" } ] }