Benutzer:MathiasMahnke/LIFX: Unterschied zwischen den Versionen
Erscheinungsbild
Inhalt gelöscht Inhalt hinzugefügt
Die Seite wurde neu angelegt: „ apt install pip --no-install-recommends pip3 install lifxlan mkdir lifx cd lifx wget https://raw.githubusercontent.com/mclarkk/lifxlan/master/examples/ver…“ |
Keine Bearbeitungszusammenfassung |
||
| (2 dazwischenliegende Versionen desselben Benutzers werden 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 # show all local LIFX devices |
|||
chmod +x *.py |
|||
python3 broadcast_on.py # switch on all LIFX lights |
|||
./verbose_lan.py |
|||
python3 broadcast_off.py # switch off all LIFX lights |
|||
./broadcast_on.py |
|||
./broadcast_off.py |
|||
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