Read the statement by Michael Teeuw here.
MMM-PrayerTime
-
@aishaamila said in MMM-PrayerTime:
@aishaamila But i need to change hdmi to local, i wil send it when i get home… Thank you so much
What do you mean by “need to change hdmi to local”? Audio output using “-o hdmi” option by omxplayer is output to monitor/TV via HDMI line.
-
@slametps said in MMM-PrayerTime:
timezone: "Asia/Kuala_Lumpur",As described in http://php.net/manual/en/timezones.asia.php.
-
@slametps /usr/bin/omxplayer -o local modules/MMM-PrayerTime/res/adzan.mp3
I use this command to play the adzan and it worked, but during the time it didnt played. That’s why I am confused.
-
@slametps okay I will try this first thankyou so much
-
@slametps it still not working?is there any problem with time interval?
-
Salam Aleykum,
i need help for the config.
thats my File:
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "de", timeFormat: 24, units: "metric", modules: [ { module:'MMM-PrayerTime', position: 'top_right', config: { apiVersion: "1.0", lat: 55.841727, lon: 13.303381, timezone: 'Europe/Berlin', timeFormat: 24, method: 3, playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'], notDisplayed: ['midnight', 'sunset'], useUpdateInterval: true, updateInterval: 86400 * 1000, animationSpeed: 2.5 * 1000, language: "en", showAdzanAlert: true, alertTimer: 15000 } }, ] [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_right" }, { module: "calendar", header: "Ferien Deutschland", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" } ] } }, { module: "compliments", position: "bottom_bar" }, { module: "currentweather", position: "top_right", config: { location: "New York", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "New York", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} -
sorry have a foult this is the file:
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "de", timeFormat: 24, units: "metric", modules: [ { module:'MMM-PrayerTime', position: 'top_right', config: { apiVersion: "1.0", lat: 55.841727, lon: 13.303381, timezone: 'Europe/Berlin', timeFormat: 24, method: 3, playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'], notDisplayed: ['midnight', 'sunset'], useUpdateInterval: true, updateInterval: 86400 * 1000, animationSpeed: 2.5 * 1000, language: "en", showAdzanAlert: true, alertTimer: 15000 } }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_right" }, { module: "calendar", header: "Ferien Deutschland", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" } ] } }, { module: "compliments", position: "bottom_bar" }, { module: "currentweather", position: "top_right", config: { location: "New York", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "New York", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}the mirror works but i dont see the Modul
-
it works ! i think i have a Problem with the mm.sh data i have install complet new smart mirror to an SD now it Works
Barakallhufeek
-
is it possible to add iqama times?
-
Selamun Aleykum,
i want to set my own calculation method, how can i do this for Berlin
the calculation is very close to the method:
13=Diyanet İşleri Başkanlığı, Turkey
need some help,
{
module: “MMM-PrayerTime”,
position: “middle_center”, // This can be any of the regions. Best result is in the top_left/top_right.
config: {apiVersion: "1.0", // please, leave unchanged. reserved for future use. lat: "52.5069312", // latitude of your position (city) lon: "13.1445453", // longitude of your position (city) timezone: "Europe/Berlin", // please refer to http://php.net/manual/en/timezones.php timeFormat: "24", method: "13", playAdzan: ["fajr", "dhuhr", "asr", "maghrib", "isha"], notDisplayed: ["midnight", "sunset"], useUpdateInterval: "true", updateInterval: "86400 * 1000", // How often do you want to fetch new praying time? (milliseconds) animationSpeed: "2.5 * 1000", // Speed of the update animation. (milliseconds) language: "en", showAdzanAlert: "true", showTomorrow: "true", alertTimer: "15000", } }, -
@slametps
really a very helpful module.
Dawateislami provides the prayer time of thousands of locations around the globe.
https://prayertimes.dawateislami.net -
Hi Slamet PS and everyone,
I am new to this stuff. started playing with raspberry pi during these lockdown days. I recently used MMM-PrayerTime module for my mirror.
Currently i am showing prayer time and sunrise on my screen. i found 2 following issues.
-
adhan plays on time but stops at the very end of adhan. i mean it doesn’t play full adhan and misses about last approx 10 seconds of wma file. I googled and found out that the OXM player had that issue which should be solved after update. I tried to update and upgrade my PI but no luck.
-
Secondly it starts playing adhan at sunrie time. Whereas it shouldnt play adhan but may be some beeps sound or something for sunrise.
Any help would be highly appreciated.
JazakAllah
-
-
Salam ,
The module work very well but when the adhan play i have a black screen and the mirror dont come again.
What do you think about that? -
@heuss60100 : So far, I didn’t face that problem. What MM version You use and you should check pm2 error log also.
-
@me-osama :
sorry, I’m quite long time not monitoring this project. Is your problem solved?Please make sure this config option:
playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'],
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
