Skip to content

Making it work on Raspberry Pi? #56

@ASAPRockyy

Description

@ASAPRockyy

(sorry closed my old issue by accident. but i learned quite a bit since)

This is only about the turn_on BLE command!

I tried using this integration on a fresh install of Debian Trixie on Pi 5.
-with no luck

I also tried (with help of AI) to just create and run a pithon script that turn the beamer on.

This is a short summary by me and the AI used:

Environment:

Raspberry Pi 5, fresh Pi OS
Python 3.13.5
bluez-peripheral==0.1.7 installed and imports work (although had to install it with pip3 install bluez-peripheral --break-system-packages)
XGIMI Elfin projector

Verified user is in bluetooth group
Bluetooth service is running (systemctl status bluetooth)
Bluetooth hardware supports advertising (btmgmt info shows LE support)

Python imports work: from bluez_peripheral.util import get_message_bus
dvert.register(bus) fails with D-Bus interface error
Same error occurs with sudo and regular user

Main error Message:
"dbus_next.errors.InterfaceNotFoundError: interface not found on this object: org.bluez.Adapter1"

Occurs at: bluez_peripheral/advert.py", line 115, in register
adapter = await Adapter.get_first(bus)

Goal

The only thing i want is the ability to run a script on my pi which then turns on my beamer.
I really really tried a lot of things but idk what else to do:/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions