Follow the instructions below to run SmartAzanClock App on your RPi in kiosk mode.
- Get Required Hardware
- Raspberry PI Kit
Download Required Software
Burn Raspbian to SD Card using Etcher
After Etcher writes & verifies eject the card and insert back in. If your computer asks to format the card again click on Cancel or No.
Enter your WiFi information
file to the root folder of Boot Drive. Use your WiFi credentials for ssid and psk.
Add an empty file named "ssh"
to the root folder of Boot Drive.
Insert SD Card into RPi & plug it in.
Try connecting to raspberrypi.local. If this doesn't work you'll have to find out RPi's IP address from your router manager.
Change default password
RPi's default account is username: pi & password: raspberry. Run passwd command and follow the instructions.
Update all Raspbian Packages to latest
sudo apt-get update
sudo apt-get upgrade
Update Chromium Browser to latest
sudo apt-get install chromium-browser
Update to the latest firmware (Kernel Version)
Set up kiosk mode on initial start up
Update ~/.config/lxsession/LXDE-pi/autostart file.
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xset s off
@xset s noblank
@chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk https://smartazanclock.com/
Add following setting to /boot/config.txt. (RPi Bluetooth audio has some chronic "static" issues and because of that we recommend using wired speakers.)
Select "Interfacing Options". Enable VNC and Finish.
If you can hook up your RPi to a monitor via the HDMI port
and also attach a mouse and a keyboard you can skip this step and do the rest directly on the RPi itself.
Connect via VNC or directly
Close warning dialogs
Set Chromium as the default browser
Remove unnecessary browser plugins
Set https://smartazanclock.com/ as your home page
Set Audio Output to 3.5mm headphone jack
Advanced Options > Audio > Force 3.5mm headphone jack
Increase RPi Volume so the whole house wakes up for Fajr!
Set this manually to 70% or more.
Remove all unnecessary software
sudo apt-get remove --purge wolfram-engine realvnc-* libreoffice* geany greenfoot triggerhappy python-minecraftpi python3-thonny bluej nodered xpdf nuscratch scratch scratch2 sense-hat sonic-pi claws-mail claws-mail-i18n
rm -rf ~/python_games
sudo apt-get clean
sudo apt-get autoremove
Restart the device.
Add SmartAzanClock app to your smartphone
At this point you can go to smartazanclock.com on any smartphone or computer
that's on the same WiFi connection with the SmartAzanClock device and update your settings.
(Settings you update on your phone or computer (location, azans, alarms) is copied over to your SmartAzanClock automatically.)
We recommend adding smartazanclock.com to your smartphone home screen and using that to update your settings.
Go to smartazanclock.com using your OS default browser (Chrome on Android phones, Safari on iPhones) and add it to your home screen using the option under the menu.
Alhamdulillah & Shukranlillah!
Your Smart Azan Clock is ready.