pyHomie


NamepyHomie JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/ms412/pyHomie
SummaryA Python library for Homie Convention
upload_time2024-05-22 14:46:10
maintainerNone
docs_urlNone
authorMarkus Schiesse
requires_pythonNone
licenseMIT
keywords mqtt paho-mqtt homie
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
## Motivation

easy to use and flexible library in python for <a href="https://homieiot.github.io">homie</a> convention

Python 3
Homie 4.0.0

configuration of homie device is mainly carried out in a Yaml file

mqtt configuration in section mqtt
~~~~yaml
mqtt:
    host: 192.168.2.20
    port: 1889 <optional>
    user: markus <optional>
    passwd: Geheim <optional>
~~~~
homie section
~~~~yaml
homie:
    device01:
        topic: homieTest
        id: device01
        name: Dishwasher
        node01:
            name: Program
            switch01:
                name: Power1
                type: switch
                settable: True
            float02:
                name: Power2
                type: string
                settable: True
        node02:
            name: Program
            string21:
                name: Power1
                type: string
                settable: True
            switch22:
                name: Power2
                type: switch
                settable: True
~~~~
## Example

~~~~python
import pyhomie

if __name__ == "__main__":
    homie = pyhomie()
    homie.init('config.yaml')
    homie.run()
    homie.switch01('True')
~~~~

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ms412/pyHomie",
    "name": "pyHomie",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "mqtt, paho-mqtt, homie",
    "author": "Markus Schiesse",
    "author_email": "M.Schiesser@gmail.com",
    "download_url": "https://github.com/user/reponame/archive/v_01.tar.gz",
    "platform": null,
    "description": "\r\n## Motivation\r\n\r\neasy to use and flexible library in python for <a href=\"https://homieiot.github.io\">homie</a> convention\r\n\r\nPython 3\r\nHomie 4.0.0\r\n\r\nconfiguration of homie device is mainly carried out in a Yaml file\r\n\r\nmqtt configuration in section mqtt\r\n~~~~yaml\r\nmqtt:\r\n    host: 192.168.2.20\r\n    port: 1889 <optional>\r\n    user: markus <optional>\r\n    passwd: Geheim <optional>\r\n~~~~\r\nhomie section\r\n~~~~yaml\r\nhomie:\r\n    device01:\r\n        topic: homieTest\r\n        id: device01\r\n        name: Dishwasher\r\n        node01:\r\n            name: Program\r\n            switch01:\r\n                name: Power1\r\n                type: switch\r\n                settable: True\r\n            float02:\r\n                name: Power2\r\n                type: string\r\n                settable: True\r\n        node02:\r\n            name: Program\r\n            string21:\r\n                name: Power1\r\n                type: string\r\n                settable: True\r\n            switch22:\r\n                name: Power2\r\n                type: switch\r\n                settable: True\r\n~~~~\r\n## Example\r\n\r\n~~~~python\r\nimport pyhomie\r\n\r\nif __name__ == \"__main__\":\r\n    homie = pyhomie()\r\n    homie.init('config.yaml')\r\n    homie.run()\r\n    homie.switch01('True')\r\n~~~~\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python library for Homie Convention",
    "version": "0.0.4",
    "project_urls": {
        "Download": "https://github.com/user/reponame/archive/v_01.tar.gz",
        "Homepage": "https://github.com/ms412/pyHomie"
    },
    "split_keywords": [
        "mqtt",
        " paho-mqtt",
        " homie"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc9a154f8ccef1b8946a993426967207e487e6492f40f554b29a9b7d745a43eb",
                "md5": "e51925f71a05864830437de631b67afb",
                "sha256": "6c3627eb85842bd898ede540db22fa4461be11182f5ca88fa662902b73f1c600"
            },
            "downloads": -1,
            "filename": "pyHomie-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e51925f71a05864830437de631b67afb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10607,
            "upload_time": "2024-05-22T14:46:10",
            "upload_time_iso_8601": "2024-05-22T14:46:10.256270Z",
            "url": "https://files.pythonhosted.org/packages/cc/9a/154f8ccef1b8946a993426967207e487e6492f40f554b29a9b7d745a43eb/pyHomie-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-22 14:46:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ms412",
    "github_project": "pyHomie",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pyhomie"
}
        
Elapsed time: 0.29670s