pyernluefter


Namepyernluefter JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/nielstron/pyernluefter/
SummaryAutomated async web-based communication with the Bayernluefter
upload_time2024-02-03 13:11:45
maintainer
docs_urlNone
authornielstron
requires_python>=3
licenseMIT
keywords python api iot async bayernluft bayernluefter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # Pyernluefter - a very basic python Bayernluefter bridge
[![Build Status](https://travis-ci.com/nielstron/pyernluefter.svg?branch=master)](https://travis-ci.com/nielstron/pyernluefter)
[![Coverage Status](https://coveralls.io/repos/github/nielstron/pyernluefter/badge.svg?branch=master)](https://coveralls.io/github/nielstron/pyernluefter?branch=master)
[![Package Version](https://img.shields.io/pypi/v/pyernluefter)](https://pypi.org/project/pyernluefter/)
[![Python Versions](https://img.shields.io/pypi/pyversions/pyernluefter.svg)](https://pypi.org/project/pyernluefter/)

A package that connects to the Bayernluefter WiFi-Module.
It controls the module via the simple web-based access provided by the Bayernluft software.
Any templates module should be supported as the tool first fetches the uploaded template and then parses
the exported data based on the template.

> This package is looking for a maintainer. I don't own a Bayernluefter anymore and can't test any changes. If you are interested in maintaining this package, please contact me.

## Usage

```python
import asyncio

import aiohttp

from pyernluefter import Bayernluefter

IP_Bayernluft = '192.168.0.25'


async def main():
    async with aiohttp.ClientSession() as session:
        luefter = Bayernluefter(IP_Bayernluft, session)
        await luefter.update()

        # Show the luefter status
        print("Bayernluft status:", luefter.raw_converted())

        # turn on
        await luefter.power_on()

        # set fan speed
        await luefter.set_speed(5)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nielstron/pyernluefter/",
    "name": "pyernluefter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "python api iot async bayernluft bayernluefter",
    "author": "nielstron",
    "author_email": "n.muendler@web.de",
    "download_url": "https://files.pythonhosted.org/packages/81/a7/ec1be88a785a9a8527427554e4a210ca6e941678736a577a1ec7891ea75d/pyernluefter-0.2.1.tar.gz",
    "platform": null,
    "description": "# Pyernluefter - a very basic python Bayernluefter bridge\n[![Build Status](https://travis-ci.com/nielstron/pyernluefter.svg?branch=master)](https://travis-ci.com/nielstron/pyernluefter)\n[![Coverage Status](https://coveralls.io/repos/github/nielstron/pyernluefter/badge.svg?branch=master)](https://coveralls.io/github/nielstron/pyernluefter?branch=master)\n[![Package Version](https://img.shields.io/pypi/v/pyernluefter)](https://pypi.org/project/pyernluefter/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/pyernluefter.svg)](https://pypi.org/project/pyernluefter/)\n\nA package that connects to the Bayernluefter WiFi-Module.\nIt controls the module via the simple web-based access provided by the Bayernluft software.\nAny templates module should be supported as the tool first fetches the uploaded template and then parses\nthe exported data based on the template.\n\n> This package is looking for a maintainer. I don't own a Bayernluefter anymore and can't test any changes. If you are interested in maintaining this package, please contact me.\n\n## Usage\n\n```python\nimport asyncio\n\nimport aiohttp\n\nfrom pyernluefter import Bayernluefter\n\nIP_Bayernluft = '192.168.0.25'\n\n\nasync def main():\n    async with aiohttp.ClientSession() as session:\n        luefter = Bayernluefter(IP_Bayernluft, session)\n        await luefter.update()\n\n        # Show the luefter status\n        print(\"Bayernluft status:\", luefter.raw_converted())\n\n        # turn on\n        await luefter.power_on()\n\n        # set fan speed\n        await luefter.set_speed(5)\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(main())\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Automated async web-based communication with the Bayernluefter",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/nielstron/pyernluefter/"
    },
    "split_keywords": [
        "python",
        "api",
        "iot",
        "async",
        "bayernluft",
        "bayernluefter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "81a7ec1be88a785a9a8527427554e4a210ca6e941678736a577a1ec7891ea75d",
                "md5": "db5ba6cdef3f19eb22071f516f3b2360",
                "sha256": "87fe0088ff71a2b12188b86bae7baa975f042cd979c171e3883e48234b97fdd7"
            },
            "downloads": -1,
            "filename": "pyernluefter-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "db5ba6cdef3f19eb22071f516f3b2360",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 9052,
            "upload_time": "2024-02-03T13:11:45",
            "upload_time_iso_8601": "2024-02-03T13:11:45.694511Z",
            "url": "https://files.pythonhosted.org/packages/81/a7/ec1be88a785a9a8527427554e4a210ca6e941678736a577a1ec7891ea75d/pyernluefter-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-03 13:11:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nielstron",
    "github_project": "pyernluefter",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "pyernluefter"
}
        
Elapsed time: 0.19563s