Skip to content

zserub/Daylight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RGB Daylight controlled by BLYNK via RPi

A Raspberry project for RGB LED strip control through smartphone with BLYNK IoT app

Uses 500Hz PWM signal with 0.1% steps (1000 resolution)

Required repos

Setup

pip install astral
sudo apt-get install autoconf pkg-config
git clone https://github.com/AkBKukU/rgb-daylight.git
cd rgb-daylight
git clone https://github.com/vshymanskyy/blynk-library-python.git
git clone https://github.com/sarfata/pi-blaster.git
git clone https://github.com/zserub/Daylight.git

Copy Daylight/pi-blaster.c to pi-blaster folder and overwrite the existing file

Copy Daylight/RGBdaylight_blynk_basic.py to the rgb-daylight folder

Copy BlynkLib.py to Daylight folder

cd pi-blaster
./autogen.sh
./configure && make

Follow the introduction of rgb-daylight In rgb-daylight.service change the path for RGBdaylight_blynk_basic.py then sudo cp rgb-daylight.service /systemd Write your token in the blynk = BlynkLib.Blynk('asd')

Check astral for ideal sunshine

Go into settings.json and change latitude and longitude then start rgb-daylight.py and check the timings.

About

A Raspberry project for RGB LED strip control through smartphone with BLYNK IoT app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published