https://github.com/bespsm/ambibulb
Python utility controls the color of RC lights based on the dominant color of an image on your screen.
https://github.com/bespsm/ambibulb
ambilight bulb dominant-color ir-sensor ir-transmitter led-bulb raspberry-pi rpi vfx
Last synced: 20 days ago
JSON representation
Python utility controls the color of RC lights based on the dominant color of an image on your screen.
- Host: GitHub
- URL: https://github.com/bespsm/ambibulb
- Owner: bespsm
- License: mit
- Created: 2021-01-10T22:44:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-19T02:17:21.000Z (about 4 years ago)
- Last Synced: 2025-04-18T02:06:20.628Z (about 1 month ago)
- Topics: ambilight, bulb, dominant-color, ir-sensor, ir-transmitter, led-bulb, raspberry-pi, rpi, vfx
- Language: Python
- Homepage: https://github.com/bespsm/ambibulb
- Size: 75.2 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- License: LICENSE
Awesome Lists containing this project
README
# AMBIBULB
Ambibulb attempts to provide the similar experience to Ambilight® (Philips TV's feature that projects color onto the wall behind a TV) using Raspberry PI and an IR remote controlled LED light bulb. [**Please watch the demo.**](https://youtu.be/R3JeVooaytU)
*ambibulb* controls the color of RC lights based on the dominant color of an image on your screen. This can enhance your viewing experience or just make your party more colorful 🌈.
### HARDWARE
* Raspberry PI (tested on 3B+)
* HDMI output (TV, projector, display)
* RGBW LED light bulb with IR remote control (currently supported model: OSRAM LED STAR+)
* IR transmitter (tested on KY-005)
* IR receiver(tested on KY-022, optional)
* wiring### SOFTWARE DEPENDENCIES
* Raspberry Pi OS (10 buster, or any other RPI compatible OS)
* LIRC (Linux Infrared Remote Control)### SETUP AND INSTALLATION
1. Install Raspberry PI OS on your [SD card](https://www.raspberrypi.org/documentation/installation/installing-images/)
2. Install lirc on your RPI:
```
$ apt install lirc
```
3. Configure lirc, connect and configure IR transmitter, [guideline]( https://gist.github.com/prasanthj/c15a5298eb682bde34961c322c95378b)
4. Install ambibulb. There are 2 ways, either build, install and configure locally:
```
$ wget https://github.com/bespsm/ambibulb/archive/main.zip
$ unzip main.zip
$ cd ambibulb-main
$ make install
$ make configure
```
or using pip (recommended in venv) and configure locally:
```
$ python3 -m pip install ambibulb
$ wget https://github.com/bespsm/ambibulb/archive/main.zip
$ unzip main.zip
$ cd ambibulb-main
$ make configure
```### COMMANDS
Start ambibulb service:
```
$ systemctl --user start ambibulb.service
```
Stop ambibulb service:
```
$ systemctl --user stop ambibulb.service
```
Check ambibulb service current status, two options:
```
$ systemctl --user status ambibulb.service
$ journalctl -f
```
Configure/change the settings of ambibulb service:
```
$ ambibulb-config
```