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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fjaraskupan-1.0.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for fjaraskupan-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8b4cf4e6c17d8851fff93b4a99e038341e231e439f5fefa314f32d53a394636a
MD5 0d26110284bd269f53f60ce907738240
BLAKE2b-256 adcb47600eb15cb7bed5c4ca3aec9dcab8f3ab092c6ad3d9be8801781c2a41e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fjaraskupan-1.0.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.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for fjaraskupan-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e907677c31cfdeb340ecd352f237d6f1886ec79f45458e5a0600852458535900
MD5 d980476e2d2b5d2c503b3e35dd01b29b
BLAKE2b-256 deae6d3c2532f4cf9b992e45cf5219e84c6cb781b0571c860e1a0a41ceb302b0

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