Skip to main content

A python library for speaking to fjäråskupan

Project description

This module support controlling Fjäråskupan kitchen fans over bluetooth

Status

https://github.com/elupus/fjaraskupan/actions/workflows/python-package.yml/badge.svg

Module

Code to set fan speed using library.

async def run():
    async with Device("AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE") as device:
        await device.set_fan_speed(5)

loop = asyncio.get_event_loop()
loop.run_until_complete (run())

Commandline

Scan for possible devices.

python -m fjaraskupan scan

Code to set fan speed using commandline.

python -m fjaraskupan fan AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE 5

To get help on possible commands

python -m fjaraskupan -h
python -m fjaraskupan light -h
python -m fjaraskupan fan -h

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fjaraskupan-2.3.0.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

fjaraskupan-2.3.0-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page