Skip to main content

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

  1. Install Raspberry PI OS on your SD card
  2. Install lirc on your RPI:
$ apt install lirc
  1. Configure lirc, connect and configure IR transmitter, guideline
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ambibulb-0.0.51.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

ambibulb-0.0.51-cp37-cp37m-linux_armv7l.whl (27.6 kB view hashes)

Uploaded CPython 3.7m

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page