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

Uploaded Source

Built Distribution

fjaraskupan-2.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fjaraskupan-2.1.0.tar.gz
Algorithm Hash digest
SHA256 988670412d9e2d178d53275ec63190510ab599d79507f8ea750579026dd1def0
MD5 f254bf874642cbbc1f68c48ec252607c
BLAKE2b-256 b3e5d90bd85c64bfeab930bd7ff8882f21e036ab11a64f273af34804220de6da

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: fjaraskupan-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3f3e4ae69dd8b78a5f446a76dd6605a69a80ed21f18f4bcb7fbac48e8263d6e
MD5 951d0d8674e850ecc8f3d3da3f218043
BLAKE2b-256 6f49dae4e77609b3aa9608b27978bef56649e1bf4987e5cf4f19c402d59788b9

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