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

Uploaded Source

Built Distribution

fjaraskupan-1.0.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fjaraskupan-1.0.2.tar.gz
  • Upload date:
  • Size: 5.7 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.2.tar.gz
Algorithm Hash digest
SHA256 9a8b0ac07a65da4f7f1ea61fcc72491f5ace400b621e7922fa8c5871b8afbb99
MD5 e5f0ac673d8a1b39756b1328512c4064
BLAKE2b-256 b996882204910daed9210b4f3503fa5a3b336e516103c0cc4e1b4decd451af28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fjaraskupan-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 909957390bfe0b0e7be55c52d593e38ddb2f08251b25dbfeaf4c32f553889772
MD5 adf65a73dd51be0dbc6b39440a9d1b8a
BLAKE2b-256 c30b40b1e387c1a9e76710f5640e853a24a54010a7d9cbee29bae0c52d5a5885

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