An open API service indexing awesome lists of open source software.

https://github.com/daijobudes/albumartlightsync

Synchronizes album cover's most significant color based on color palette
https://github.com/daijobudes/albumartlightsync

light-bulbs python smart-bulb tapo-light-bulb tplink-tapo

Last synced: 3 months ago
JSON representation

Synchronizes album cover's most significant color based on color palette

Awesome Lists containing this project

README

        

# AlbumArtLightSync

This project is created on my free time and only as my interest.

## Why?

I recently bought a [TP-Link Tapo L530](https://www.tp-link.com/ph/home-networking/smart-bulb/tapo-l530e/) smart light bulb, got bored and
had a stupid idea to synchronize the color from the album cover's most significant color based on the color palette when playing.

![Image](https://static.tp-link.com/01_1598337266170q.jpg)

## Other notes

The light gets set to 50% brightness with 3450 light temperature.

Based on this line

So you might want to adjust it to your needs or modify the whole line.

## 3rd party libraries used

## Usage

Clone this repository first

```sh
git clone https://github.com/DaijobuDes/AlbumArtLightSync.git
```

Copy `.env.example` to `.env` and fill them up.

Last.fm API:

Yes, you are required to have a smart light bulb from TP-Link. If none, then
go buy one.

Best if you use a virtual environment, then activate

```sh
python3 -m venv .
source bin/activate
```

Install dependencies

```sh
pip3 install -r requirements.txt
```

Running

```sh
python3 main.py
```