Skip to main content

lumalou (Python)

Local BLE control for the Fisher-Price Lumalou. Pure Python (async, bleak).

pip install lumalou

Library

import asyncio
from lumalou import LumalouClient, Color

async def main():
    devices = await LumalouClient.scan()
    async with LumalouClient(devices[0]["address"]) as luma:
        await luma.light_color(Color.RAINBOW)
        await luma.play(0)            # guided sleep playlist
        await luma.volume(5)
        print(await luma.request_state())

asyncio.run(main())

CLI

lumalou scan
lumalou light --color blue --brightness 7
lumalou sound --source ocean --volume 5
lumalou soother                 # --off to stop
lumalou time                    # sync clock
lumalou state                   # read full state
lumalou send 3c05               # raw app_data (opcode + args)

Add -a <address> to target a device; otherwise it auto-scans.

Requires Python 3.10+, a Bluetooth LE adapter, and radio range of the device.

Development

pip install -e ".[dev]"
pytest        # runs the shared golden vectors (spec/vectors.json)

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumalou-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lumalou-0.1.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file lumalou-0.1.0.tar.gz.

File metadata

  • Download URL: lumalou-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for lumalou-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8248458d3e2400836e4bf2e6fa0dde3dd6b8b89a6d79c157438557db3528474a
MD5 557393bb0980e3f2a638b93d94fe76b3
BLAKE2b-256 85e9af49fa8db13249fe991be4749fba6d2b38a78e66618642e6eca6f318b1f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumalou-0.1.0.tar.gz:

Publisher: release-python.yml on stramanu/lumalou

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lumalou-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lumalou-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for lumalou-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b869ea08c7c832d8bda6d0f5e2be7274b807270d5d68382959b2ed98a700012a
MD5 14e30ec6d5735a0c122a431fc26633c8
BLAKE2b-256 cf5df55a5dff1d2a17344c0b4a958700860c707dcd704fe19fb20284066b463a

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumalou-0.1.0-py3-none-any.whl:

Publisher: release-python.yml on stramanu/lumalou

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page