Beiträge von MCP

    Kurzes Feedback: Xiaomi Fan läuft in HomeKit!

    Erster Eindruck war etwas skeptisch, er ist extrem viel kürzer/niedriger als der Philips, mal sehen, wie sich das vor dem Bett auswirkt.

    Aufbau und Einrichtung natürlich erwartungsgemäß easy und auch die Homebridge Plugin Einrichtung etc. war völlig problemlos.

    Vielleicht versuche ich tatsächlich mal was ChatGPT so dazu sagt…

    Danke dir auf jeden Fall deine Bemühungen.

    Ich gehe mal in mich, ob ich es nicht lieber mit einem Xiaomi probieren.

    Aber wie gesagt, 80€ vs. 125€.


    Der Pro scheint der mit Akku zu sein!

    Aber das beste Feature ist auf jeden Fall das:

    • Geeignet für verschiedene Koch- und Zubereitungsaufgaben

    HolgerKR & HKuser es handelt sich ja wirklich nur um einen Ventilator, daher war ich von Anfang an unsicher, ob die Lösung üben, die für Luftfilter etc. gebaut wurden überhaupt funktionieren können.

    Zum direkt starten nach dem Stromanschluss ist er dann leider doch zu smart und lässt sich nur über Knopfdruck oder App starten. Eine smarte Steckdose oder ein Shelly wird da denke ich nicht ausreichen.

    Welcher Xiaomi funktioniert gut über Homebridge bzw. am Ende in HomeKit?

    Der Philips ist ja noch ganz neu und ich wäre durchaus noch an einem Wechsel interessiert.


    Mehr als Wind macht ein Ventilator ja nicht und ich hätte es gerne möglichst leise für die Nacht und eben steuerbar in HomeKit, that‘s it.

    Was weiß ich? Da ich diesen Ventilator nicht verwende, bin ich da genauso Laie.

    Aha. Modul fehlt. Versuchs mal mit

    /home/piadmin/venv/bin/pip3 install pyairctrl

    piadmin@raspberrypi:/var/lib/homebridge $ /home/piadmin/venv/bin/pip3 install pyairctrl

    Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

    ERROR: Could not find a version that satisfies the requirement pyairctri (from versions: none)

    ERROR: No matching

    distribution found for piadmin@raspberrypi:/var/1ib/homebridge $ Pairetri

    Wenn ich etwas an Informationen zur Hombridge bereitstellen soll, sag es bitte, bekommst du gerne.

    Aber ich frage mich ja als Laie immer noch, ob es denn überhaupt funktioniert zwischen dem Ventilator und Homebridge? Ich dachte ja, eine modern wirkende App wie die Air+ bringt die nötigen Schnittstellen mit, aber das scheint ja mal nicht grundsätzlich so zu sein.

    Besteht denn vielleicht die Möglichkeit den Ventilator in eine andere App wie Tuya zu verbinden und darüber Richtung Homebridge zu gehen?

    [21.06.2025, 09:26:50] [Philips Air] [Philips Ventilator] Unable to get data for polling: Error: spawnSync python3 ETIMEDOUT.

    [21.06.2025, 09:26:50] If your have "Error: spawnSync python3 ETIMEDOUT" your need unplug the accessory from outlet for 10 seconds and plug again.

    Traceback (most recent call last):

    File "/var/lib/homebridge/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py", line 8, in <module>

    from pyairctrl.coap_client import CoAPAirClient

    ModuleNotFoundError: No module named 'pyairctrl'

    [21/06/2025, 09:27:06] [Philips Ventilator] [Philips Ventilator] Error setting power: Error: Command failed: python3 /var/lib/homebridge/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py --ipaddr 192.168.178.82 --protocol coap --status

    Traceback (most recent call last):

    File "/var/lib/homebridge/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py", line 8, in <module>

    from pyairctrl.coap_client import CoAPAirClient

    ModuleNotFoundError: No module named 'pyairctrl'

    piadmin@raspberrypi:/var/lib/homebridge $ python3 -m venv /home/piadmin/venv.

    /home/piadmin/venv/bin/pip3 install -U git+https://github.com/Peter-J/aioairctrl

    Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

    Collecting git+https://github.com/Peter-J/aioairctrl

    Cloning https://github.com/Peter-J/aioairctrl to /tmp/pip-req-build-2mk20gvv

    Running command git clone --filter=blob:none --quiet https://github.com/Peter-J/aioairctrl /tmp/pip-req-build-2mk20gvv

    Resolved https://github.com/Peter-J/aioairctrl to commit d9084783c6750b2b25e65cd551efe3442e652b09

    Installing build dependencies ... done

    Getting requirements to build wheel ... done

    Preparing metadata (pyproject.toml) ... done

    Requirement already satisfied: aiocoap==0.4.1 in /home/piadmin/venv/lib/python3.11/site-packages (from aioairctrl==0.2.1) (0.4.1)

    Requirement already satisfied: pycryptodomex in /home/piadmin/venv/lib/python3.11/site-packages (from aioairctrl==0.2.1) (3.23.0)


    Sagt mir ja nicht so viel, sieht aber doch erst mal für mich ganz gut aus und nicht wieder nach klarer Fehlermeldung.

    piadmin@raspberrypi:/var/lib/homebridge $ sudo apt install python3-pip git

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).

    git is already the newest version (1:2.39.5-0+deb12u1).

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Sorry, nein, Missverständnis!
    Wenn ich das mache: sudo pip3 install -U git+https://github.com/Peter-J/aioairctrl

    Komm tauch wieder das:

    error: externally-managed-environment


    × This environment is externally managed

    ╰─> To install Python packages system-wide, try apt install

    python3-xyz, where xyz is the package you are trying to

    install.


    If you wish to install a non-Debian-packaged Python package,

    create a virtual environment using python3 -m venv path/to/venv.

    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make

    sure you have python3-full installed.


    For more information visit http://rptl.io/venv


    note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.

    hint: See PEP 668 for the detailed specification.



    Wenn mir hier jemand helfen würde, kann ich die Schritte gerne durchführen, aber so alleine verstehe ich nicht ganz, was zu tun ist.

    Next:


    piadmin@raspberrypi:/var/lib/homebridge $ sudo pip3 install py-air-control

    error: externally-managed-environment


    × This environment is externally managed

    ╰─> To install Python packages system-wide, try apt install

    python3-xyz, where xyz is the package you are trying to

    install.


    If you wish to install a non-Debian-packaged Python package,

    create a virtual environment using python3 -m venv path/to/venv.

    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make

    sure you have python3-full installed.


    For more information visit http://rptl.io/venv


    note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.

    hint: See PEP 668 for the detailed specification.