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

Uploaded Source

Built Distribution

fjaraskupan-1.0.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fjaraskupan-1.0.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fjaraskupan-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fa310b370d6fef34fc44788c56e5405d1c726fd4a642f7fc01152ff583891987
MD5 739d3267a3f46bc671069c251958cba3
BLAKE2b-256 d6de895d5edfe3d17af35ca4c3c94ba25d865d7bc73444380192bb927118c243

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fjaraskupan-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fjaraskupan-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cc06d6ee18fe10c02e7e5a8c4a06211cbe4700ae81f836c627102d0146328b8
MD5 663743a6355dfa7a1621035a803c1b4a
BLAKE2b-256 11eda11d23b26006dd9697beba11b36ab8ddaf82502ae5f0dbf00a667b7ffc93

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