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-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

fjaraskupan-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file fjaraskupan-0.1.0.tar.gz.

File metadata

  • Download URL: fjaraskupan-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.9.2

File hashes

Hashes for fjaraskupan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a3dcf036f51131bb33671a23d6f1582a3ded68adc13a698f47c7c8e3ae5946f7
MD5 fdf356c046eb5e53258e895208776f29
BLAKE2b-256 e9f7c345f0fecf28ac1964f3c58a96c2432b2c4d07510e74fe14bfba2b7e0157

See more details on using hashes here.

File details

Details for the file fjaraskupan-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fjaraskupan-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for fjaraskupan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1034232dbc9d3534e82816457eb7f3ad99723dddf4b4077edbb2e8b16886826
MD5 98a9f614d1648787c9e8cff7ad2ee9db
BLAKE2b-256 a42b8766b32035c4d17217772ef1faeede1e5682eff82965c49b556f93275154

See more details on using hashes here.

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