Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 2.88 KB

README.md

File metadata and controls

70 lines (51 loc) · 2.88 KB

Photons RPM Packages

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.

Installation

  1. Enable the djelibeybi/photons COPR repository
  2. Run dnf install python3-lifx-photons-core to install the core framework and lifx command-line utility.
  3. (Optional) run dnf install python3-lifx-photons-arranger to install the LIFX Tile arranger tool.
  4. (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.

Configuration

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

License

Each RPM .spec file is released under the same license as the upstream package: