Python utility controls the color of RC lights based on the dominant color of an image on your screen.
Project description
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.
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
- Install Raspberry PI OS on your SD card
- Install lirc on your RPI:
$ apt install lirc
- Configure lirc, connect and configure IR transmitter, guideline
- 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
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
File details
Details for the file ambibulb-0.0.51.tar.gz
.
File metadata
- Download URL: ambibulb-0.0.51.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494504f65ccbed6626eaa6c375d4fe38ed5d4a90850b25d9523783c03686a7e8 |
|
MD5 | f9b378dde17ae857f07edebc900977ff |
|
BLAKE2b-256 | 964fe5586e6d0b56539179b3444671af02edb849721f121e48cd452988a87164 |
File details
Details for the file ambibulb-0.0.51-cp37-cp37m-linux_armv7l.whl
.
File metadata
- Download URL: ambibulb-0.0.51-cp37-cp37m-linux_armv7l.whl
- Upload date:
- Size: 27.6 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ab18ec6d458ef2f1ae7f820e84e169a290c9f0912cc357f0cbb6e090fc00b51 |
|
MD5 | 709d4a1fe0a611a4bad1ba30bde7b704 |
|
BLAKE2b-256 | 880e19dd5443ad3efb1a3d83fbd996fba0da78f2e65185e98c1223890bf9640c |