MMM-PrayerTime
MMM-PrayerTime copied to clipboard
Not working
Hello i tried to follow your steps but can't manage to make it work... by npm run config check i got no syntax error and when i run the miror doesn't start asking to set correct config file any idea?
Can you capture your config? Have you tried remove the MMM-PrayerTime config and re-run MM to see if MM runs correctly? It MM does not run correctly, it might nothing to do with MMM-PrayerTime config. But if does, please post your MMM-PrayerTime config here.
Hello, i managed to make it work by changing language param, defaut value didn't work actually how do you turn off prm PlayAdzan? is it correct below? /* { module: "MMM-PrayerTime", position: "top_left", // 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: 48.926916, // latitude of your position (city) lon: 2.18888, // longitude of your position (city) timezone: false, // please refer to http://php.net/manual/en/timezones.php timeFormat: 24, method: 12, playAdzan: [], 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, vertical: true, // set false for horizontal view alertTimer: 15000 } },*/
{
module: "MMM-PrayerTime",
position: "top_left", // 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: 48.926916, // latitude of your position (city)
lon: 2.18888, // longitude of your position (city)
timezone: "Asia/Jakarta", // please refer to http://php.net/manual/en/timezones.php
timeFormat: 24,
method: 12,
playAdzan: [],
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,
vertical: true, // set false for horizontal view
alertTimer: 15000
}
}
You must change Asia/Jakarta with your local timezone. Check the comment (next to config item). "how do you turn off prm PlayAdzan" => what dou you mean by this?