Zum Inhalt springen

Benutzer:MathiasMahnke/LIFX: Unterschied zwischen den Versionen

Aus Opennet
Inhalt gelöscht Inhalt hinzugefügt
MathiasMahnke (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
MathiasMahnke (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
Steuerung mittels "lifxlan" via LIFX LAN Protocol:
https://lan.developer.lifx.com/docs/communicating-with-device

apt install pip --no-install-recommends
apt install pip --no-install-recommends
pip3 install lifxlan
pip3 install lifxlan
Zeile 6: Zeile 9:
wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/broadcast_on.py
wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/broadcast_on.py
wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/broadcast_off.py
wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/broadcast_off.py
python3 verbose_lan.py
python3 verbose_lan.py # show all local LIFX devices
python3 broadcast_on.py
python3 broadcast_on.py # switch on all LIFX lights
python3 broadcast_off.py
python3 broadcast_off.py # switch off all LIFX lights

Aktuelle Version vom 26. Oktober 2022, 15:39 Uhr

Steuerung mittels "lifxlan" via LIFX LAN Protocol: https://lan.developer.lifx.com/docs/communicating-with-device

apt install pip --no-install-recommends
pip3 install lifxlan
mkdir lifx
cd lifx
wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/verbose_lan.py
wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/broadcast_on.py
wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/broadcast_off.py
python3 verbose_lan.py   # show all local LIFX devices
python3 broadcast_on.py  # switch on all LIFX lights
python3 broadcast_off.py # switch off all LIFX lights