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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fjaraskupan-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5979554191068d53c24b10745c0d267384a89427c71a93e85f0868a99bdb4851
MD5 0a099ad54b6b4de85c996642f5bd1672
BLAKE2b-256 97b721025cd274517ba454b24bcbdfa3c2a7699cb8fc52c401f23ff614907444

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fjaraskupan-2.0.0-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.6

File hashes

Hashes for fjaraskupan-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 754824bfde93891551e5b648bd006bc6e5b50e28246061c0c4feab53ce2f371a
MD5 868d71cce38b79de0363ab9558579121
BLAKE2b-256 965d8ddb67a97186c3f4be28be9e35ee05d36815121d29f7f267fea3f503c78a

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