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

https://github.com/riodevelop/ambilight-python

Implementation of Ambilight using Arduino and Python for operation in Linux with Wayland
https://github.com/riodevelop/ambilight-python

Last synced: 9 months ago
JSON representation

Implementation of Ambilight using Arduino and Python for operation in Linux with Wayland

Awesome Lists containing this project

README

          

# ambilight-python for Linux
Implementation of Ambilight using Arduino and Python for operation in Linux on Wayland.

![ambilight-python demo](./pictures/ambilight_demo.gif)

Tested on Arch Linux with Gnome on Wayland, GPU Screen Recorder r1147.05e3225-1 from AUR and Arduino Nano.

The project is partly based on very old python version of [Ambilight](https://github.com/josh26turner/Ambilight) by [josh26turner](https://github.com/josh26turner).

## Installation
1. install [GPU Screen Recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)
2. pip install -r requirements.txt
3. flash ambilight.ino to your Arduino
4. Setup your settings in SETTINGS block
5. Start it
6. If you wanna start it with systemd and turn it off at suspend:
* copy files from systemd dir to ~/.config/systemd/user/
* set proper working dir in ambilight-pyhon.service
* systemctl --user daemon-reload
* systemctl --user daemon-reload

## Photos and scheme

Connection scheme (thanks to [AlexGyver](https://github.com/AlexGyver/Arduino_Ambilight))
![Scheme](./pictures/scheme.png)

Setup on display
![setup](./pictures/setup.png)