RGB Cooling HAT advanced utility for
YB-EPV02 and it's SSD1306.
- Auto changes the fan speed according to current tempearture.
- Full manager utility
rgb-cooling-hatfor fan/RGB control. - Provides I2C write (8/16 Bit) feature via
i2cwcommand. - Show current
FreqandTempif OLED display available.
Type rgb-cooling-hat help to show information.
The custom RGB script is stored in /etc/rgb-cooling-hat/rgb,
content insides this script will apply at boot.
Example content of /etc/rgb-cooling-hat/rgb:
cmdline rgb --select 1 --color 0xff0000
cmdline rgb --select 2 --color 0x00ff00
cmdline rgb --select 3 --color 0x0000ff
# If you want to close the RGB lighting, uncomment below.
# cmdline rgb --closeNote: Please DON'T push commands spend long time into rgb,
otherwise it will block anything.
Hardware:
YB-EPV02and compatable board (e.g. Raspberry Pi, Rock Pi...)- Enable I2C feature for GPIO pins (using device tree overlay)
Dependency:
- bash
- systemd (optional)
- cargo (make)
- git (make)
-
Arch Linux
change
pwdinto subdirAUR, then usingmakepkg:$ makepkg -csi
-
Others
Install all files:
$ make install
Optional enable the fan control service:
$ systemctl enable --now rgb-cooling-hatand the OLED display service:
$ systemctl enable --now rgb-cooling-hat.oled
If you enable the systemd services previous, firstly disable them:
$ systemctl disable --now rgb-cooling-hat
$ systemctl disable --now rgb-cooling-hat.oledUninstall all files:
$ make uninstallThis repository is unofficial and working myself,
all code of this repository are under MPL-2.0,
so any modifies should be open source.