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 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 81%.
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
Add SmartAzanClock app to your smartphone
Go to smartazanclock.com on your smartphone. You'll be prompted to add it to your home screen.
Update your settings
You can now update your location, azan settings or custom alarms either on the tablet directly
or on your smartphone (or computer) as long as you're on the same network.
Alhamdulillah & Shukranlillah!
Your Smart Azan Clock is ready.