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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fjaraskupan-2.0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for fjaraskupan-2.0.1.tar.gz
Algorithm Hash digest
SHA256 c70cbe73a085eb35949c3e21a26fd0fd5fe093e25e8e349321901fc5c68daa95
MD5 380587461bc33ad6474cdf8ce1f3ea2d
BLAKE2b-256 e7c6c13cc217b31ff62679c6879ce5eb2524bb00e25c2808178328cad14d0ee7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: fjaraskupan-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for fjaraskupan-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af4b22a9bacd4462943928ac835c223eb8271edd9b600b42728d12b099b7652b
MD5 7e2fb752f3e12ba63edfda4a2d58a755
BLAKE2b-256 279733aecd05979d865416f9912c1b5190c4d671728f92b7501b6c64379e55a0

See more details on using hashes here.

Provenance

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