1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
********************************
Fjäråskupan Bluetooth Control
********************************
This module support controlling Fjäråskupan kitchen fans over bluetooth
Status
______
.. image:: https://github.com/elupus/fjaraskupan/actions/workflows/python-package.yml/badge.svg
:target: https://github.com/elupus/fjaraskupan
Module
======
Code to set fan speed using library.
.. code-block:: python
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.
.. code-block:: bash
python -m fjaraskupan scan
Code to set fan speed using commandline.
.. code-block:: bash
python -m fjaraskupan fan AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE 5
To get help on possible commands
.. code-block:: bash
python -m fjaraskupan -h
python -m fjaraskupan light -h
python -m fjaraskupan fan -h
|