Photons is an asynchronous Python3.6+ framework for interacting with LIFX devices.
Packages are avaialble from COPR
for Fedora Rawhide, Fedora 33 and EL8-derivatives, e.g. RHEL8, CentOS Stream
and Oracle Linux 8 for both x86_64
and aarch64
architectures.
- Enable the
djelibeybi/photons
COPR repository - Run
dnf install python3-lifx-photons-core
to install the core framework andlifx
command-line utility. - (Optional) run
dnf install python3-lifx-photons-arranger
to install the LIFX Tile arranger tool. - (Optional) run
dnf install python3-lifx-photons-interactor
to install Photons Interactor, a Photons powered server that provides a JSON API for interacting with LIFX devices on the local network.
To allow discovery of LIFX devices, run:
# firewall-cmd --permanent --add-service=lifx-discovery
# firewall-cmd --reload
To allow incoming connections to Photons Interactor (if installed), run:
# firewall-cmd --permanent --add-service=photons-interactor
# firewall-cmd --reload
To enable and start Photons Interactor after installation, run:
# systemctl enable --now photons-interactor
Each RPM .spec
file is released under the same license as the upstream package: