@mishkalidas Are you perhaps looking for this? AutoStart MagicMirror with PM2 ?
Read the statement by Michael Teeuw here.
Posts made by mumblebaj
-
RE: Magic mirror not starting on boot!!
-
RE: Modifying existing module
@SirVer Data returned is definitely in a different format.
From your link:
{"Aksam":"21:27","AyinSekliURL":"http://namazvakti.diyanet.gov.tr/images/r1.gif","Gunes":"05:48","GunesBatis":"21:20","GunesDogus":"05:55","HicriTarihKisa":"1.12.1440","HicriTarihUzun":"1 ZİLHİCCE 1440","Ikindi":"17:51","Imsak":"04:18","KibleSaati":"11:18","MiladiTarihKisa":"02.08.2019","MiladiTarihKisaIso8601":"02.08.2019","MiladiTarihUzun":"02 Ağustos 2019 Cuma","MiladiTarihUzunIso8601":"2019-08-02T00:00:00.0000000+03:00","Ogle":"13:42","Yatsi":"22:47"}
From the link used by the MMM-PrayerTimes:
{"code":200,"status":"OK","data":{"timings":{"Fajr":"05:27","Sunrise":"06:47","Dhuhr":"12:14","Asr":"15:20","Sunset":"17:42","Maghrib":"17:42","Isha":"18:57","Imsak":"05:17","Midnight":"00:15"},"date":{"readable":"02 Aug 2019","timestamp":"1564760362","hijri":{"date":"30-11-1440","format":"DD-MM-YYYY","day":"30","weekday":{"en":"Al Juma'a","ar":"\u0627\u0644\u062c\u0645\u0639\u0629"},"month":{"number":11,"en":"Dh\u016b al-Qa\u02bfdah","ar":"\u0630\u0648\u0627\u0644\u0642\u0639\u062f\u0629"},"year":"1440","designation":{"abbreviated":"AH","expanded":"Anno Hegirae"},"holidays":[]},"gregorian":{"date":"02-08-2019","format":"DD-MM-YYYY","day":"02","weekday":{"en":"Friday"},"month":{"number":8,"en":"August"},"year":"2019","designation":{"abbreviated":"AD","expanded":"Anno Domini"}}},"meta":{"latitude":-26.250013,"longitude":27.985634,"timezone":"Africa\/Johannesburg","method":{"id":3,"name":"Muslim World League","params":{"Fajr":18,"Isha":17}},"latitudeAdjustmentMethod":"ANGLE_BASED","midnightMode":"STANDARD","school":"STANDARD","offset":{"Imsak":0,"Fajr":0,"Sunrise":0,"Dhuhr":0,"Asr":0,"Maghrib":0,"Sunset":0,"Isha":0,"Midnight":0}}}}
-
RE: Error code EADDRINUSE
@PXNDA It was suggested with the v2.8 update that anybody running Electron should update to the latest Raspbian version prior to upgrading to v2.8. Have you updated your Raspbian to the latest version?
-
RE: Problems with starting pm2 start mm.sh
@Raksasas Exellent. Great it is working now.
-
RE: PM2 MagicMirror - not working
@sdetweil I am just wondering, are the guys running Raspbian updating to the latest version before updating to 2.8? I did the Raspbian update and and then updated the MM to 2.8, did the npm install in all the modules with a package.json and no issues.
-
RE: Error code EADDRINUSE
@PXNDA As @sdetweil mentioned, the EADDRINUSE means that something is already listening on port 8080. You need to check what it is and kill the process and try restarting the MM again.
-
RE: Problems with starting pm2 start mm.sh
@Raksasas My mm.sh resides in my /pi/ folder and not in the MagicMirror folder so should work. It might be that there was an error while you were setting up pm2 or setting up the autostart perhaps?
-
RE: Temperature MagicMirror (Raspberry)
@Notch Mine runs at between 55 and 65 degrees. I use the MMM-SystemStats module. works fine for me. I am only using a heatsink.