@slametps that is my confis.js file…but prayer module does not work…cn u tell me error in config.js file???
/* Magic Mirror Config Sample
*
var config = {
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses.
language: "en",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: 'email',
position: 'bottom_left',
header: 'Email',
config: {
accounts: [
{
user: 'xxxxx@gmail.com',
password: 'xxxxx',
host: 'imap.gmail.com',
port: 993,
tls: true,
authTimeout: 10000,
numberOfEmails: 2,
},
],
fade: true,
maxCharacters: 30
}
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "PK Holidays",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "webcal://www.officeholidays.com/ics/ics_country_code.php?iso=PK"
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "currentweather",
position: "top_right",
config: {
location: "Dubai",
locationID: "1166547", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "Dubai",
locationID: "1166547", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
{
module: 'MMM-PrayerTime',
position: 'top_left',
config: {
apiVersion: '1.0',
lat: '30.6612',
lon: '73.1086',
timezone: 'Asia/Karachi',
method: 4,
playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'],
notDisplayed: ['midnight', 'sunset'],
useUpdateInterval: true,
updateInterval: 86400 * 1000,
animationSpeed: 2.5 * 1000,
language: config.language,
showAdzanAlert: true,
alertTimer: 15000
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "Pakistan News",
url: "https://news.google.com/news/rss/local?ned=en_pk&hl=en&gl=US"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;}