Implementation of Ambilight using Arduino and Python for operation in Linux on Wayland.
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 by josh26turner.
- install GPU Screen Recorder
- pip install -r requirements.txt
- flash ambilight.ino to your Arduino
- Setup your settings in SETTINGS block
- Start it
- 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
Connection scheme (thanks to AlexGyver)