Benutzer:MathiasMahnke/LIFX
Aus Opennet
< Benutzer:MathiasMahnke
Version vom 26. Oktober 2022, 17:39 Uhr von MathiasMahnke (Diskussion | Beiträge)
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