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

    murattyilmaz

    @murattyilmaz

    0
    Reputation
    749
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    murattyilmaz Unfollow Follow

    Latest posts made by murattyilmaz

    • RE: PIR-Sensor - put your mirror to sleep if not used

      Hello,

      I’ve installed this module and sensor to my pi but I’m facing an issue.
      When I start the app, its loading as expected and show everything normally.
      After 5 sec. my monitor goes to sleep and says me “no signal” even if I shake may hand front of it.
      Then monitor blink a few times and seems like open but nothing to show or said.
      After this situation, never comes to live back and can’t close or shut down the app (can’t go back to OS screen). I have to shut the power to reset my pi.

      Do you have any idea why this happens?

      posted in Troubleshooting
      M
      murattyilmaz
    • RE: Weatherunderground - currently - hourly - daily - configurable

      @KirAsh4 Thank for reply but I’m not sure how can it help me to have module files.

      posted in Utilities
      M
      murattyilmaz
    • RE: Weatherunderground - currently - hourly - daily - configurable

      Hello There,
      I couldn’t find the github or download link. Can you please help to find it?

      posted in Utilities
      M
      murattyilmaz
    • RE: Weatherunderground - currently - hourly - daily - configurable

      Where is the github url or download url of these module? Can’t find it.

      posted in Troubleshooting
      M
      murattyilmaz
    • NewsFeed Module - TimeZone issue

      Hello,

      I’m living in Turkey and my timezone is GMT +3 for now. News feed module doesn’t care my time zone and calculate the time with moment.js and fromNow function.

      I’ve just made a fix for this.

      First create a config node in config js

      language: 'tr',
      	timeFormat: 24,
      	units: 'metric',
      	**timeZone: 3,**
      	modules: [
      

      *timeZone config node is an int type value and can be positive or negative value.

      Then go to newsfeed.js file (under /home/pi/MagicMirror/modules/default/newsfeed location) and change the below line.

      Old Line:
      if (this.config.showPublishDate) sourceAndTimestamp.innerHTML += moment(new Date(this.newsItems[this.activeItem].pubdate)).fromNow();

      Change to:
      if (this.config.showPublishDate) sourceAndTimestamp.innerHTML += moment(new Date(this.newsItems[this.activeItem].pubdate)).subtract(config.timeZone, ‘hours’).fromNow();

      This piece of code reads the config file and subtract from the time.

      Hope this helps.

      /M

      posted in Troubleshooting
      M
      murattyilmaz