light anything up with govee, right from mpris.
Project description
mprisgovee
light anything up with govee, right from mpris.
showcase
features
- detect song art from any mpris player automatically
- change govee device color with dominant color from song art
- uses the lan api for extremely fast updates
- cache colors to avoid reprocessing
- app ignoring
- configurable settings
prerequisites
- a computer running linux
- a network connection
- a govee lan api capable device
- remember to turn on the capability!
- you can find this in the app by going to your device's settings page.
- remember to turn on the capability!
- python 3.9 or higher
- playerctl installed
- your govee device's ip address:
- get the mac address of your device.
- you can find this in the app by going to your device's settings page.
- use any method to match up the mac address with a device ip on your network.
- i did this by going to my router settings and matching it up under "Device List".
- get the mac address of your device.
installation
pip
mprisgovee is avaliable on PyPI:
pip install mprisgovee
usage
you can start it by either manually running mprisgovee from your terminal or running at startup using your favorite method.
example (niri):
spawn-sh-at-startup "mprisgovee"
configuration
the config file can usually be found at ~/.config/mprisgovee/config.toml.
default configuration
govee_ip = "192.168.1.100"
govee_port = 4003
ignored_apps = [
"firefox",
"chromium",
"chrome",
"brave",
"vivaldi",
"zen",
"opera"
- govee_ip:
- sets the current ip address.
- govee_port:
- sets the current port.
- this can usually be left default.
- sets the current port.
- ignored_apps:
- ignores all apps on list.
thanks to:
- Dynamic Lights Home Assistant - original inspiration
- Govee Dynamic Lights - my spicetify extension which took inspiration from the above
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mprisgovee-1.1.0.tar.gz.
File metadata
- Download URL: mprisgovee-1.1.0.tar.gz
- Upload date:
- Size: 7.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d9220e47aa32c021409f993e4635e07b9cc71ae8987041c40f651e7dc0a6c6d
|
|
| MD5 |
ba7d9d9a405ea7ec35485b6fbd804a98
|
|
| BLAKE2b-256 |
5fd0e92c8d487cfc13ba5aa392c0cacc069f7006e9b5f1980cdffd333e64f4d7
|
Provenance
The following attestation bundles were made for mprisgovee-1.1.0.tar.gz:
Publisher:
pypi.yml on obvRedwolf/mprisgovee
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mprisgovee-1.1.0.tar.gz -
Subject digest:
1d9220e47aa32c021409f993e4635e07b9cc71ae8987041c40f651e7dc0a6c6d - Sigstore transparency entry: 1059011461
- Sigstore integration time:
-
Permalink:
obvRedwolf/mprisgovee@ba4ee5234fcb0bc167e4d21c1b52fea68be691c7 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/obvRedwolf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ba4ee5234fcb0bc167e4d21c1b52fea68be691c7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mprisgovee-1.1.0-py3-none-any.whl.
File metadata
- Download URL: mprisgovee-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47357bbeebb77876a6a7d8e0ed82375e6260f360fb906f0d621168ff9c8013a8
|
|
| MD5 |
41cf2e65ccca08b07538d057d807a308
|
|
| BLAKE2b-256 |
1c25848045ffb56fb8782af621191a28e2b07d0d4aa2c09d80464cff9ebe43df
|
Provenance
The following attestation bundles were made for mprisgovee-1.1.0-py3-none-any.whl:
Publisher:
pypi.yml on obvRedwolf/mprisgovee
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mprisgovee-1.1.0-py3-none-any.whl -
Subject digest:
47357bbeebb77876a6a7d8e0ed82375e6260f360fb906f0d621168ff9c8013a8 - Sigstore transparency entry: 1059011464
- Sigstore integration time:
-
Permalink:
obvRedwolf/mprisgovee@ba4ee5234fcb0bc167e4d21c1b52fea68be691c7 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/obvRedwolf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ba4ee5234fcb0bc167e4d21c1b52fea68be691c7 -
Trigger Event:
push
-
Statement type: