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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fjaraskupan-2.3.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fjaraskupan-2.3.0.tar.gz
Algorithm Hash digest
SHA256 90e13e339170d1393dbee5070dcc80212428219517661a0c2d3386428c87bb6e
MD5 6009a41d5eb3c61872f80a9df0542154
BLAKE2b-256 217589533246474dae69bbd5d7696f894da9c011ecd03232e066df4e8680a106

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fjaraskupan-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fjaraskupan-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aab5516550d385ee9f5f4a17b3afcf5e08135fe8a7baa8b4c00fc257560642f9
MD5 190d854fb6a6477b4c922e7b50c82fc3
BLAKE2b-256 b9b466ac88ec9ca2196446b6fd6b8355eaf6db1453857f6b985ff99ffe2e3b50

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