A Raspberry project for RGB LED strip control through smartphone with BLYNK IoT app
Uses 500Hz PWM signal with 0.1% steps (1000 resolution)
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')
Go into settings.json and change latitude and longitude then start rgb-daylight.py and check the timings.