Skip to main content

led-controller-version-3-device-simulated-respeaker

Ein vollständiger Software-Ersatz für die Hardware — dieselben Ports, dieselbe Rolle. Der Dienst merkt nicht, dass die Gegenstelle kein Gerät ist.

Es enthält:

  • SimulatorFrameSink — überträgt den LED-Frame über einen lokalen Transport,
  • SimulatorDoaProvider — liest die im Fenster eingestellte Richtung und Sprachaktivität zurück,
  • die Ringanzeige als eigenständige Anwendung.

Die dienstseitige Hälfte braucht kein Qt. PySide6 ist ein Extra und wird nur gebraucht, wenn das Fenster geöffnet wird:

uv pip install "led-controller-version-3-device-simulated-respeaker[gui]"
lefx-simulator

Ohne installiertes Konsolenskript geht es als Modul. app.py direkt als Datei zu starten geht nicht — die Datei erreicht ihre Nachbarmodule über relative Importe, und eine über den Pfad gestartete Datei hat kein Paket, relativ zu dem das ginge:

uv run python -m lefx.device.simulated_respeaker

Als Exe

Für eine Maschine ohne Python-Checkout, oder um das Fenster offen zu lassen, während am Checkout gearbeitet wird:

uv sync --group build
uv run --group build python scripts/build_simulator.py

Ergebnis ist build/dist/lefx-simulator.exe (~47 MB, eine Datei). --onedir startet schneller, --windowed verbirgt die Konsole — dann sieht man allerdings auch nicht mehr, wenn der Dienst nicht erreichbar ist.

Damit lassen sich auch kontrollierte Overlays wie direction_indicator ohne angeschlossenen reSpeaker entwickeln und prüfen — der Effekt fragt nach der Fähigkeit doa und bekommt sie hier ebenso wie von der Hardware.

Transport

Der Dienst hört auf 127.0.0.1:8787, das Fenster verbindet sich dorthin. Diese Richtung entspricht der Hardware: der Dienst läuft, ob ein Gerät angeschlossen ist oder nicht, und ein später erscheinendes Fenster ist ein gewöhnliches Ereignis, kein Neustart. Das Fenster verbindet sich selbsttätig neu.

Der Port lässt sich auf beiden Seiten setzen:

uv run lefx serve --sink simulator --sink-option port=8770

Alternativ über LEFX_SIMULATOR_PORT, das beide Hälften lesen.

Grenzen

Ohne verbundenes Fenster meldet die Senke available=False und der Provider liefert None — dieselbe Bedeutung wie ein abgezogenes Kabel. Der Dienst läuft weiter, kontrollierte Overlays gehen über waiting nach failed.

Metadata

Release files for led-controller-version-3-device-simulated-respeaker 3.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for led-controller-version-3-device-simulated-respeaker 3.0.4
File Size Uploaded Provenance Actions
led_controller_version_3_device_simulated_respeaker-3.0.4.tar.gz 18.0 kB With provenance Details for led_controller_version_3_device_simulated_respeaker-3.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for led-controller-version-3-device-simulated-respeaker 3.0.4
File Interpreter ABI Platform Actions
led_controller_version_3_device_simulated_respeaker-3.0.4-py3-none-any.whl Python 3 none any Details for led_controller_version_3_device_simulated_respeaker-3.0.4-py3-none-any.whl

Total release size: 41.9 kB

Release files / led_controller_version_3_device_simulated_respeaker-3.0.4.tar.gz

Download URL led_controller_version_3_device_simulated_respeaker-3.0.4.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bba5e732f486ee64e66b5470468858c1221232bb3eb28a793a72570d19c3edc6
BLAKE2b-256 checksum
How to use checksums
04d6968af45415281c30cc7171876b4a72f015495dd32444c165cebaafc8e312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / led_controller_version_3_device_simulated_respeaker-3.0.4-py3-none-any.whl

Download URL led_controller_version_3_device_simulated_respeaker-3.0.4-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eec0508e2e3daeff19f59cbd0cdde5b7e002ac1240ae1fac89484fa646046989
BLAKE2b-256 checksum
How to use checksums
da713a1411ae028db27eb4263a80db629421190b7b895997ced436ac8551ceb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for led-controller-version-3-device-simulated-respeaker 3.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for led_controller_version_3_device_simulated_respeaker-3.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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