/gneelight

A Yeelight controller for GNOME

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Gneelight

A Yeelight controller for GNOME

Written in Python and GTK+ 3 using the Yeelight Python library.

Installation

Install using Flatpak (recommended)

The simplest way to install Gneelight is by using the provided Flatpak package:

wget https://github.com/vinsce/gneelight/releases/latest/download/gneelight.flatpak -O gneelight.flatpak
flatpak install --user gneelight.flatpak

Troubleshooting

If you receive the following error The application me.vinsce.Gneelight/x86_64/master requires the runtime org.gnome.Platform/x86_64/42 which was not found while installing, make sure you have the Flathub repository and the Gnome runtime installed:

flatpak --user remote-add --if-not-exists --from flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user install flathub org.gnome.Platform//42

Run from source (advanced)

If you want to run directly from the source code, first make sure you have the following dependencies installed:

  • AppIndicator3 Library
  • Python packages listed in the requirements file

In Ubuntu, you can install the dependencies using:

sudo apt-get install gir1.2-appindicator3-0.1
pip install -r requirements.txt

then clone this repository and start using Gneelignt:

git clone https://github.com/vinsce/gneelight.git
cd gneelight
sudo cp res/me.vinsce.Gneelight.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

python3 src/GneelightApp.py

Screenshot

screenshot

Note: feel free to contribute to the project and suggest new features.

License

This project is licensed under the GNU GPL v3 License - see the LICENSE file for details