ambibulb-0.0.51
توضیحات
Python utility controls the color of RC lights based on the dominant color of an image on your screen.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | ambibulb-0.0.51 |
| نام | ambibulb |
| نسخه کتابخانه | 0.0.51 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sergey B |
| ایمیل نویسنده | dkc.sergey.88@hotmail.com |
| آدرس صفحه اصلی | https://github.com/bespsm/ambibulb |
| آدرس اینترنتی | https://pypi.org/project/ambibulb/ |
| مجوز | MIT |
# 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
```
نیازمندی
| مقدار | نام |
|---|---|
| >=8.0.0 | Pillow |
| >=1.13 | cffi |
| >=0.11 | joblib |
| >=1.3.13 | numpy |
| >=0.23.2 | scikit-learn |
| >=0.19.1 | scipy |
| >=0.16.1 | systemd |
| >=2.0.0 | threadpoolctl |
| >=0.3.2 | whiptail-dialogs |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl ambibulb-0.0.51:
pip install ambibulb-0.0.51.whl
نصب پکیج tar.gz ambibulb-0.0.51:
pip install ambibulb-0.0.51.tar.gz