{"id":44183715,"url":"https://github.com/kamranzafar/piprayer","last_synced_at":"2026-02-09T15:26:43.410Z","repository":{"id":140784065,"uuid":"340378660","full_name":"kamranzafar/piprayer","owner":"kamranzafar","description":"Automated Azaan/Adhan player for Raspberry Pi. Integrates with Bluetooth speakers including Amazon Echo.","archived":false,"fork":false,"pushed_at":"2024-11-08T10:58:02.000Z","size":403071,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-08T11:39:58.980Z","etag":null,"topics":["adhan","adhan-player","alexa","amazon-echo","athan","athantimes","azaan","azan","bluetooth","bluetooth-speakers","echo","iot","prayers","raspberry-pi","salah","salat","salat-timings"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kamranzafar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-19T13:33:14.000Z","updated_at":"2024-11-08T10:58:06.000Z","dependencies_parsed_at":"2024-03-05T09:28:01.714Z","dependency_job_id":"f53abdf6-d6b0-4253-881e-51575293c091","html_url":"https://github.com/kamranzafar/piprayer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/kamranzafar/piprayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamranzafar%2Fpiprayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamranzafar%2Fpiprayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamranzafar%2Fpiprayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamranzafar%2Fpiprayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamranzafar","download_url":"https://codeload.github.com/kamranzafar/piprayer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamranzafar%2Fpiprayer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29270641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adhan","adhan-player","alexa","amazon-echo","athan","athantimes","azaan","azan","bluetooth","bluetooth-speakers","echo","iot","prayers","raspberry-pi","salah","salat","salat-timings"],"created_at":"2026-02-09T15:26:40.713Z","updated_at":"2026-02-09T15:26:43.405Z","avatar_url":"https://github.com/kamranzafar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiPrayer\nAzaan/Adhan player for Raspberry Pi.\n\n## Overview\nPiPrayer project is for setting up and playing Azaan on Raspberry Pi (any version), using a bluetooth speaker.\nThe Azaan automatically plays at the calculated times depending on the coordinates provided. \nPiPrayer also constantly updates the Azaan times as they change.\nTested on **Raspberry Pi 3** using **Amazon Echo Pop** as a bluetooth speaker.\n\n## Setup\nRun the following commands to install prerequisites and clone project source.\n\n```shell\nsudo apt install pulseaudio-module-bluetooth \nsudo apt install python python-pip\npip install configparser\n\npulseaudio --start\n\ngit clone https://github.com/kamranzafar/piprayer.git\n```\n\nYou could also download the latest piprayer release instead of cloning the repository.\n\n```shell\nwget -qO- https://github.com/kamranzafar/piprayer/archive/v0.6.tar.gz | tar -xzf -\n```\n\n### Configure Default Bluetooth Device\nScan and pair Raspberry Pi with the bluetooth speaker.\n\n```shell\nbluetoothctl scan on\n```\n\nAll available bluetooth devices will be listed with their MAC addresses (_format is XX:XX:XX:XX:XX:XX_). Copy the MAC address of the preferred audio device from the list. \nOnce copied, run the following command to pair and trust the bluetooth speaker.\n\n```shell\nbluetoothctl pair XX:XX:XX:XX:XX:XX\nbluetoothctl trust XX:XX:XX:XX:XX:XX\n```\n\n## PiPrayer Configuration and Installation\nCreate a `.piprayer` configuration file in the `piprayer` project directory. Below is a sample configuration. \nThe description of each configuration option is given at the end.\n\n```editorconfig\n[Default]\nlat = -37.909499\nlng = 144.751876\ndst = 1\ngmt-offset = 10\nmethod = MWL\nasr-time = Hanafi\nprayers = Fajr:-11, Dhuhr:1, Asr:0, Maghrib:-23, Isha:19\n```\nYou can get the coordinates **(latitude and longitude)** of the place from Google Maps, see the following link for more information.\n\nhttps://support.google.com/maps/answer/18539?co=GENIE.Platform%3DDesktop\u0026hl=en\n\n### Installation\nOnce the `.piprayer` configuration file is created, simply run the following script to setup and install PiPrayer.\n\n```shell\n./setup-piprayer.sh\n```\n\nThis script also takes an optional integer argument to play a different Azaan. \nThere are 15 different Azaans available in this project, so the script argument can be any number \nbetween 1 and 15.  By default `azaan-1` is played, which can be changed by running the script as below.\n\n```shell\n./setup-piprayer.sh 5\n```\n\nAll Azaan files can be found in the `media` folder.\n\n### Configuration options\nBelow are the available configuration options.\n```text\nlat         # Latitude of the place\n\nlng         # Longitude of the place\n\ndst         # Daylight Saving\n            # Acceptable values (only one):\n            #   0\n            #   1\n\ngmt-offset  # Timezone, offset from GMT\n\nmethod      # Calculation method \n            # Acceptable values (only one):\n            #   MWL\n            #   ISNA\n            #   Egypt\n            #   Makkah\n            #   Karachi\n            #   Tehran\n            #   Jafari\n\nasr-time    # Asr prayer calculation\n            # Acceptable values (only one):\n            #   Standard\n            #   Hanafi\n\nprayers     # Prayers to setup Azaan for\n            # For each prayer, the time offset (in minutes) can be added after the colon (:)\n            # By default all time offsets are set to 0 minutes\n            # Acceptable values (comma separated) are below, with offsets separate by colon\n            #   Fajr:0, Dhuhr:0, Asr:0, Maghrib:0, Isha:0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamranzafar%2Fpiprayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamranzafar%2Fpiprayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamranzafar%2Fpiprayer/lists"}