Metadata-Version: 2.1
Name: pyernluefter
Version: 0.0.2
Summary: Automated async web-based communication with the Bayernluefter
Home-page: https://github.com/nielstron/pyernluefter/
Author: nielstron
Author-email: n.muendler@web.de
License: MIT
Description: # 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/PySyncThru/)
        [![Python Versions](https://img.shields.io/pypi/pyversions/pyernluefter.svg)](https://pypi.org/project/PySyncThru/)
        
        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.
        
        ## 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())
        ```
        
Keywords: python api iot async bayernluft bayernluefter
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Object Brokering
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3
Description-Content-Type: text/markdown
