MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. slametps
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 5
    • Topics 9
    • Posts 132
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: My Mirror ! So great !

      @belgium80 said in My Mirror ! So great !:

      @yawns
      It’s a camera. I wanted to use the MMM-Facial-recognition but my raspberry warms a lot. I am waiting for the cooling system what I ordered.

      The PIR sensor is at the bottom

      0_1523336950951_2018-04-10_07h05_49.png 0_1523336956585_2018-04-10_07h06_58.png 0_1523336967132_Sans titre.png

      Mine is with a picam also for Face-Reco without any fan. The temperature is about 70C with CPU load around 15-20%. I think , the high temperature is causing by heat emitted by the display panel. But so far, so good. Mine is more than 14 months run smoothly. The monitor is also always ON.

      posted in Show your Mirror
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @danialothman thx for correction. I fixed the info in the github.

      @zzaidi148 said in MMM-PrayerTime:

      @slametps Thank you so much! How do I do that?

      go to MMM-PrayerTime folder and run:

      git pull
      
      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @danialothman said in MMM-PrayerTime:

      @zzaidi148 @slametps

      does the MMM-PrayerTime still work??

      I am trying to set it up but fail to get anything.

      yeah, of course. mine is running. if you got trouble running this module, try install async module.

      npm install async
      
      posted in Education
      slametpsS
      slametps
    • RE: Monthly Calendar

      Mine is also with bug. It is not working well for new month. The calendar not showing nor highlight the 1st date. So, I must restart MM to make it works.

      posted in Utilities
      slametpsS
      slametps
    • RE: MMM-RandomQuranAyah

      @hrjmsh :
      try install nodejs async module first:

      npm install --save async
      
      posted in Education
      slametpsS
      slametps
    • RE: MMM-RandomQuranAyah

      @Gxnfr-Ali said in MMM-RandomQuranAyah:

      @slametps i want add prayer module in our project…magicmirror

      What I ment earlier is disable all modules config except PrayerTime config to start debugging what made wrong if you’re sure that Prayer Time is the cause for your MM error. That is the only way to locate the error.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-RandomQuranAyah

      @Gxnfr-Ali said in MMM-RandomQuranAyah:

      @slametps
      WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.

      during prayer time module

      You can remove config item “language: config.language”. The module, by default using that config. It not working, you should try removing all modules config but PrayerTime.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @slametps said in MMM-PrayerTime:

      @zzaidi148 said in MMM-PrayerTime:

      @slametps 12hour format would be easier for people in America to read.

      Sorry for late response.
      I’ll see what I can do tonight. I’ll inform you if 12-hour format is supported.

      I have added 12-hours time-format support. Please update your clone.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @zzaidi148 said in MMM-PrayerTime:

      @slametps 12hour format would be easier for people in America to read.

      Sorry for late response.
      I’ll see what I can do tonight. I’ll inform you if 12-hour format is supported.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @zzaidi148 said in MMM-PrayerTime:

      Is it possible to use another api service like islamic finder or salah times api so it would allow for 12-hour format? Thank You

      You should modify the module according to each API provider data. Why should be 12-hour format?

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @noorm91 said in MMM-PrayerTime:

      I will try get the log when I’m home, just a simple question, does this work with Midori browser, because that is the one I’m using on Rpi 1 model b…I entered my Rpi IP address in chrome from my computer and then I saw the module perfectly.

      Sorry, I haven’t test it on midori browser.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @zzaidi148 said in MMM-PrayerTime:

      @slametps Alhamdulillah I got it work by taking out the language line. It works well now. I was wondering if there was any way I could take out the Imsak times from the module and to have the times be in a 12 hour format. Also, how do I make sure that it plays the athan? Thanks for all the help!

      You can remove Imsak from the schedule by adding config notDisplayed: ['midnight', 'sunset', 'imsak']. Currently, support 24-hour format only.
      Your MM has speaker? If yes, you can check type following command in console:
      /usr/bin/omxplayer -o hdmi modules/MMM-PrayerTime/res/adzan.mp3
      It will play adzan.mp3.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @noorm91 can you post the pm2/mm log?

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @noorm91 said in MMM-PrayerTime:

                  {
                          module: 'MMM-PrayerTime',
                          position: 'top_right',
                          config: {
                                  apiVersion: '1.0',
                                  lat: 55.841727,
                                  lon: 13.303381,
                                  timezone: 'Europe/Stockholm',
                                  method: 3,
                                  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
                                  }
                  },
      

      Salam, changed it but still not working :( lon/lat: is ok? how about language: ?
      Actually this is my first module I’m trying to get working, pretty new to MM2 so maybe I need to change somewhere else too.

      The module is under here;
      pi@raspberrypi:~/MagicMirror/modules $ ls
      default MMM-PrayerTime node_modules README.md

      pi@raspberrypi:~/MagicMirror/modules/MMM-PrayerTime $ ls
      LICENSE MMM-PrayerTime.css MMM-PrayerTime.js node_helper.js README.md res screenshot2.jpg screenshot-alert.png screenshot.png translations

      You may simply remove language: config.language line, and see if this work. It tells MMM-PrayerTime module to use MM global language config. If not work, please use 'en' for language entry.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @noorm91 said in MMM-PrayerTime:

      I am having trouble with my module…

      {
                             module: 'MMM-PrayerTime',
                             position: 'bottom_right',
                             config: {
                                     apiVersion: '1.0',
                                     lat: 55.841727,
                                     lon: 13.303381,
                                     timezone: Europe/Stockholm,
                                     method: 3,
                                     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
                                     }
                     },
      

      can you see anything wrong?

      It should be timezone: 'Europe/Stockholm'.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-PrayerTime

      @zzaidi148 said in MMM-PrayerTime:

      @yawns tried that but didn’t work. I think it has to be something with the timezone.

      There is a missing comma after apiVersion: '1.0'. What does not work? What you get on your mirror? Or in pm/mm log?

      posted in Education
      slametpsS
      slametps
    • RE: MMM-RandomQuranAyah

      @zzaidi148 said in MMM-RandomQuranAyah:

      @slametps Alhumdulillah, actually worked! Is there any way to change the translation beside en.yusufali in english. Also, my arabic font is different from your screenshot. How do I get your arabic font? Thank you so much!

      Complete translation option can be found at http://api.alquran.cloud/edition. My shot is a browser capture, not actual MM capture and the font is indeed different.
      Actual result is like this:
      https://www.instagram.com/p/BR43DnDgG_r/.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-RandomQuranAyah

      @zzaidi148 said in MMM-RandomQuranAyah:

      @slametps I took the character off but still something wrong

      /* 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: "en",
      	timeFormat: 12,
      	units: "imperial",
      
      	modules: [
      		{
      		module: 'MMM-RandomQuranAyah',
      		position: 'top_bar',	
      		config: {
      			apiVersion: '1.0' 
      			showArabic: true,
      			showTranslation: true,
      			surahArabicName:false,
      			translationLang:'id.indonesian',
      			updateInterval: 3600 * 1000, 
      		}
      		},
      		{
      			module: "alert",
      		},
      
      		
      		{
      			module: "clock",
      			position: "top_left",
      		},
      
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      					symbol: "calendar-check-o",
      					url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics",
      					}
      				]
      			}
      		},
      		
      		{
      			module: "compliments",
      			position: "lower_third",
      		},
      		
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "Dallas",
      				locationID: "4684888",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "private",
      			}
      		},
      		
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "Dallas",
      				locationID: "4684888",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "",
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					},
      					{
      						title: "ESPN",
      						url: "http://www.espnfc.com/english-premier-league/23/rss"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      		{
                  	        module: 'MMM-GoogleMapsTraffic',
      			position: 'top_left',
                  		config: {
                      	   key: '',
                      	   lat: 33.033184,
                      	   lng: -96.625225,
                      	   height: '350px',
                      	   width: '400px',
                  	        }
              	},
      		]
      		};
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      

      There is missing character comma (,) after apiVersion: '1.0'.

      posted in Education
      slametpsS
      slametps
    • RE: MMM-RandomQuranAyah

      @slametps said in MMM-RandomQuranAyah:

      @zzaidi148 said in MMM-RandomQuranAyah:

      @slametps it just said to recheck your config

      Can you post your whole config? It seems your config is the problem.

      There is character / after config ApiVersion. Pls remove it.

      posted in Education
      slametpsS
      slametps
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 2 / 7