Skip to content

nielstron/pyernluefter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyernluefter - a very basic python Bayernluefter bridge

Build Status Coverage Status Package Version Python Versions

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

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())

About

Automated async web-based communication with the Bayernluefter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published